FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

WIP: Opcode tracing by maage · Pull Request #18 · jwilk/python-afl · GitHub

WIP: Opcode tracing - #18

Draft
maage wants to merge 3 commits into
jwilk:masterfrom
maage:issue-15
Draft

WIP: Opcode tracing#18
maage wants to merge 3 commits into
jwilk:masterfrom
maage:issue-15

Conversation

maage commented Nov 27, 2020

Copy link
Copy Markdown
Contributor

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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL