260 Commits

Author SHA1 Message Date
hexcoder
fa349b4f4c
simpler argument processing 2021-03-26 17:49:20 +01:00
van Hauser
7dc4847869
Merge pull request #817 from realmadsci/atat-plusplus
Make @@ handling more flexible
2021-03-24 11:26:10 +01:00
vanhauser-thc
84534ae2e8 format 2021-03-21 16:23:08 +01:00
Josh Bundt (tr0gd0r)
33dd2ce021
close fds when executing one by one. (#835)
* closes fd when executing one by one.

* clean aflpp_driver
2021-03-20 09:34:40 +01:00
David Carlier
14e1b0ffba libdislocator freebsd 13 update to amke it works
with vm.imply_prot_max set.
2021-03-19 21:19:22 +00:00
hexcoder
a7797f0cb9
fix is now closer to original statement 2021-03-17 08:04:29 +01:00
hexcoder
d17abce59b
Merge branch 'dev' into atat-plusplus 2021-03-17 08:00:32 +01:00
hexcoder
6840e8fd2a
fix two bugs in error message
$1 and $2 have been modified here by two previous shift commands.
2021-03-16 22:58:10 +01:00
vanhauser-thc
862cb3217f fix cmplog rtn 2021-03-16 14:38:13 +01:00
realmadsci
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
realmadsci
b289e7ad07 triage_crashes.sh: Fix error reporting 2021-03-15 12:25:01 -07:00
realmadsci
70403f7e1b triage_crashes.sh: Allow @@ to be part of an arg 2021-03-15 12:25:01 -07:00
MarcoFalke
db342c9c81
doc: Clarify default value of N iterations in aflpp_driver 2021-03-13 11:03:08 +01:00
vanhauser-thc
f81ef4abf4 fix afl-common compile 2021-02-28 00:12:39 +01:00
vanhauser-thc
79e02c2a9b remove debug output 2021-02-26 22:54:35 +01:00
Dominik Maier
cebde1f9e6 ran black on python scripts 2021-02-15 13:52:23 +01:00
vanhauser-thc
209c5ba465 larger map, stats reload fix, code format 2021-02-07 05:33:02 +01:00
vanhauser-thc
d920104248 remove compiler warnings 2021-02-06 12:26:51 +01:00
David CARLIER
8bd70a50b1 afl-untracer: Mac M1 build update proposal. 2021-02-03 07:38:09 +00:00
van Hauser
ba7bf99235
Merge pull request #721 from GanbaruTobi/patch-1
Clarify usage of LD_LIBRARY_PATH in afl_frida
2021-02-01 17:53:08 +01:00
Tobias Mayer
e954c891a0
Clarify usage of LD_LIBRARY_PATH in afl_frida
This will help not *accidentally* trying to set the variable to the library's binary.
2021-02-01 17:32:45 +01:00
van Hauser
cc0210426a code-format 2021-01-31 17:32:24 +01:00
aflpp
e5116c6d55 fix -Z, remove q->next 2021-01-31 17:29:37 +01:00
van Hauser
2f96f1e920 afl-frida faster for x86_x64 2021-01-30 10:28:34 +01:00
van Hauser
1b557d1a70 remove warnings 2021-01-30 09:01:06 +01:00
Joey Jiaojg
47f62eb0ca
Fix dev branch for android (#710)
* android: replace rindex with strrchr

* android: support 64bit only due to 128bit integer not supported by 32bit system

Co-authored-by: joeyjiaojg@qq.com <joeyjiaojg@163.com>
2021-01-28 05:51:45 +01:00
van Hauser
9c393adbb9 real fix plus code format 2021-01-26 17:12:11 +01:00
van Hauser
fc3f06caec
Merge pull request #689 from AFLplusplus/cmplog_merge
cmplog merge
2021-01-21 12:03:21 +01:00
Joey Jiao
02079d8ef9 android: Remove frida-gum package 2021-01-20 19:16:57 +08:00
Joey Jiao
bb9d275350 afl_frida: Add AFL_FRIDA_TEST_INPUT env to debug input 2021-01-20 15:48:48 +08:00
Joey Jiao
6dc20fc298 afl_frida: fix target lib 2021-01-20 15:46:41 +08:00
Joey Jiao
868ef6c10c android: afl_frida: get target lib/function from command line 2021-01-20 15:46:41 +08:00
Joey Jiao
52f1d535bd android: port afl_frida for arm64 2021-01-20 15:46:41 +08:00
Joey Jiao
0306261fec Fix build error for Android
- LTO not work yet
2021-01-20 15:46:39 +08:00
van Hauser
ca1eb32552 fix compiles 2021-01-19 10:16:12 +01:00
hexcoder-
b7af98e945 code cleanups (from cppcheck mostly) 2021-01-04 15:32:22 +01:00
hexcoder-
5cdbfeef4a Revert "code cleanups (from cppcheck)"
This reverts commit 33a7d6f1688856c050b0ac71ac1df4018e4d531c.
2021-01-04 15:17:39 +01:00
hexcoder-
33a7d6f168 code cleanups (from cppcheck) 2021-01-04 15:14:20 +01:00
van Hauser
880513651d cmplog cleanup 2021-01-03 10:13:55 +01:00
van Hauser
1857df8d06 cleanup 2021-01-03 00:37:56 +01:00
van Hauser
16d2bd3177 doc update 2021-01-01 13:34:24 +01:00
David CARLIER
935724557f libdislocator, ptr algo warning fix on clang/Xcode (m1). 2020-12-31 11:38:35 +00:00
van Hauser
108e28ff10 fix CFLAGS for extra libs 2020-12-28 13:53:11 +01:00
van Hauser
8e2b59ffca more flexible system support for afl-frida 2020-12-26 23:04:21 +01:00
van Hauser
7375d8fcb7
Merge pull request #661 from Manouchehri/dev
Fix missing Apple headers for afl_frida
2020-12-26 22:09:03 +01:00
van Hauser
2c4b51b437 utils/afl_frida is not 5% faster 2020-12-26 22:01:49 +01:00
van Hauser
fe0dca9d96 fixed a few forgotten old afl-llvm-rt references 2020-12-26 21:33:54 +01:00
David Manouchehri
159707f74c Include Apple headers. 2020-12-26 15:32:22 -05:00
van Hauser
e8374e3deb temporary fix for unusual builds where CC is set 2020-12-21 17:04:58 +01:00
van Hauser
73dd6d86ab dont fail with ASAN_BUILD 2020-12-18 16:38:24 +01:00