Skip to content

Conversation

maage
Copy link
Contributor

@maage maage commented Nov 27, 2020

Implemented opcode tracing.

This version updates hash until we do something else. So my tests/target.py generates different maps. Without this feature same ops generate just increased count and I felt it was not enough.

You can test this with suite of: '0' '\0' 'zero' 'zero\n' and compare

py-afl-showmap -o out -i in -- python tests/target.py

This is tested with python 3.9 and afl-fuzz++ 3.00a. You need separate patch to support afl-fuzz++.

I tries to implement #15

Instead of generating bit per file + line + opcode, generate bits as
previously, but hash opcodes between others.

Previously similar check produced same bit, different counts.

Now every combination produces different bits.
Two with simple char cmp and two with strcmp.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant