https://github.com/narukara/mini-debugger
toy debugger
https://github.com/narukara/mini-debugger
debugger just-for-fun
Last synced: 7 months ago
JSON representation
toy debugger
- Host: GitHub
- URL: https://github.com/narukara/mini-debugger
- Owner: Narukara
- Created: 2024-03-07T13:59:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-23T10:48:04.000Z (12 months ago)
- Last Synced: 2025-01-15T06:37:47.086Z (9 months ago)
- Topics: debugger, just-for-fun
- Language: C++
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Toy debugger.
https://blog.tartanllama.xyz/writing-a-linux-debugger-setup/
https://github.com/TartanLlama/minidbg
---
#### Note
被调试的程序是 `lib/sample`,反汇编会 dump 到 `build/lib/sample/sample.asm`
读取 `/proc//maps` 可以得到程序的加载地址
把反汇编中的偏移量加到加载地址上,就可以得到实际地址。在这里可以打断点