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 


Is there a way to "Find out what uses this address"

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

Joined: 09 Jun 2017
Posts: 2

PostPosted: Sat Jun 11, 2022 12:42 pm    Post subject: Is there a way to "Find out what uses this address" Reply with quote

I'm not sure how feasible this is from a debugger perspective, but I had a thought and I'm curious if it can be done.

Let's say that I have the base address of some class instance. If I use "Find out what accesses this address" on it, it will just show me instructions where a register (perhaps with an offset) holds the base address.

What I'd like to see instead are instructions where the base address is stored in a register with offsets added to it ie. Field accesses.

To elaborate a bit more, let's say the RAX register is holding my base address.

"Find out what accesses" could give me something like:
Code:
mov [rdx+0xFF], rax


What I'd like to see instead is something like:
Code:
mov [rax+0xA8], r8


This would make figuring out the fields of a class much simpler I think, but again, I'm not sure if this is actually possible.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4725

PostPosted: Sat Jun 11, 2022 1:37 pm    Post subject: Reply with quote

Not feasible in hardware.

You could look at what accesses a pointer to the base of the struct and trace what happens to the value of the pointer, but I don't think CE has the capability to automate that process yet.

_________________
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
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sat Jun 11, 2022 1:44 pm    Post subject: Reply with quote

use exception or dbvm breakpoints

go to the class instance start and select all the bytes you think belongs to this instance
then rightclick and find what accesses this address

_________________
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
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