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 


CheatEngine address as GDB watch

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
NoobTracker
How do I cheat?
Reputation: 0

Joined: 09 Aug 2022
Posts: 3

PostPosted: Tue Aug 09, 2022 2:34 am    Post subject: CheatEngine address as GDB watch Reply with quote

Hello,
I have a CheatEngine pointer path. How do I tell gdb to watch the address that the pointers point to? How do I know the base address of the executable?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Tue Aug 09, 2022 2:50 am    Post subject: Reply with quote

you can use info modulename to get the baseaddress of a specific module
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
NoobTracker
How do I cheat?
Reputation: 0

Joined: 09 Aug 2022
Posts: 3

PostPosted: Tue Aug 09, 2022 3:20 am    Post subject: Reply with quote

Dark Byte wrote:
you can use info modulename to get the baseaddress of a specific module

Hmm, to be more precise, I'm using winedbg, which should be pretty much like gdb, but that command doesn't exist there. Does this seem to do the same thing?
Code:

Wine-dbg>info share
Module  Address                 Debug info      Name (34 modules)
PE        400000-  d6f000       Deferred        my-executable
PE      7b020000-7b023000       Deferred        kernelbase
...
...

The offset of the base pointer is way bigger than the reserved space ...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Tue Aug 09, 2022 3:45 am    Post subject: Reply with quote

what is the base address? It may be a different module than then exe

a valid base would be: my-executable.exe+96F000 (which would end up at d6f000 )

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
NoobTracker
How do I cheat?
Reputation: 0

Joined: 09 Aug 2022
Posts: 3

PostPosted: Tue Aug 09, 2022 3:50 am    Post subject: Reply with quote

What the ... must've done the math in decimal mode ...

Edit: (no double posts?)
Dark Byte wrote:
a valid base would be: my-executable.exe+96F000 (which would end up at d6f000 )

In my case it's "my-executable.exe"+00804070, which is within that range. Do I need to add the base address to the following pointers?

Edit #2:
Yay, it works! Thanks for your help! (in case anyone wonders: don't add the base address to following pointers)
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