-
-
Notifications
You must be signed in to change notification settings - Fork 784
Closed
Labels
Description
GEF+GDB version
gef: 2023.04 release
gdb: GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Operating System
Ubuntu 22.04.2 LTS
Describe the issue you encountered
Gdb with gef is slow when debugging kernel in qemu (with command gef-remote --qemu-user --qemu-binary ./vmlinux localhost 1234).
Do you read the docs and look at previously closed issues/PRs for similar cases?
Yes
Architecture impacted
- X86
- X64
- ARM
- ARM64
- MIPS
- MIPS64
- PPC
- PPC64
- RISCV
Describe your issue. Without a proper reproduction step-by-step, your issue will be ignored.
- downlaod the challenge (https://github.com/Crusaders-of-Rust/corCTF-2022-public-challenge-archive/tree/master/pwn/cache-of-castaways)
- extract the vmlinux elf from bzImage.
- start the kernel with qemu with the
run
script. (and add-s
in qemu args) - start gdb, execute
gef-remote --qemu-user --qemu-binary ./vmlinux localhost 1234
- normally debug the kernel, execute sth. like
si
. This is slow.
Minimalist test case
No response
Additional context?
No response