Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Pointer Break and Trace

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Game Hacking Dojo
Master Cheater
Reputation: 1

Joined: 17 Sep 2023
Posts: 250

PostPosted: Tue Nov 19, 2024 5:07 pm    Post subject: Pointer Break and Trace Reply with quote

Can I break and trace in the popup window (Start condition) field on a pointer?
Code:
[RSP]==0x00007FF7C89C3D70

Code:
readPointer(RSP)==0x00007FF7C89C3D70


Of course none of them work but is there a way to use them without using the Lua engine? If there isn't could you give me an idea of how to do that using the Lua engine?
Back to top
View user's profile Send private message Visit poster's website
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3321

PostPosted: Thu Nov 21, 2024 1:44 pm    Post subject: Reply with quote

It's a LUA expression.
Back to top
View user's profile Send private message
Game Hacking Dojo
Master Cheater
Reputation: 1

Joined: 17 Sep 2023
Posts: 250

PostPosted: Thu Nov 21, 2024 3:35 pm    Post subject: Reply with quote

I know it's Lua but could you give me an example?
I've never done that before.

I could track registers' content but never a pointer/address.
Back to top
View user's profile Send private message Visit poster's website
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4696

PostPosted: Thu Nov 21, 2024 5:33 pm    Post subject: Reply with quote

Code:
readPointer(RSP)==0x00007FF7C89C3D70
This is a valid simple Lua condition for a breakpoint. If it doesn't do what you expect it to, the problem is likely somewhere else. e.g. data breakpoints (write or access) trigger after an instruction has executed, while code breakpoints (execute) trigger before the instruction has executed.

Get more information such as what type of breakpoint you're using (break-and-trace can be used on either code or data), what instruction triggered the breakpoint, the code around that address, and information on the stack (value of RSP and the top few values of the stack) including when and where that information was recorded.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites