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

Issue 276780043: i#1734 drfuzz: add several fuzz options

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

Description

Commit log for first patchset: --------------- i#1734 drfuzz: add several fuzz options - add several fuzz options, including: -fuzz, -fuzz_module, -fuzz_function, -fuzz_offset, -fuzz_num_args, -fuzz_data, -fuzz_size, and -fuzz_count - rename fuzzer_fuzz_option_target to fuzzer_option_init and make it static ---------------

Patch Set 1 #

Total comments: 2

Patch Set 2 : PTAL #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -29 lines) Patch
M drmemory/drmemory.c View 2 chunks +2 lines, -4 lines 0 comments Download
M drmemory/fuzzer.h View 1 chunk +0 lines, -6 lines 0 comments Download
M drmemory/fuzzer.c View 1 5 chunks +65 lines, -17 lines 0 comments Download
M drmemory/options.c View 1 1 chunk +18 lines, -0 lines 0 comments Download
M drmemory/optionsx.h View 1 1 chunk +25 lines, -0 lines 4 comments Download
M tests/fuzz/CMakeLists.txt View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8
zhaoqin
8 years, 5 months ago (2015-11-05 19:51:28 UTC) #1
bruening
https://codereview.appspot.com/276780043/diff/1/drmemory/fuzzer.c File drmemory/fuzzer.c (right): https://codereview.appspot.com/276780043/diff/1/drmemory/fuzzer.c#newcode269 drmemory/fuzzer.c:269: fuzzer_fuzz_target(desc); Wouldn't it be nicer to have drfuzz also ...
8 years, 5 months ago (2015-11-06 03:57:48 UTC) #2
zhaoqin
https://codereview.appspot.com/276780043/diff/1/drmemory/fuzzer.c File drmemory/fuzzer.c (right): https://codereview.appspot.com/276780043/diff/1/drmemory/fuzzer.c#newcode269 drmemory/fuzzer.c:269: fuzzer_fuzz_target(desc); On 2015/11/06 03:57:47, bruening wrote: > Wouldn't it ...
8 years, 5 months ago (2015-11-06 04:33:04 UTC) #3
bruening
On 2015/11/06 04:33:04, zhaoqin wrote: > Do we want to keep this compact option format? ...
8 years, 5 months ago (2015-11-06 04:42:26 UTC) #4
zhaoqin
On 2015/11/06 04:42:26, bruening wrote: > On 2015/11/06 04:33:04, zhaoqin wrote: > > Do we ...
8 years, 5 months ago (2015-11-06 05:19:53 UTC) #5
Byron
On 2015/11/06 05:19:53, zhaoqin wrote: > On 2015/11/06 04:42:26, bruening wrote: > > On 2015/11/06 ...
8 years, 5 months ago (2015-11-06 07:28:22 UTC) #6
zhaoqin
Commit log for latest patchset: --------------- i#1734 drfuzz: add several fuzz options - add several ...
8 years, 5 months ago (2015-11-09 05:04:40 UTC) #7
bruening
8 years, 5 months ago (2015-11-10 18:47:03 UTC) #8
LGTM w/ suggestions

https://codereview.appspot.com/276780043/diff/20001/drmemory/optionsx.h
File drmemory/optionsx.h (right):

https://codereview.appspot.com/276780043/diff/20001/drmemory/optionsx.h#newco...
drmemory/optionsx.h:600: # define FUZZ_FUNC_DEFAULT_NAME
"drmemory_fuzz_function"
In the slides you have "DrMFuzzerInput"???

https://codereview.appspot.com/276780043/diff/20001/drmemory/optionsx.h#newco...
drmemory/optionsx.h:610: OPTION_CLIENT_SCOPE(drmemscope, fuzz_arg_data, uint, 0,
0, 31,
Maybe "fuzz_data_index" or "fuzz_data_idx" or "fuzz_data_pos"?

https://codereview.appspot.com/276780043/diff/20001/drmemory/optionsx.h#newco...
drmemory/optionsx.h:613: OPTION_CLIENT_SCOPE(drmemscope, fuzz_arg_size, uint, 1,
0, 31,
Ditto

https://codereview.appspot.com/276780043/diff/20001/drmemory/optionsx.h#newco...
drmemory/optionsx.h:616: OPTION_CLIENT_SCOPE(drmemscope, fuzz_count, int, 100,
0, INT_MAX,
How about "fuzz_repeat" or "fuzz_iters": "count" to me is a little confusing b/c
it could refer to size of buf or sthg.
Sign in to reply to this message.

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