Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

handle syscall arguments in the dumpargs command #157

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

red0xff
Copy link
Contributor

@red0xff red0xff commented Oct 11, 2020

This pull-request was inspired by the issue #154 .

The enhancement

This makes the dumpargs command also dump the arguments of syscalls (when it encounters the syscall or int 0x80 instruction), I've added a syscall table for Linux x86 and x64 (from here), included the tables in peda.py.

x86 Linux:

32bit

x64 Linux:

64bit

Any suggestions for improvement are welcome.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant