1422 Commits

Author SHA1 Message Date
hexcoder
f1ef398909
remove wrong call to write_to_file when aborted by user 2020-03-11 11:11:22 +01:00
intrigus-lgtm
66e8faaaa9
Fix typo (#247) 2020-03-11 00:48:52 +01:00
Rishi Ranjan
f17a3dde1a
Replace timer with select in forkserver, where possible (#246) 2020-03-11 00:34:51 +01:00
Dominik Maier
88ced831c1 forkserver defaults 2020-03-10 22:56:26 +01:00
Dominik Maier
cc1d6b33b1 unified pointer placement 2020-03-10 22:04:05 +01:00
van Hauser
2832cb643d removed debug output 2020-03-10 16:27:28 +01:00
Rishi Ranjan
cd377f3d99
Replace alarms with select and threads (#243)
* Use select to monitor forkserver for timeouts instead of alarm

* Remove redundent conditons in select monitoring of fdsin forkserver and cmplog

* Replace SIGALARM with POSIX timers in afl-fuzz-run

* Make changes to Makefile to use POSIX timers

* Resolve Merge Conflicts and rename variables accordingly

* Change forkserver and cmplog to handle exec_tmout = 0

* Handle timeout function bug rectify

* Add error handling to afl-fuzz run timers

* Add timer_delete to afl-fuzz-run

* Remove memory leaks
2020-03-10 13:07:29 +01:00
van Hauser
0def6e3471 this should fix travis 2020-03-10 07:18:23 +01:00
van Hauser
1148a2d0d1 document new environment variables and code format 2020-03-10 07:14:42 +01:00
van Hauser
38d9aedb26 code-format - and afl-cmin/afl-showmap was fixed in the bugfix for afl-tmin 2020-03-10 06:54:31 +01:00
van Hauser
1467776a3f imported InsTrim algo fix 2020-03-10 06:47:11 +01:00
van Hauser
f678731234 afl-tmin is fixed via default initialization in forkserver 2020-03-10 06:44:24 +01:00
Dominik Maier
e04d2a6efa removed unused vars 2020-03-09 21:58:39 +01:00
Dominik Maier
1136e887bd now wiht 90% less leaks 2020-03-09 21:34:11 +01:00
van Hauser
416020daef quickfix for first big bug that use_stdin was not correctly initialized and could not be set 2020-03-09 19:42:23 +01:00
van Hauser
73a1b39446 quickfix for first big bug that use_stdin was not correctly initialized and could not be set 2020-03-09 19:40:59 +01:00
Dominik Maier
253bbf3a5c replaced free with ck_free 2020-03-09 19:36:02 +01:00
Dominik Maier
782cffb130 fixed numerous leaks 2020-03-09 19:30:26 +01:00
van Hauser
a24352ddfd fix leaks 2020-03-09 15:52:14 +01:00
Andrea Fioraldi
2f41663673 copyleft note 2020-03-09 14:43:40 +01:00
Andrea Fioraldi
cdd1dd3d20 changelog 2020-03-09 14:37:34 +01:00
van Hauser
dea1dbfba4 updated changelog and todo 2020-03-09 12:33:06 +01:00
van Hauser
988a32ced5 code-format 2020-03-09 12:21:54 +01:00
van Hauser
188a6f5ec5 disable leaksanitizer when "make" ... more 2020-03-09 12:17:59 +01:00
van Hauser
aa4050d406 disable leaksanitizer when "make" 2020-03-09 12:04:35 +01:00
van Hauser
581097d58d expanded test-instr to also work with input files via "-f @@" and changed the test.sh values 2020-03-09 11:39:12 +01:00
Dominik Maier
dba3595c0a
AFL without globals (#220)
* moved globals to afl, shm and fsrv 

* moved argv to afl state, less bugs

* fixed unicorn docu

* lists everywhere

* merged custom mutators

* fixed leaks in afl-fuzz
2020-03-09 11:24:10 +01:00
van Hauser
c159b872ef removed warning in afl-gcc-pass.so.cc 2020-03-09 11:23:29 +01:00
van Hauser
df74edeb45 more honoring be_quiet 2020-03-09 11:08:50 +01:00
van Hauser
dcf7d85cba honor no_quiet for missing llvm_mode output, also print to stderr with afl-*-rt.o.c instead of stdout for errors plus two potential bad free() fixes 2020-03-09 10:56:53 +01:00
van Hauser
8e953d9931
Merge pull request #240 from rish9101/refactor
Remove get_cut_time function from multiple places and refactor code
2020-03-09 09:30:25 +01:00
van Hauser
9f89bbd5ec reactivated LTO persistent mode to test.sh 2020-03-09 08:51:37 +01:00
van Hauser
6a6dd84b39 more detail to the fact that LTO mode can fail easily 2020-03-09 08:33:08 +01:00
van Hauser
36ce9c1fb9 more code format 2020-03-09 08:30:28 +01:00
van Hauser
0581f6ec00 bug fixes to afl-ld and intensive README.lto.md update on errors and how to do the steps by hand, plus global code format 2020-03-09 08:27:23 +01:00
rish9101
1a582d54e5 Remove get_cut_time function from multiple places and refactor code 2020-03-09 10:04:32 +05:30
Andrea Fioraldi
a3161b902e fix null ptr deferef in pre_save python mutator call 2020-03-08 22:02:57 +01:00
van Hauser
783f3b0957 afl-ld fixes for -L/-l .a libary loads 2020-03-08 19:12:04 +01:00
van Hauser
8ff0161d58 "fixed" symbol multiply defined problems with LTO 2020-03-08 18:20:28 +01:00
van Hauser
9f7bcca91e mark AFL_PYTHON_ONLY deprecated 2020-03-08 16:56:44 +01:00
Andrea Fioraldi
891f6985ed
Merge pull request #238 from h1994st/master
Two new hooks for the custom mutator
2020-03-08 12:38:01 +01:00
Andrea Fioraldi
98ffef26dc
Merge pull request #239 from 0x1eadbead/fix-qemu-32-on-64
fix qemu persistent mode for 32-bit target on 64-bit host
2020-03-08 11:50:44 +01:00
0x1eadbead
81179b4829 fix qemu persistent mode for 32-bit target on 64-bit host 2020-03-08 13:39:06 +03:00
h1994st
e7bc3e09a3 Update .gitignore 2020-03-07 16:30:31 -05:00
h1994st
8f93cf5c55 Add two new hooks for the custom mutator
- `afl_custom_queue_get` and `afl_custom_queue_new_entry`
- Update the corresponding document and examples
2020-03-07 16:28:48 -05:00
h1994st
dc0b2dda5e Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2020-03-07 10:29:14 -05:00
Andrea Fioraldi
ed5d65b54f solve linking error when python is not available 2020-03-07 14:26:33 +01:00
Andrea Fioraldi
172d384bf2 custom havoc mutation 2020-03-07 12:11:06 +01:00
Dominik Maier
1e30c3a941 afl-tmin hang mode added 2020-03-07 03:40:42 +01:00
h1994st
a10a3f2fa7 Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2020-03-06 16:28:26 -05:00