385 Commits

Author SHA1 Message Date
van Hauser
b41ea92a67
Merge pull request #883 from veritas501/fix-typo
fix-typo
2021-04-19 10:33:23 +02:00
veritas501
2bd7206ec5 fix-typo: "WIn32" -> "Win32" 2021-04-19 10:49:28 +08:00
vanhauser-thc
c30999562e fix compcovtest 2021-04-16 15:02:36 +02:00
vanhauser-thc
3c68208dd3 fix compcovtest 2021-04-16 14:53:11 +02:00
vanhauser-thc
624c1dce46 fix nits 2021-04-16 11:38:37 +02:00
vanhauser-thc
e41d1183cc fix nits 2021-04-16 00:41:32 +02:00
Andrea Fioraldi
45b5e3622e fix compcovtest 2021-04-15 15:12:32 +02:00
Andrea Fioraldi
43e16cf13d fix compcovtest 2021-04-15 15:05:14 +02:00
Andrea Fioraldi
d0390f3b76 fix compcovtest 2021-04-15 14:42:54 +02:00
Andrea Fioraldi
9d3a2b693a qemuafl 2021-04-15 14:10:04 +02:00
vanhauser-thc
c169cb3911 integrate frida_mode, code-format 2021-03-25 20:10:09 +01:00
vanhauser-thc
2b3642aa39 v3.12c ready to go 2021-03-24 11:13:16 +01:00
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