That's actually pretty decent for me, since I'm using it as a verifier for my stuff.
But I'm not sure if I understood correctly what you said... Would I need to go over every method body and build a reverse lookup to be able to translate byte offsedt to instructions / method bodies? Jb Evain wrote: > Hey, > > On 2/13/08, damageboy <[EMAIL PROTECTED]> wrote: > > I have a list of byte offset + patches that I'm supposed to "patch" an > > assembly with. > > I was wondering if there is a comfortable way of translating the > > offset to the method / element that is about to change? > > Every instruction has an Offset property. So it should not be too hard > to get the instructions you want to change. > > One thing though, is that Cecil doesn't (yet?) support replacing > instruction by a byte array. > > -- > Jb Evain <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
