Jump to content
Tuts 4 You

[dnlib] How to use OpCodes.Calli


MagicArt

Recommended Posts

Calli uses its function pointer to call a function 

 

look at appfuscator or netguard 

they store all function pointers in a field then use thesefor the calli instruction 

Link to comment

How to get function pointer ?

5 hours ago, cawk said:

Calli uses its function pointer to call a function 

 

look at appfuscator or netguard 

they store all function pointers in a field then use thesefor the calli instruction 

 

Link to comment
  • 3 weeks later...

I created but i dont know how to get mdtoken for MethodBase.ResolveMethod.

I use (MemberRef).MDToken.ToInt32() but this not work.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...