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 


How to log access to memory region

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

Joined: 07 Dec 2018
Posts: 6

PostPosted: Fri Dec 07, 2018 8:07 am    Post subject: How to log access to memory region Reply with quote

Hi.
Is there any example of logging memory range (~2kb) access? Something like:
Code:
Some.exe+XXXX mov [eax+xx], ecx
etc
etc

I suppose it need to be done with setting bp, log instruction addr and its string and removing bp, but not sure how to implement it.

Unfortunately function "Find out what access this address" can handle only first (4-8) bytes (other way it would be a perfect solution) and mem range from memory view only suggest to "break on access" (not a variant in my case, need to continue execution).

Can you help me with this?
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: Fri Dec 07, 2018 9:22 am    Post subject: Reply with quote

use page exception breakpoints (in settings)
then in memory view select the range you are interested in and set a data breakpoint there

_________________
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
A-off
How do I cheat?
Reputation: 0

Joined: 07 Dec 2018
Posts: 6

PostPosted: Fri Dec 07, 2018 9:36 am    Post subject: Reply with quote

Dark Byte wrote:
and set a data breakpoint there

But it will be bp anyway, what we need is continue execution immediately, like "Find out what access this address" do.
A-off wrote:
... "break on access" (not a variant in my case, need to continue execution).


In other words I need exactly the same that "Find out what access this address" function do but with more than 8 bytes.
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: Fri Dec 07, 2018 10:32 am    Post subject: Reply with quote

select the range, then set the find what access breakpoint (it's under data)
_________________
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
A-off
How do I cheat?
Reputation: 0

Joined: 07 Dec 2018
Posts: 6

PostPosted: Fri Dec 07, 2018 12:00 pm    Post subject: Reply with quote

Thanks, that's what I want! (Not obvious solution btw Very Happy )

P.S.
Found a bug while searching solution - if you add address to list as AOB and set size over 1024 and then try to edit this item, CE GUI becomes unresponsive and we have to "taskkill" it. Didn't check if it appears without dbg attached to process but otherway it happens every time.
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 Lua Scripting 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