Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

WIP: Opcode tracing #18

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

WIP: Opcode tracing #18

wants to merge 3 commits into from

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.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant