Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6617)

Issue 281880043: i#1734 Dr. Fuzz: add code coverage based fuzzing framework

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 4 months ago by zhaoqin
Modified:
8 years, 4 months ago
Reviewers:
bruening
CC:
drmemory-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#1734 Dr. Fuzz: add code coverage based fuzzing framework - add option -fuzz_algo to specify different fuzzing algorithm - add drfuzz_mutator_feedback in drfuzz to allow client provide feedback to drfuzz mutator - add fuzzer_bb_event to track the number of new basic blocks seen each fuzzing iteration - provide feedback to drfuzz in post_fuzz ---------------

Patch Set 1 #

Patch Set 2 : algorithm => algorithms #

Patch Set 3 : rebase to the ToT #

Patch Set 4 : move bb event to drfuzz #

Patch Set 5 : update commit msg #

Total comments: 38

Patch Set 6 : merge and PTAL #

Total comments: 1

Patch Set 7 : update commit msg, update custom_mutator.c test #

Patch Set 8 : fix spelling error #

Total comments: 10

Patch Set 9 : final #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -1 line) Patch
M drfuzz/drfuzz.h View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -0 lines 0 comments Download
M drfuzz/drfuzz.c View 1 2 3 4 5 6 7 8 7 chunks +58 lines, -1 line 0 comments Download
M drfuzz/drfuzz_mutator.h View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download
M drfuzz/drfuzz_mutator.c View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
M drmemory/fuzzer.c View 1 2 3 4 5 6 7 8 7 chunks +31 lines, -0 lines 0 comments Download
M drmemory/options.c View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M drmemory/optionsx.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M tests/fuzz/custom_mutator.c View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 25
zhaoqin
8 years, 4 months ago (2015-12-15 16:46:54 UTC) #1
zhaoqin
Commit log for latest patchset: --------------- i#1734 Dr. Fuzz: add code coverage based fuzzing framework ...
8 years, 4 months ago (2015-12-15 16:50:47 UTC) #2
zhaoqin
Commit log for latest patchset: --------------- i#1734 Dr. Fuzz: add code coverage based fuzzing framework ...
8 years, 4 months ago (2015-12-15 16:57:22 UTC) #3
bruening
It seems like this is a key part of many fuzzing frameworks and that it ...
8 years, 4 months ago (2015-12-15 21:08:33 UTC) #4
zhaoqin
On 2015/12/15 21:08:33, bruening wrote: > It seems like this is a key part of ...
8 years, 4 months ago (2015-12-15 21:37:35 UTC) #5
bruening
On 2015/12/15 21:37:35, zhaoqin wrote: > On 2015/12/15 21:08:33, bruening wrote: > > It seems ...
8 years, 4 months ago (2015-12-15 21:39:51 UTC) #6
zhaoqin
On 2015/12/15 21:39:51, bruening wrote: > On 2015/12/15 21:37:35, zhaoqin wrote: > > On 2015/12/15 ...
8 years, 4 months ago (2015-12-15 21:44:14 UTC) #7
bruening
On 2015/12/15 21:44:14, zhaoqin wrote: > On 2015/12/15 21:39:51, bruening wrote: > > On 2015/12/15 ...
8 years, 4 months ago (2015-12-15 21:46:45 UTC) #8
zhaoqin
On 2015/12/15 21:46:45, bruening wrote: > On 2015/12/15 21:44:14, zhaoqin wrote: > > On 2015/12/15 ...
8 years, 4 months ago (2015-12-15 21:59:52 UTC) #9
bruening
On 2015/12/15 21:59:52, zhaoqin wrote: > On 2015/12/15 21:46:45, bruening wrote: > > On 2015/12/15 ...
8 years, 4 months ago (2015-12-15 22:01:44 UTC) #10
zhaoqin
On 2015/12/15 22:01:44, bruening wrote: > On 2015/12/15 21:59:52, zhaoqin wrote: > > On 2015/12/15 ...
8 years, 4 months ago (2015-12-15 22:03:53 UTC) #11
bruening
On 2015/12/15 22:03:53, zhaoqin wrote: > On 2015/12/15 22:01:44, bruening wrote: > > On 2015/12/15 ...
8 years, 4 months ago (2015-12-15 22:59:11 UTC) #12
zhaoqin
Commit log for latest patchset: --------------- i#1734 Dr. Fuzz: add code coverage based fuzzing framework ...
8 years, 4 months ago (2015-12-16 19:47:17 UTC) #13
zhaoqin
Commit log for latest patchset: --------------- i#1734 Dr. Fuzz: add code coverage based fuzzing framework ...
8 years, 4 months ago (2015-12-16 19:49:57 UTC) #14
bruening
On 2015/12/16 19:49:57, zhaoqin wrote: > - add option -fuzz_algo to specify different fuzzing algorithms ...
8 years, 4 months ago (2015-12-16 23:16:21 UTC) #15
bruening
https://codereview.appspot.com/281880043/diff/80001/drfuzz/drfuzz.c File drfuzz/drfuzz.c (right): https://codereview.appspot.com/281880043/diff/80001/drfuzz/drfuzz.c#newcode362 drfuzz/drfuzz.c:362: /* update num_bbs for each live targets */ grammar ...
8 years, 4 months ago (2015-12-16 23:41:14 UTC) #16
zhaoqin
Commit log for latest patchset: --------------- i#1734 Dr. Fuzz: add code coverage based fuzzing framework ...
8 years, 4 months ago (2015-12-17 19:32:09 UTC) #17
zhaoqin
sorry about the merge, I have to merge to make test the changes. https://codereview.appspot.com/281880043/diff/80001/drfuzz/drfuzz.c File ...
8 years, 4 months ago (2015-12-17 19:37:56 UTC) #18
bruening
On 2015/12/17 19:32:09, zhaoqin wrote: > - add drfuzz_mutator_feedback in drfuzz to allow client provide ...
8 years, 4 months ago (2015-12-17 19:44:12 UTC) #19
zhaoqin
Commit log for latest patchset: --------------- i#1734 Dr. Fuzz: add code coverage based fuzzing framework ...
8 years, 4 months ago (2015-12-17 19:46:35 UTC) #20
bruening
https://codereview.appspot.com/281880043/diff/100001/drfuzz/drfuzz.h File drfuzz/drfuzz.h (right): https://codereview.appspot.com/281880043/diff/100001/drfuzz/drfuzz.h#newcode380 drfuzz/drfuzz.h:380: * e.g., code cache management, thread shared code cache ...
8 years, 4 months ago (2015-12-17 19:46:37 UTC) #21
zhaoqin
Commit log for latest patchset: --------------- i#1734 Dr. Fuzz: add code coverage based fuzzing framework ...
8 years, 4 months ago (2015-12-17 19:55:54 UTC) #22
bruening
I would make it more clear in the commit msg that the coverage feedback doesn't ...
8 years, 4 months ago (2015-12-18 18:08:39 UTC) #23
zhaoqin
https://codereview.appspot.com/281880043/diff/140001/drfuzz/drfuzz.h File drfuzz/drfuzz.h (right): https://codereview.appspot.com/281880043/diff/140001/drfuzz/drfuzz.h#newcode373 drfuzz/drfuzz.h:373: * Get the total number of basic blocks seen ...
8 years, 4 months ago (2015-12-18 21:05:51 UTC) #24
zhaoqin
8 years, 4 months ago (2015-12-18 21:10:14 UTC) #25
Commit log for latest patchset:
---------------
i#1734 Dr. Fuzz: add feedback based fuzzing framework

- add option -fuzz_bbcov to enable basic block coverage guided fuzzing
- add drfuzz_mutator_feedback to drfuzz to allow client provide feedback
  to drfuzz mutator
- add bb_event in drfuzz to track the number of basic blocks seen
- add drfuzz_get_target_num_bbs to return number of basic blocks
- provide feedback to drfuzz in post_fuzz

TODO: add code in the mutator to act on the feedback

Review-URL: https://codereview.appspot.com/281880043
---------------
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b