JonathanSalwan / ROPgadget

This tool lets you search your gadgets on your binaries to facilitate your ROP exploitation. ROPgadget supports ELF, PE and Mach-O format on x86, x64, ARM, ARM64, PowerPC, SPARC, MIPS, RISC-V 64, and RISC-V Compressed architectures.
Other
3.96k stars 557 forks source link

Add support for Mach-O Core #205

Open patryk4815 opened 2 days ago

patryk4815 commented 2 days ago

Right now ROPgadget for Mach-O coredump returns nothing

$ lldb ./hello
(lldb) run -s
(lldb) process save-core /tmp/mini

$ file /tmp/mini
/tmp/mini: Mach-O 64-bit x86_64 core

$ du -sh /tmp/mini
4,4G    /tmp/mini

$ ROPgadget --binary /tmp/mini
Gadgets information
============================================================

Unique gadgets found: 0
nurmukhametov commented 2 days ago

Are you sure that coredump contain any code segment/region?