forked from aflgo/aflgo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81680ec
commit 570fc24
Showing
4 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5131,7 +5131,7 @@ static u8 fuzz_one(char** argv) { | |
/* Effector map setup. These macros calculate: | ||
EFF_APOS - position of a particular file offset in the map. | ||
EFF_ALEN - length of an map with a particular number of bytes. | ||
EFF_ALEN - length of n map with a particular number of bytes. | ||
EFF_SPAN_ALEN - map span for a sequence of bytes. | ||
*/ | ||
|
@@ -7551,13 +7551,18 @@ int main(int argc, char** argv) { | |
u8 *extras_dir = 0; | ||
u8 mem_limit_given = 0; | ||
u8 exit_1 = !!getenv("AFL_BENCH_JUST_ONE"); | ||
|
||
char** use_argv; | ||
|
||
struct timeval tv; | ||
struct timezone tz; | ||
|
||
SAYF(cCYA "afl-fuzz " cBRI VERSION cRST " by <[email protected]>\n"); | ||
|
||
doc_path = access(DOC_PATH, F_OK) ? "docs" : DOC_PATH; | ||
|
||
gettimeofday(&tv, &tz); | ||
srandom(tv.tv_sec ^ tv.tv_usec ^ getpid()); | ||
|
||
while ((opt = getopt(argc, argv, "+i:o:f:m:t:T:dnCB:S:M:x:Q")) > 0) | ||
|
||
switch (opt) { | ||
|
This file contains 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
This file contains 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