about summary refs log tree commit diff
path: root/src/afl-fuzz-python.c
diff options
context:
space:
mode:
authorSonic <50692172+SonicStark@users.noreply.github.com>2024-01-04 21:35:25 +0800
committerGitHub <noreply@github.com>2024-01-04 13:35:25 +0000
commitaad9ac2b33cc05dc4bc11a3763386c4eb8d5672b (patch)
tree7b263209cb00dad5ef705139b60a38d36bc49cea /src/afl-fuzz-python.c
parent0aeee03e471c654e5a6434a29aeb1c27440a7198 (diff)
downloadafl++-aad9ac2b33cc05dc4bc11a3763386c4eb8d5672b.tar.gz
Output afl-clang-fast stuffs only if necessary (#1912)
* afl-cc header

* afl-cc common declarations

 - Add afl-cc-state.c
 - Strip includes, find_object, debug/be_quiet/have_*/callname setting from afl-cc.c
 - Use debugf_args in main
 - Modify execvp stuffs to fit new aflcc struct

* afl-cc show usage

* afl-cc mode selecting

1. compiler_mode by callname in argv[0]
2. compiler_mode by env "AFL_CC_COMPILER"
3. compiler_mode/instrument_mode by command line options "--afl-..."
4. instrument_mode/compiler_mode by various env vars including "AFL_LLVM_INSTRUMENT"
5. final checking steps
6. print "... - mode: %s-%s\n"
7. determine real argv[0] according to compiler_mode

* afl-cc macro defs

* afl-cc linking behaviors

* afl-cc fsanitize behaviors

* afl-cc misc

* afl-cc body update

* afl-cc all-in-one

formated with custom-format.py

* nits

---------

Co-authored-by: vanhauser-thc <vh@thc.org>
Diffstat (limited to 'src/afl-fuzz-python.c')
0 files changed, 0 insertions, 0 deletions