From 8127c67d30fed60741bae3408ecf543e1153278e Mon Sep 17 00:00:00 2001 From: Eric-Paul Ickhorn Date: Fri, 30 Aug 2024 03:50:41 +0200 Subject: [PATCH] Fix wrong write destination offset for RAM dump The memory dump script didn't align the emulated physical memory space correctly with the dumped memory counterpart. That's fixed now. --- i386/dump.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i386/dump.bash b/i386/dump.bash index 5974877..e4b0525 100755 --- a/i386/dump.bash +++ b/i386/dump.bash @@ -22,7 +22,7 @@ echo "dump memory upper.bin 0xc0000 0x400000" | gdb --core=memory.dump -q truncate memory.bin --size 64M dd if=lower.bin of=memory.bin -dd if=upper.bin of=memory.bin seek=131072 +dd if=upper.bin of=memory.bin seek=1536 rm lower.bin rm upper.bin