sashs / Ropper

Display information about files in different file formats and find gadgets to build rop chains for different architectures (x86/x86_64, ARM/ARM64, MIPS, PowerPC, SPARC64). For disassembly ropper uses the awesome Capstone Framework.
https://scoding.de/ropper
BSD 3-Clause "New" or "Revised" License
1.87k stars 206 forks source link

Ropchain generator displays incorrect syscall code for execve #170

Open jakelamberson opened 1 year ago

jakelamberson commented 1 year ago

Title. The x86 and x86_64 ropchain generator displays 0xb, while the code should be 0x3b. I will put a pull request in to fix this problem.

sashs commented 1 year ago

Hi The execve syscall number for x86 is 0xb :) but for x86_64 you are right.

jakelamberson commented 1 year ago

👍 I'll update it Monday

jakelamberson commented 1 year ago

Hi The execve syscall number for x86 is 0xb :) but for x86_64 you are right.

Fixed now. The one-line pull request should be ready for review. Thanks @sashs.