io-no / libdebug

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

Generalization with 32-bit #2

Open io-no opened 1 year ago

io-no commented 1 year ago

At the moment, libdebug officially supports only x86-64. Empirically, it seems to also work with 32-bit x86. It is necessary to make this support official with the correct register names and validate the results. This implies making the architecture not hardcoded. Perhaps consider a way to automatically determine the binary's architecture and the ability to manually set a variable in the style of context.arch.