io-no / libdebug

libdebug is a python library to automate the debugging of a binary executable.
Other
1 stars 1 forks source link

d.start and symbols #25

Closed io-no closed 7 months ago

io-no commented 11 months ago

The d.start command breaks at the very first instruction of _dl_start. This behavior is more than nice, but it differs from the start command in GDB, which breaks after the prologue of the binary's main function. While I'm fine with the current implementation of d.start, it presents an issue with symbol resolution. This is because, after executing d.start(), the libc is not yet loaded, which complicates the debugging process.