From 8c9050ab77137cf2cdc0260eefe66a141d096778 Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Mon, 23 Dec 2019 01:59:36 -0800 Subject: [PATCH] Use the correct address to begin the disassembly --- ILSpy.ReadyToRun/ReadyToRunLanguage.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs index 0d15383f1..0d4c1d1e6 100644 --- a/ILSpy.ReadyToRun/ReadyToRunLanguage.cs +++ b/ILSpy.ReadyToRun/ReadyToRunLanguage.cs @@ -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); } }