Cpp2IL icon indicating copy to clipboard operation
Cpp2IL copied to clipboard

more metadata

Open ArjixWasTaken opened this issue 1 year ago • 2 comments

I understand that it is difficult to convert ISIL into CIL, and that it is not a priority. So the next best thing would be to include in comments the raw assembly (or ISIL?) of each method's body.

e.g.

public class Example {
    public void doSomething() {
        /*
            Memory address: 0xffffff;
            Assembly flavour: arm64;

            Code:
                - mov  x0, #1
                - ldr     x1, =msg
                - ldr     x2, =len
                - mov  w8, #64
                - svc    #0
        */
        throw null;
    }
}

I think this would save huge amounts of time and would make manual recovery much more manageable and tidier.

ArjixWasTaken avatar Jun 30 '24 14:06 ArjixWasTaken

this would only apply to the diffable-cs output format

ArjixWasTaken avatar Jun 30 '24 14:06 ArjixWasTaken

There is --output-as isil to just dump isil for each method

SamboyCoding avatar Jun 30 '24 14:06 SamboyCoding