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 dissect code in heap memory with CE? The address of t

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
skynet888
!BEWARE! Deletes post on answer
Reputation: 1

Joined: 12 Apr 2021
Posts: 65

PostPosted: Thu Jul 27, 2023 8:35 pm    Post subject: How to dissect code in heap memory with CE? The address of t Reply with quote

How to dissect code in heap memory with CE? (The address of the first instruction is known)
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4703

PostPosted: Thu Jul 27, 2023 10:44 pm    Post subject: This post has 1 review(s) Reply with quote

Memory View -> View -> Memory Regions; find beginning and end of the relevant memory region.

Memory View -> Tools -> Dissect Code. Set custom range start / stop as desired.

_________________
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
skynet888
!BEWARE! Deletes post on answer
Reputation: 1

Joined: 12 Apr 2021
Posts: 65

PostPosted: Fri Jul 28, 2023 3:25 am    Post subject: Reply with quote

ParkourPenguin wrote:
Memory View -> View -> Memory Regions; find beginning and end of the relevant memory region.

Memory View -> Tools -> Dissect Code. Set custom range start / stop as desired.

Oh,3Q!CE already support that? It seems that my CE7.2 doesnot support the customization of range.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4703

PostPosted: Fri Jul 28, 2023 9:48 am    Post subject: Reply with quote

Use 7.5

Maybe these Lua functions exist in 7.2:
celua.txt wrote:
Code:
DissectCode class: (Inheritance: Object)
getDissectCode() : Creates or returns the current code DissectCode object

properties:
methods:
  clear() : Clears all data
  dissect(modulename) : Dissects the memory of a module
  dissect(base,size) : Dissect the specified memory region
  ...
e.g.:
Code:
getDissectCode().dissect(0x534EC2000, 0x1C000)

_________________
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