| OLD | NEW |
| 1 /* | 1 /* |
| 2 american fuzzy lop - vaguely configurable bits | 2 american fuzzy lop - vaguely configurable bits |
| 3 ---------------------------------------------- | 3 ---------------------------------------------- |
| 4 | 4 |
| 5 Written and maintained by Michal Zalewski <lcamtuf@google.com> | 5 Written and maintained by Michal Zalewski <lcamtuf@google.com> |
| 6 | 6 |
| 7 Copyright 2013, 2014, 2015, 2016 Google Inc. All rights reserved. | 7 Copyright 2013, 2014, 2015, 2016 Google Inc. All rights reserved. |
| 8 | 8 |
| 9 Licensed under the Apache License, Version 2.0 (the "License"); | 9 Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 you may not use this file except in compliance with the License. | 10 you may not use this file except in compliance with the License. |
| 11 You may obtain a copy of the License at: | 11 You may obtain a copy of the License at: |
| 12 | 12 |
| 13 http://www.apache.org/licenses/LICENSE-2.0 | 13 http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | 14 |
| 15 */ | 15 */ |
| 16 | 16 |
| 17 #ifndef _HAVE_CONFIG_H | 17 #ifndef _HAVE_CONFIG_H |
| 18 #define _HAVE_CONFIG_H | 18 #define _HAVE_CONFIG_H |
| 19 | 19 |
| 20 #include "types.h" | 20 #include "types.h" |
| 21 | 21 |
| 22 /* Version string: */ |
| 23 |
| 24 #define VERSION "2.30b" |
| 25 |
| 22 /****************************************************** | 26 /****************************************************** |
| 23 * * | 27 * * |
| 24 * Settings that may be of interest to power users: * | 28 * Settings that may be of interest to power users: * |
| 25 * * | 29 * * |
| 26 ******************************************************/ | 30 ******************************************************/ |
| 27 | 31 |
| 28 /* Comment out to disable terminal colors (note that this makes afl-analyze | 32 /* Comment out to disable terminal colors (note that this makes afl-analyze |
| 29 a lot less nice): */ | 33 a lot less nice): */ |
| 30 | 34 |
| 31 #define USE_COLOR | 35 #define USE_COLOR |
| (...skipping 18 matching lines...) Expand all Loading... |
| 50 # define MEM_LIMIT 50 | 54 # define MEM_LIMIT 50 |
| 51 #endif /* ^!__x86_64__ */ | 55 #endif /* ^!__x86_64__ */ |
| 52 | 56 |
| 53 /* Default memory limit when running in QEMU mode (MB): */ | 57 /* Default memory limit when running in QEMU mode (MB): */ |
| 54 | 58 |
| 55 #define MEM_LIMIT_QEMU 200 | 59 #define MEM_LIMIT_QEMU 200 |
| 56 | 60 |
| 57 /* Number of calibration cycles per every new test case (and for test | 61 /* Number of calibration cycles per every new test case (and for test |
| 58 cases that show variable behavior): */ | 62 cases that show variable behavior): */ |
| 59 | 63 |
| 60 #define CAL_CYCLES 10 | 64 #define CAL_CYCLES 8 |
| 61 #define CAL_CYCLES_LONG 40 | 65 #define CAL_CYCLES_LONG 40 |
| 62 | 66 |
| 63 /* The same, but when AFL_NO_VAR_CHECK is set in the environment: */ | |
| 64 | |
| 65 #define CAL_CYCLES_NO_VAR 4 | |
| 66 | |
| 67 /* Number of subsequent hangs before abandoning an input file: */ | 67 /* Number of subsequent hangs before abandoning an input file: */ |
| 68 | 68 |
| 69 #define HANG_LIMIT 250 | 69 #define HANG_LIMIT 250 |
| 70 | 70 |
| 71 /* Maximum number of unique hangs or crashes to record: */ | 71 /* Maximum number of unique hangs or crashes to record: */ |
| 72 | 72 |
| 73 #define KEEP_UNIQUE_HANG 500 | 73 #define KEEP_UNIQUE_HANG 500 |
| 74 #define KEEP_UNIQUE_CRASH 5000 | 74 #define KEEP_UNIQUE_CRASH 5000 |
| 75 | 75 |
| 76 /* Baseline number of random tweaks during a single 'havoc' stage: */ | 76 /* Baseline number of random tweaks during a single 'havoc' stage: */ |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 | 335 |
| 336 // #define SKIP_COUNTS | 336 // #define SKIP_COUNTS |
| 337 | 337 |
| 338 /* Uncomment this to use instrumentation data to record newly discovered paths, | 338 /* Uncomment this to use instrumentation data to record newly discovered paths, |
| 339 but do not use them as seeds for fuzzing. This is useful for conveniently | 339 but do not use them as seeds for fuzzing. This is useful for conveniently |
| 340 measuring coverage that could be attained by a "dumb" fuzzing algorithm: */ | 340 measuring coverage that could be attained by a "dumb" fuzzing algorithm: */ |
| 341 | 341 |
| 342 // #define IGNORE_FINDS | 342 // #define IGNORE_FINDS |
| 343 | 343 |
| 344 #endif /* ! _HAVE_CONFIG_H */ | 344 #endif /* ! _HAVE_CONFIG_H */ |
| OLD | NEW |