Files
AFLplusplus/src
Sonic aad9ac2b33 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>
2024-01-04 13:35:25 +00:00
..
2023-11-06 10:02:53 +01:00
fix
2023-12-10 14:07:25 +01:00
2023-03-26 12:14:35 +02:00
2023-11-07 10:31:09 +01:00
2023-11-24 11:06:06 -07:00
2023-11-27 09:58:03 -07:00
2023-11-27 09:58:03 -07:00
2023-09-11 14:56:34 +02:00
nit
2023-11-28 16:32:36 +01:00
2023-11-28 09:14:29 +01:00
2023-12-30 10:49:00 +01:00
2023-02-23 11:22:40 +01:00
2023-10-02 14:41:47 +02:00
2023-01-03 09:38:07 +01:00
2022-01-20 20:48:09 +01:00

Source Folder

Quick explanation about the files here:

  • afl-analyze.c - afl-analyze binary tool
  • afl-as.c - afl-as binary tool
  • afl-cc.c - afl-cc binary tool
  • afl-common.c - common functions, used by afl-analyze, afl-fuzz, afl-showmap and afl-tmin
  • afl-forkserver.c - forkserver implementation, used by afl-fuzz afl-showmap, afl-tmin
  • afl-fuzz-bitmap.c - afl-fuzz bitmap handling
  • afl-fuzz.c - afl-fuzz binary tool (just main() and usage())
  • afl-fuzz-cmplog.c - afl-fuzz cmplog functions
  • afl-fuzz-extras.c - afl-fuzz the extra function calls
  • afl-fuzz-init.c - afl-fuzz initialization
  • afl-fuzz-misc.c - afl-fuzz misc functions
  • afl-fuzz-mutators.c - afl-fuzz custom mutator and python support
  • afl-fuzz-one.c - afl-fuzz fuzzer_one big loop, this is where the mutation is happening
  • afl-fuzz-performance.c - hash64 and rand functions
  • afl-fuzz-python.c - afl-fuzz the python mutator extension
  • afl-fuzz-queue.c - afl-fuzz handling the queue
  • afl-fuzz-redqueen.c - afl-fuzz redqueen implementation
  • afl-fuzz-run.c - afl-fuzz running the target
  • afl-fuzz-state.c - afl-fuzz state and globals
  • afl-fuzz-stats.c - afl-fuzz writing the statistics file
  • afl-gotcpu.c - afl-gotcpu binary tool
  • afl-ld-lto.c - LTO linker helper
  • afl-sharedmem.c - sharedmem implementation, used by afl-fuzz, afl-showmap, afl-tmin
  • afl-showmap.c - afl-showmap binary tool
  • afl-tmin.c - afl-tmin binary tool