From 7cb9a9b96990ada2d771b525f3e4843bd07e1976 Mon Sep 17 00:00:00 2001 From: Mikhail Aksenov Date: Wed, 26 Jun 2019 22:16:40 +0300 Subject: [createdump] Write page offset in NT_FILE note (#25384) --- src/debug/createdump/dumpwriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/debug') diff --git a/src/debug/createdump/dumpwriter.cpp b/src/debug/createdump/dumpwriter.cpp index be31aaa475..76d82a35b3 100644 --- a/src/debug/createdump/dumpwriter.cpp +++ b/src/debug/createdump/dumpwriter.cpp @@ -391,7 +391,7 @@ DumpWriter::WriteNTFileInfo() for (const MemoryRegion& image : m_crashInfo.ModuleMappings()) { - struct NTFileEntry entry { image.StartAddress(), image.EndAddress(), image.Offset() }; + struct NTFileEntry entry { image.StartAddress(), image.EndAddress(), image.Offset() / pageSize }; if (!WriteData(&entry, sizeof(entry))) { return false; } -- cgit v1.2.3