noob.exe Posted December 19, 2015 Posted December 19, 2015 (edited) Hi, I have a question, when i resolve the refproxy (strong) of confuserex, and I want to replace the delegate call with the real MemberRef how do i know if I need to use call/callvirt/newobj? Is that somehow encoded in the signature or so? Or how can i find out what OpCode to use? ~yq8 Edited December 19, 2015 by yq8
n0th!ng Posted December 19, 2015 Posted December 19, 2015 just check the ref proxy method (ConfuserEx is open source as you know) and you will find this code[index++] = (byte)((byte)fieldInfo.Name[Mutation.KeyI8] ^ opKey); as you can see a byte from the name is used to encode to the OpCode's byte so you only need to compare the result with the value of each OpCode Call or Callvirt or newobj and you will find the OpCode that you need 3
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now