Browse Source

Use the correct address to begin the disassembly

pull/1872/head
Andrew Au 6 years ago
parent
commit
8c9050ab77
  1. 3
      ILSpy.ReadyToRun/ReadyToRunLanguage.cs

3
ILSpy.ReadyToRun/ReadyToRunLanguage.cs

@ -65,8 +65,7 @@ namespace ICSharpCode.ILSpy @@ -65,8 +65,7 @@ namespace ICSharpCode.ILSpy
code[i] = reader.Image[reader.GetOffset(runtimeFunction.StartAddress) + i];
}
// TODO: Bitness
// TODO: RIP
DecoderFormatterExample(output, code, 64, 0);
DecoderFormatterExample(output, code, 64, (ulong)runtimeFunction.StartAddress);
}
}

Loading…
Cancel
Save