gdb-pt-dump
gdb-pt-dump copied to clipboard
broken on 32-bit kernels
broken on 32-bit x86 kernel
pwndbg> pt
Cannot get qemu-system pid Unknown arch. Message: The target architecture is set to "auto" (currently "i386").
Thanks for the report
Can you please share this info:
qemu version launch command kernel version
Oh yeah sorry:
kernel version: 4.4.195
qemu version: 9.0.0
Launch command: qemu-system-i386 -kernel images/vmlinuz-4.4.195-i386 -initrd build/initramfs-x86.cpio.gz -nographic -append "console=ttyS0" -enable-kvm -s -S
but i guess it should fail on all kernels running with qemu-system-i386 because we dont check for "i386" in show architecture
command
@chrf01
Could you please check if https://github.com/martinradev/gdb-pt-dump/pull/34 works for you?
I tried it locally with an x86 kolibri image.
@chrf01
Could you please check if #34 works for you?
I tried it locally with an x86 kolibri image.
fails at PML4_Entry.__init__()
now.
TypeError: PML4_Entry.__init__() missing 1 required positional argument: 'index'