1737 Commits

Author SHA1 Message Date
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
Andrea Fioraldi
2287534ec6 Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus 2020-03-06 21:23:54 +01:00
Andrea Fioraldi
27d6d35893 small fix to run cmplog binaries outside afl-fuzz 2020-03-06 21:23:47 +01:00
hexcoder-
13429d204d adapt child handling to nawk from *BSD 2020-03-06 20:57:28 +01:00
hexcoder-
0d4f2da8db terminate afl-cmin early when signalled SIGINT 2020-03-06 19:33:02 +01:00
Andrea Fioraldi
47fdbf3817
Merge pull request #235 from antonio-morales/patch-1
Fixing 2 little mistakes
2020-03-06 16:53:10 +01:00
Andrea Fioraldi
1d4a3c87f5 cmplog routines instrumentation for qemu mode on x86 2020-03-06 16:43:18 +01:00
Antonio Morales
c18f6c2618
Fixing 2 little mistakes
This example doesn't compile due to two little errors:
- There is a missing semicolon
- "data" array doesn't exist. I think "buf" should be used instead.
2020-03-06 16:09:43 +01:00
Andrea Fioraldi
6e8f249b20 fix #227 2020-03-05 20:43:28 +01:00
Dominik Maier
3ac568c40c
Fix leaks when stopping afl (#228) 2020-03-05 20:23:04 +01:00
van Hauser
90409f383a added AFL_QUIET - be_quiet to afl-showmap and small changes to test.sh 2020-03-05 11:36:37 +01:00
van Hauser
cc72f5dfd0 clarify -N option 2020-03-05 11:04:55 +01:00
van Hauser
6d620f5e0c fix travis 2020-03-05 11:03:36 +01:00
van Hauser
9d686ba523
Add LTO collision free llvm_mode (#223)
* first new implementation, only works with AFL_DONT_OPTIMIZE

* bug hunting

* interim commit

* finalized LTO non-collision solution

* update documentation

* merge resulted in some problems, fixing these

* added lto env to env check

* fixed llvm weirdness to messes up our instrumentation due CFG rewrite optimizations

* all llvm instrumentation issues have been resolved! :-)

* llvm 9 is required (so far)

* update lto readme
2020-03-05 10:52:26 +01:00
h1994st
9e5c4973eb Fix variable name 2020-03-04 14:58:29 -05:00
Andrea Fioraldi
70a67ca67d fix null ptr deref before trim_case_custom call 2020-03-04 19:28:29 +01:00
Andrea Fioraldi
e43473faef
Merge pull request #221 from h1994st/master
Uniform Python and custom mutator API
2020-03-04 18:38:03 +01:00
h1994st
38e7dd2b9e Update examples of the custom mutator
- Merge `examples/python_mutators` into `examples/custom_mutators`
- Remove `examples/python_mutators`
- Update existing examples to demonstrate new APIs
2020-03-04 01:09:37 -05:00
h1994st
42ce48db39 Fix typo 2020-03-03 23:18:47 -05:00
h1994st
445d4b7e59 Update the documents of the custom mutator
- Merge python_mutators.md into custom_mutator.md
- Remove python_mutators.md
2020-03-03 23:17:24 -05:00
van Hauser
05a3418f86 added __afl_final_loc to all compile RTs 2020-03-04 01:51:41 +01:00
h1994st
df46521658 Finish refactoring APIs for the custom mutator and Python module
- Remove AFL_PYTHON_ONLY (env) and python_only (variable)
- Unify fuzz API of the custom mutator and Python module
- Merge the custom mutator into the old python_stage, which is now renamed to custom_mutator_stage
2020-03-03 19:48:13 -05:00
Andrea Fioraldi
d559d5a374 fix prev commit 2020-03-03 11:15:07 +01:00
Andrea Fioraldi
469b8ee022 Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus 2020-03-03 11:07:49 +01:00
Andrea Fioraldi
385f7da77f allow custom cflags on llvm makefile 2020-03-03 11:07:41 +01:00
h1994st
90506479e7 Refactoring fuzz_py API 2020-03-02 21:30:10 -05:00
h1994st
b2a2b0fc21 Add initialization funcation wrapper for Python mutator 2020-03-02 19:30:05 -05:00
h1994st
7862416844 Uniform API for both Python and custom mutator 2020-03-02 19:29:41 -05:00
h1994st
031946136b Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus 2020-03-02 15:27:31 -05:00
h1994st
7b59e05600 Add new APIs for the custom mutator 2020-03-02 15:27:29 -05:00
Dominik Maier
f6050ab804 Silenced output of if python not found 2020-03-02 16:12:12 +01:00
Dominik Maier
43e97a5aa2 Autoresume added to help 2020-03-02 16:10:08 +01:00
van Hauser
f0cf9c2cdf make afl-showmap quiet when called from afl-cmin* 2020-03-01 22:30:38 +01:00
Dominik Maier
3e0a3ec45f migrated autoresume to use get_afl_env 2020-03-01 14:09:21 +01:00
Dominik Maier
6865cd8d69 Added AFL_AUTORESUME option 2020-03-01 13:47:33 +01:00
Andrea Fioraldi
59b80cb01e fix #218 for GCC plugin 2020-03-01 11:51:15 +01:00