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 


.NET mono lookup instances implementation

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

Joined: 20 Nov 2024
Posts: 2

PostPosted: Wed Nov 20, 2024 2:54 pm    Post subject: .NET mono lookup instances implementation Reply with quote

Hey!
Im trying to figure out where is the logic behind .NET mono "lookup instances" and cant seem to find the implementation.
Can anyone drop a hint on how its implemented?


Thanks in advance!
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 147

Joined: 06 Jul 2014
Posts: 4548

PostPosted: Wed Nov 20, 2024 5:22 pm    Post subject: Reply with quote

Looks like it's implemented in autorun/monoscript.lua. Specifically look at mono_class_findInstancesOfClassListOnly and maybe mono_class_findInstancesOfClass.

TLDR: seems like a typical scan for pointers to a vtable.

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

Joined: 20 Nov 2024
Posts: 2

PostPosted: Thu Nov 21, 2024 7:36 am    Post subject: Reply with quote

ParkourPenguin wrote:
Looks like it's implemented in autorun/monoscript.lua. Specifically look at mono_class_findInstancesOfClassListOnly and maybe mono_class_findInstancesOfClass.

TLDR: seems like a typical scan for pointers to a vtable.


Thanks!, Somehow, I never though about scanning the memory for the vtable to identrify class instances...
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 Source 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