Commit Graph

157 Commits

Author SHA1 Message Date
6f5746d428 AFL_USE_QASAN 2021-01-29 15:38:49 +01:00
0ddbffd80e fix 2021-01-12 17:36:10 +01:00
34732e3c5e refactored kill signal env parsing 2021-01-08 11:36:40 +01:00
c6e038fe25 code cleanups (shadowed vars, (un)signed type mismatches, format types, etc.) 2021-01-04 20:40:53 +01:00
0b9ca807f2 fix exec/s display 2020-12-26 13:15:05 +01:00
03849d147a warn on _AFL and __AFL env vars 2020-12-23 17:56:39 +01:00
fd6bff727a fix crash for very fast targets 2020-12-17 22:57:28 +01:00
609f3d0265 fixed gcc analyzer warnings 2020-12-11 13:29:45 +01:00
a2e2fae840 AFL_CRASH_EXITCODE env var added, u8->bool 2020-12-03 14:43:06 +01:00
54a312a5fe more small fixes 2020-11-13 00:44:08 +01:00
73c0e1357f qemu argv index was still wrong 2020-10-20 05:16:34 -07:00
060dbe1239 wine argv fix 2020-09-13 14:26:24 +02:00
a9ba907676 Fix qemu argv construction (#555) 2020-09-13 14:25:02 +02:00
6c715f1a69 more changes to fuzzer_setup 2020-09-04 17:04:42 +02:00
af14acf2c1 Revert "Merge branch 'debug' into dev"
This reverts commit a7537b5511, reversing
changes made to 15e799f7ae.
2020-08-14 14:35:05 +02:00
4f695b6f4c fixes 2020-08-11 11:16:48 +02:00
0ba09ee85a enhancements 2020-08-11 10:24:45 +02:00
3ecafde29d increase stack size 2020-08-10 13:59:30 +02:00
b60663c031 taint integration done 2020-08-09 18:48:12 +02:00
0bb59ba116 code format 2020-08-09 01:09:26 +02:00
e4a0237cbc step 1 2020-08-09 00:35:12 +02:00
8e809d8593 added NULL check 2020-07-30 17:51:32 +02:00
97cef46b62 warn on deprecated env vars 2020-07-01 10:03:34 +02:00
06264df168 rename whitelist -> instrumentlist 2020-06-30 17:28:21 +02:00
81974c4d5e debug code 2020-06-28 22:50:18 +02:00
855ee06247 add afl-ld-lto for LTO 2020-06-04 13:57:16 +02:00
fc164e4709 code format 2020-06-03 10:50:49 +02:00
83112ed5e0 got rid of questionable phrasing 2020-06-02 14:54:24 +02:00
24508194c2 removed read_timed 2020-05-30 14:03:52 +02:00
95b46b4278 reverted extendended read_timed 2020-05-30 13:53:00 +02:00
b16ccb4811 Revert "code format"
This reverts commit 8f19becb62.
2020-05-30 13:51:29 +02:00
8f19becb62 code format 2020-05-30 11:05:53 +02:00
38e5c32a55 corrected read_timed for values > 4 2020-05-30 11:02:34 +02:00
8726d7b0a3 simplified read_timed 2020-05-30 06:51:51 +02:00
408ef5298b Merge pull request #383 from dgmelski/fix-read-timed
Fix read_timed when accumulating short reads
2020-05-29 18:58:25 +02:00
4b01d594c4 Fix read_timed when accumulating short reads
The existing code appears to use 'len_read' in several places where
'total_read' was intended.  The function may work if the first 1 or 2
iterations of the loop read the requested 'len' bytes.

If the first two reads are "short" and a third read is done, the bytes
will be placed over previously read bytes in buf and more than 'len'
bytes may be read in total, though buf is never overrun.

This commit changes read_timed to

  (1) correctly append short reads in buf
  (2) correctly terminate when the sum of the short reads
      equals the requested 'len' bytes
  (3) return an error when read() returns -1 or 0

The function also depends on select() decrementing the timeout
structure, as it does on Linux.  On other platforms, the exec_ms
returned is likely incorrect.  This patch does not attempt to address
this issue.
2020-05-28 20:25:30 -04:00
c64ea49432 AFL_LLVM_LAF_ALL 2020-05-23 01:37:21 +02:00
d334093606 deprecated AFL_POST_LIBRARY 2020-05-14 01:00:11 +02:00
72f4a9f678 missing env var 2020-05-12 19:40:04 +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
ef2ccc8117 added AFL_LLVM_SKIPSINGLEBLOCK and changed default behaviour to instrument single block functions 2020-05-07 14:59:12 +02:00
378573ab8b AFL_LLVM_SKIP_NEVERZERO added 2020-05-02 00:39:13 +02:00
a37eca9df5 afl-untracer - next step 2020-04-30 16:27:31 +02:00
66eee34709 refactored global lists 2020-04-26 02:32:09 +02:00
766085293d variable map size fix, error reporting through forkserver, code format 2020-04-24 12:09:25 +02:00
cce8c4dbae fixed map location support for LTO 2020-04-23 08:56:06 +02:00
8197e9b2e4 clang-tidy readability-braces (#323) 2020-04-19 16:42:40 +02:00
a6d4f04019 Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev 2020-04-17 13:30:12 +02:00