Conversation
Wrap disassembly in try/except to handle invalid instruction bytes
|
@0xf00sec, could you, please, measure the performance (gadgets search time) before and after the patch? |
Sure the patch apparently reduces the number of futile disassembly attempts and the exceptions handled at runtime. I only tested a few binaries in the test-suite-binaries/ dir. Each row shows the average of 3 independent runs of the full tool invocation for the given binary and filter(
I used |
|
Nice! Just give me a few days to look into the code more precisely. |
|
Thanks, I missed that. It should be fine now. |
SweetVishnya
left a comment
There was a problem hiding this comment.
Thank you for the patch!
Wrap disassembly in try/except to handle invalid instruction bytes