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.
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.