longld / peda

PEDA - Python Exploit Development Assistance for GDB
Other
5.87k stars 806 forks source link

Allow display code to work when debugging ARM binaries. #169

Open ZenClark opened 3 years ago

ZenClark commented 3 years ago

While learning to write in ARM, I spent a few hours going through the peda code to get the context code working while debugging an ARM binary. This adds a system library and a few checks to confirm if the platform is ARM or not. While there could be a lot of improvements, overall it works well enough while I am learning to program in ARM assembly code on a Raspberry Pi .

When I finished cleaning up the code for a pull request I noticed that others have started PRs and forks for ARM; those appear to be aging though and are not based on recent code. This one changes very few things but gets noticeable results.