Gallopsled / pwntools

CTF framework and exploit development library
http://pwntools.com
Other
12.12k stars 1.71k forks source link

discussion: Use capstone for `disasm()` #2461

Open tesuji opened 2 months ago

tesuji commented 2 months ago
peace-maker commented 1 month ago

Sorry for the delay! I think supporting capstone as a fallback when the required binutils aren't available for disassembly is useful. Maybe even make it configurable on the context to force the use capstone.

I haven't used keystone a lot, so I don't know how much work it would be to get our shellcraft corpus to assemble. Does anyone have input there? What are the differences?

We can add support in small steps and think about ELF creation when we get to the point of only requiring binutils for that feature.