From 8bdb3ead8d03c426f90b2c99b328e21ec59312e9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 6 Jan 2026 03:43:56 +0000 Subject: [PATCH 1/3] Initial plan From 5f88fd2b01110ccbae8e3f831c65656332e7428c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 6 Jan 2026 04:18:46 +0000 Subject: [PATCH 2/3] Fix duplicate 0x prefix in ILDASM image base output on Linux Co-authored-by: ericstj <8918108+ericstj@users.noreply.github.com> --- src/coreclr/ildasm/dasm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/ildasm/dasm.cpp b/src/coreclr/ildasm/dasm.cpp index 6ec7af2495d712..becb2151db4a53 100644 --- a/src/coreclr/ildasm/dasm.cpp +++ b/src/coreclr/ildasm/dasm.cpp @@ -6649,7 +6649,7 @@ void DumpVtable(void* GUICookie) } printLine(GUICookie,szString); - sprintf_s(szString,SZSTRING_SIZE,"%s// Image base: 0x%p",g_szAsmCodeIndent,g_pPELoader->base()); + sprintf_s(szString,SZSTRING_SIZE,"%s// Image base: 0x%zx",g_szAsmCodeIndent,(size_t)g_pPELoader->base()); printLine(GUICookie,COMMENT(szString)); DumpEATEntriesWrapper(GUICookie, pNTHeader32, pOptHeader32, pNTHeader64, pOptHeader64); From a3b084569b2a6140fc4d084c1be7f217f3580483 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 6 Jan 2026 16:52:25 +0000 Subject: [PATCH 3/3] Remove non-deterministic Image base comment from ildasm output The Image base value is the runtime load address which varies between runs, making ildasm output non-deterministic. Removed the output line as requested. Co-authored-by: AaronRobinsonMSFT <30635565+AaronRobinsonMSFT@users.noreply.github.com> --- src/coreclr/ildasm/dasm.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/coreclr/ildasm/dasm.cpp b/src/coreclr/ildasm/dasm.cpp index becb2151db4a53..45f0070ffc390d 100644 --- a/src/coreclr/ildasm/dasm.cpp +++ b/src/coreclr/ildasm/dasm.cpp @@ -6649,9 +6649,6 @@ void DumpVtable(void* GUICookie) } printLine(GUICookie,szString); - sprintf_s(szString,SZSTRING_SIZE,"%s// Image base: 0x%zx",g_szAsmCodeIndent,(size_t)g_pPELoader->base()); - printLine(GUICookie,COMMENT(szString)); - DumpEATEntriesWrapper(GUICookie, pNTHeader32, pOptHeader32, pNTHeader64, pOptHeader64); g_nVTableRef = 0;