ec4ad161fc
Support AFL_NO_FORKSRV env-var in afl-tmin, afl-showmap, and afl-cmin ( #1017 )
...
* Support AFL_NO_FORKSRV env-var
* format
* showmap support
* showmap support
* help messages now show envar support
* formatting
* formatting
Co-authored-by: Jesse Hertz <jesse_hertz@apple.com >
2021-07-13 10:56:55 +02:00
3c846859ee
cleanup
2021-04-04 20:05:02 +02:00
c23183f1dc
Merge pull request #855 from MegaManSec/leak-sanitizer
...
Add support for standalone leak-sanitizer
2021-04-04 15:28:42 +02:00
99819cf5d1
Move definition of __AFL_LEAK_CHECK inside ifguards,
...
use LSAN_OPTIONS=print_suppressions=0
2021-04-04 12:45:52 +00:00
fee7470083
Remove check for exit_code on LSAN and replace it with check for
...
symbolize=0.
2021-04-03 14:57:52 +00:00
afc4da47f7
Fix typos,
...
Use symbolize=0 for LSAN,
Remove syntactic sugar.
2021-04-03 14:50:35 +00:00
920e9402a4
Add support for standalone leak-sanitizer, introducting the environment
...
variable AFL_USE_LSAN.
AFL_USE_LSAN introduces the macro __AFL_CHECK_LEAK() which will check
for a memory leak when the macro is run. This is especially helpful
when using __AFL_LOOP().
If __AFL_LEAK_CHECK() is not used when AFL_USE_LSAN=1 is set,
the leak checker will run when the program exits.
2021-04-02 22:23:11 +00:00
1725e6be31
Fix support for afl-cmin and updated README
2021-03-25 17:41:14 +00:00
e1384b5086
Add support for FRIDA mode
2021-03-24 18:17:10 +00:00
dfe6f7f8c9
make setting different file permissions easy via config.h
2021-03-23 20:21:08 +01:00
01ad7610be
Remove AFL_PRELOAD and AFL_USE_QASAN handlers
...
These are now processed in afl-qemu-trace so that the "copy+paste" code
that is in all of the other AFL tools can be removed.
This also allows the AFL_USE_QASAN flag to work the same when used
with tools like afl-fuzz as it does with afl-qemu-trace. This is
important in situations where loading the QASAN library changes
the address of your desired entrypoint, or for crash validation
using the same environment that afl-fuzz was using.
With this change, the same set of environment variables can be used
in exactly the same way between afl-fuzz, afl-showmap, and
afl-qemu-trace, and you will get exactly the same guest environment.
2021-03-15 13:03:16 -07:00
b6dc529bc3
no ASAN odr violations by default
2021-03-04 14:55:57 +01:00
88155d2c3b
make dominik more happy - no auto map size for qemu+unicorn
2021-02-01 13:04:39 +01:00
981ffb27a8
making AFL_MAP_SIZE obsolete
2021-02-01 12:01:23 +01:00
9d08f0d098
added AFL_CMPLOG_ONLY_NEW feature
2021-01-30 15:39:47 +01:00
6f5746d428
AFL_USE_QASAN
2021-01-29 15:38:49 +01:00
0306261fec
Fix build error for Android
...
- LTO not work yet
2021-01-20 15:46:39 +08:00
34732e3c5e
refactored kill signal env parsing
2021-01-08 11:36:40 +01:00
a06b25538f
cleaned up AFL_KILL_SIGNAL
2021-01-07 23:21:10 +01:00
c6e038fe25
code cleanups (shadowed vars, (un)signed type mismatches, format types, etc.)
2021-01-04 20:40:53 +01:00
03849d147a
warn on _AFL and __AFL env vars
2020-12-23 17:56:39 +01:00
8241ded12e
more portability non std array initializers
2020-12-22 20:19:43 +01:00
a2e2fae840
AFL_CRASH_EXITCODE env var added, u8->bool
2020-12-03 14:43:06 +01:00
f80f62f14b
renamed env var to AFL_DEBUG_CHILD
2020-11-18 03:02:13 +01:00
350c3b323a
fix for #562
2020-11-02 21:17:37 +01:00
ca938e7c4e
asan_build for tmin and analyze
2020-10-24 19:11:41 +02:00
e4de4e3500
update gitignore
2020-08-31 18:32:01 +02:00
53e63e9ded
added forkserver init timeout
2020-08-31 18:28:36 +02:00
4d9d52e3d9
code format
2020-08-23 11:00:46 +02:00
6184832ea9
added more env var docs, fsrv fixes for cmin, tmin
2020-08-23 10:59:56 +02:00
22d3a5e90a
enabled Wextra, fixed bugs
2020-08-07 16:55:58 +02:00
139665c01d
ubsan options
2020-07-03 10:20:10 +02:00
07fead0466
fix shared memory leaks in afl-showmap, initialize cmplog_mode
2020-06-26 01:14:21 +02:00
171b1923e9
shmem release fix
2020-06-25 22:02:02 +02:00
37edfe2de9
shmem support for afl-tmin and afl-showmap
2020-06-22 19:56:34 +02:00
dc002b4b35
code format
2020-06-15 11:08:24 +02:00
67d87dd2a9
Porting to Haiku.
...
getrusage does not implement resident memory gathering, no shm api neither.
2020-06-14 15:32:02 +00:00
40aca0b6b3
fix for checksums
2020-06-12 16:33:20 +02:00
a632c00b0d
switch to faster and better hash + random
2020-06-12 16:08:49 +02:00
7b40d7b942
new code formatting + applied
2020-05-12 11:12:25 +02:00
30bfd44dfd
indenting preprocessor directives breaks compilation and cant be fixed, reverting ... :-(
2020-05-10 12:09:37 +02:00
26f8708fed
fix warning, code format
2020-05-10 11:35:31 +02:00
515de0d68d
Illumos biuld fix ( #357 )
2020-05-10 00:21:26 +02:00
5b1b986c89
fix for afl-tmin -f
2020-05-03 14:19:03 +02:00
8197e9b2e4
clang-tidy readability-braces ( #323 )
2020-04-19 16:42:40 +02:00
76e15a0695
refactoring getting the map size
2020-04-17 11:56:08 +02:00
248a2f2f0b
added AFL_MAP_SIZE to env help output
2020-04-17 10:21:41 +02:00
5b70d23211
added AFL_MAP_SIZE (wip)
2020-04-17 09:10:49 +02:00
c961925356
fix plot_data output and code-format
2020-04-17 07:10:42 +02:00
69bd7c16eb
silence some clang warnings
2020-04-16 19:15:14 +02:00