Andrea Fioraldi
a908a98225
update qemuafl
2021-03-24 11:06:02 +01:00
Andrea Fioraldi
82554677a8
update qemuafl
2021-03-24 11:00:13 +01:00
Andrea Fioraldi
65e3770bad
qemuafl
2021-03-16 16:32:35 +01:00
vanhauser-thc
f5420e737a
rtn fix
2021-03-16 16:15:29 +01:00
Andrea Fioraldi
4e567d3f5d
update qemuafl
2021-03-16 15:38:45 +01:00
realmadsci
96574854b3
libqasan/malloc: Additional pointer checks
...
Add checks to free() and malloc_usable_size() to
verify (sort of) that the pointers are actually
pointing at valid allocated memory before dereferencing
them and using the chunk_begin struct info.
This will catch use-after-free and wildly bad pointers
a little bit earlier.
2021-03-15 12:07:22 -07:00
realmadsci
281cd47c15
libqasan: Add checks for read() and write()
2021-03-15 12:07:22 -07:00
R. Elliott Childre
87eb44abe4
Remove QEMU dependency checks
...
Most of these packages (bison, flex, pixman (in non-system mode)) are no
longer dependencies of QEMU and regardless, QEMU's build system is quite
capable of finding dependencies by itself and will error out
accordingly. This prevents having to further change this code as QEMU's
dependencies inevitably change.
2021-03-10 09:12:41 -05:00
Andrea Fioraldi
0d6e571237
better CROSS detection
2021-03-09 21:11:44 +01:00
Andrea Fioraldi
40ba8814b3
better CROSS detection
2021-03-09 21:05:58 +01:00
Andrea Fioraldi
a0a917ad87
better CROSS detection
2021-03-09 21:03:18 +01:00
Andrea Fioraldi
08ef8d6b78
NO_CHECKOUT=1 ./build_qemu_support.sh
2021-03-04 10:57:00 +01:00
Andrea Fioraldi
3977d50b55
update qemuafl and remove git stas
2021-03-04 10:52:22 +01:00
realmadsci
8bdb40b763
cpu-exec: Add AFL_QEMU_EXCLUDE_RANGES
...
This environment variable allows rejection of
specific regions from instrumentation.
It takes priority over AFL_INST_LIBS and AFL_QEMU_INST_RANGES,
so it can be used to poke a "hole" in previously included sections.
2021-03-02 12:55:44 -08:00
Andrea Fioraldi
ad7a7fcf07
ASan-compatible area_is_mapped()
2021-03-01 15:30:55 +01:00
vanhauser-thc
07884e0054
feodora qemu lib fix
2021-03-01 09:37:07 +01:00
R. Elliott Childre
e389eb9842
Fix printf specifiers of (s)size_t in QAsan hooks
...
* size_t specifier is %zu or %zx
* ssize_t specifier is %zd
Helpful for cross compiling
2021-02-28 15:08:59 -05:00
Andrea Fioraldi
1cad645400
fix %ld in hooks.c
2021-02-27 18:30:04 +01:00
Andrea Fioraldi
36846836ed
libqasan: read and write hooks
2021-02-27 18:26:57 +01:00
vanhauser-thc
79f1a44a01
fix qasan search path
2021-02-27 18:14:58 +01:00
vanhauser-thc
100aac4dd3
-t help
2021-02-20 14:15:38 +01:00
Andrea Fioraldi
d941da33ae
qemuafl
2021-02-19 21:20:33 +01:00
Andrea Fioraldi
89cf94f0e6
suggested env vars for lazy ppl
2021-02-19 20:33:12 +01:00
Andrea Fioraldi
d6fe6b9537
qemuafl
2021-02-19 10:49:36 +01:00
vanhauser-thc
938512a6b9
minor fixes
2021-02-17 09:48:04 +01:00
b1gr3db
f091b8d692
Regression fix
...
Previous fix was undone in a subsequent commit
2021-02-16 11:17:55 -05:00
Michael Rodler
6caec2169c
Revert "llvm bug workaround for lto extint"
...
This reverts commit e3a5c31307f323452dc4b5288e0d19a02b596a33.
2021-02-15 19:14:28 +01:00
Dominik Maier
145c673a80
finished merge
2021-02-15 15:04:34 +01:00
Dominik Maier
c5017945f7
merged
2021-02-15 14:07:10 +01:00
Dominik Maier
0298ae82b0
code-format
2021-02-15 13:52:03 +01:00
vanhauser-thc
e3a5c31307
llvm bug workaround for lto extint
2021-02-15 13:25:15 +01:00
vanhauser-thc
dd2fd80274
doc updates
2021-02-15 12:40:10 +01:00
Andrea Fioraldi
ffc1fc655f
qenuafl
2021-02-15 10:27:44 +01:00
hexcoder
fe477e96ae
fix configure arguments
2021-02-15 09:24:13 +01:00
van Hauser
98fd50f78f
Merge branch 'stable' into dev
2021-02-14 22:42:13 +01:00
vanhauser-thc
fe9da70705
disabling march=native due problems on intel platforms
2021-02-14 18:43:43 +01:00
vanhauser-thc
95c77c8486
try qemu build fix
2021-02-14 11:46:23 +01:00
aflpp
d827bc4580
dont break on llvm 13
2021-02-13 09:12:36 +01:00
Andrea Fioraldi
64e46dcefc
remvoe libcompcov 32 bits warnings
2021-02-12 22:07:17 +01:00
Andrea Fioraldi
22a3c7f7d0
fix #736 (ty b1gr3db)
2021-02-12 09:42:22 +01:00
hexcoder
16ffbb37f5
typo
2021-02-11 22:09:19 +01:00
hexcoder
ea05f3f4cd
typos
2021-02-11 21:55:14 +01:00
Andrea Fioraldi
91f2f057e4
fix #723
2021-02-11 21:17:08 +01:00
vanhauser-thc
f4cac37b04
typos
2021-02-11 10:20:36 +01:00
Andrea Fioraldi
267b085f80
dlmalloc only for non glibc qasan and AFL_QEMU_FORCE_DFL
2021-02-10 15:15:16 +01:00
vanhauser-thc
c2c65fd9c1
mark llvm 13 as unsupported (yet)
2021-02-07 09:42:28 +01:00
vanhauser-thc
209c5ba465
larger map, stats reload fix, code format
2021-02-07 05:33:02 +01:00
hexcoder-
08076f0500
fix qemu build script for Arch Linux ($CROSS)
2021-02-06 12:04:29 +01:00
b1gr3db
d0ab2ded00
Create string.c
...
Off by one error resulted in memmem calling memcmp where h + needle_len is one past the end.
2021-02-03 15:32:06 -05:00
van Hauser
cd95ee67bc
code format qasan
2021-02-01 23:00:45 +01:00