Posted: Wed Nov 20, 2024 2:54 pm Post subject: .NET mono lookup instances implementation
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?
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.
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...
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