Jump to content
Tuts 4 You

[dnlib] How to use OpCodes.Calli


MagicArt

Recommended Posts

Posted

How to call method using OpCodes.Calli ?

Posted

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 

Posted

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 

 

Posted

Look how netguard or appfuscator does it 

  • Like 1
  • 3 weeks later...
Posted

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

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

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...