about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2024-08-07Merge pull request #2181 from tchebb/fix-no-zlibvan Hauser
Fix syntax error when compiling without zlib
2024-08-06Fix syntax error when compiling without zlibThomas Hebb
commit ecb5854be08fa ("add zlib compression for fast resume") added new logic selected at compile-time when zlib is present. Unfortunately, it also broke the existing logic by removing the last line of a multi-line if statement, resulting in a syntax error when zlib isn't present. Restore the line as it was.
2024-08-06Fix "/bin/sh:" errors when building without LLVMThomas Hebb
In GNUmakefile.llvm, several variables are unconditionally populated by expanding $(LLVMVER) and $(LLVM_CONFIG) inside shell commands. However, when LLVM is not present, both those variables are empty, meaning that the shell commands end up malformed and emit harmless, but noisy, errors like this one: /bin/sh: --: invalid option Usage: /bin/sh [GNU long option] [option] ... /bin/sh [GNU long option] [option] script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --pretty-print --rcfile --rpm-requires --restricted --verbose --version Shell options: -ilrsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option /bin/sh: line 1: test: -gt: unary operator expected /bin/sh: line 1: test: -lt: unary operator expected /bin/sh: line 1: test: -ge: unary operator expected /bin/sh: line 1: test: -ge: unary operator expected Fix the problem by only populating the "downstream" variables if the upstream ones have values.
2024-08-06Merge pull request #2179 from fish98/revise_docsvan Hauser
Update local building docs with missing dependencies
2024-08-05remove redundant tracked tmp files during buildingTTFISH
Signed-off-by: TTFISH <jiongchiyu@gmail.com>
2024-08-05update build dependencies for source-only/distribTTFISH
Otherwise the building of nyx_mode, frida_mode, unicorn_mode with source_only/all/distrib flag will fail due to missing dependencies. Signed-off-by: TTFISH <jiongchiyu@gmail.com>
2024-08-05Merge branch 'AFLplusplus:dev' into devYiyi Wang
2024-08-03Merge pull request #2174 from killerra/devvan Hauser
Fixed lsan defaults evaluation
2024-08-02Handle detect_leaks 0 and falsekillerra
2024-08-02lower mem usage attemptvanhauser-thc
2024-07-28Removed bogus free in instrument_coverage_unstable_find_outputkillerra
2024-07-28fixed lasan defaults evaluationkillerra
2024-07-28To support AFL instrumentation, add default settings.Yiyi Wang
2024-07-24Merge pull request #2172 from AFLplusplus/devvan Hauser
push to stable
2024-07-24new cmplog mapvanhauser-thc
2024-07-24fix afl-whatup time calcvanhauser-thc
2024-07-23Merge pull request #2169 from killerra/devvan Hauser
Fixed AFL_FRIDA_INST_UNSTABLE_COVERAGE_FILE to work for instances that are not named "default"
2024-07-23added free for new stringskillerra
2024-07-23Fixed frida unstable coverage for instances not named "default"killerra
2024-07-23Merge pull request #2168 from AFLplusplus/fix_macosvan Hauser
Fix LLVM mode on MacOS
2024-07-23oopsDominik Maier
2024-07-23Fix LLVM mode build on MacOSDominik Maier
2024-07-21Merge pull request #2165 from meowmeowxw/fix-fasan-arm64van Hauser
Fix FASAN operand access on aarch64
2024-07-21frida_mode: fix fasan operand access orderGiovanni Di Santi
2024-07-17mini performance optvanhauser-thc
2024-07-15fix autodictvanhauser-thc
2024-07-14Merge pull request #2158 from AFLplusplus/devvan Hauser
push to stable
2024-07-14code formatvanhauser-thc
2024-07-14Merge pull request #2160 from exoosh/devvan Hauser
Fixing change from PR#2152, misspelled variable names
2024-07-14ensure this does not happen againvanhauser-thc
2024-07-14Revert "Replace gettimeofday with clock_gettime (#2159)"vanhauser-thc
This reverts commit 7c380a6612f00e4a7ed02364dc2b3769e8edc8f8.
2024-07-14Replace gettimeofday with clock_gettime (#2159)carpintero-de-c
2024-07-13Fixing change from PR#2152, misspelled variable namesOliver Schneider
2024-07-12Merge pull request #2157 from trail-of-forks/fix-syncid-lenvan Hauser
check the sync_id length once
2024-07-12check the sync_id length onceWilliam Tan
2024-07-12Merge pull request #2156 from choller/patch-1van Hauser
Initialize max_length in afl_fsrv_init #2155
2024-07-12Initialize max_length in afl_fsrv_init #2155Christian Holler (:decoder)
2024-07-10Merge pull request #2154 from hazohelet/fix-missed-alias-table-recreationvan Hauser
Fix missed updates of alias table when INTROSPECTION is on
2024-07-10Merge pull request #2152 from exoosh/exocad/stablevan Hauser
Some fixups to the GNUmakefile.llvm
2024-07-10Fix missed updates of alias table when INTROSPECTION is onTakuya Shimizu
In src/afl-fuzz.c `prev_queued_items` is used to decide whether the alias table should be recreated through the comparison with `afl->queued_items`. https://github.com/AFLplusplus/AFLplusplus/blob/43f462c91b3699b66e4aa1c5703b30f5189b5618/src/afl-fuzz.c#L3103-L3117 However, this variable is also updated to `afl->queued_items` when INTROSPECTION is enabled and the `fuzz_one` appends seeds. https://github.com/AFLplusplus/AFLplusplus/blob/43f462c91b3699b66e4aa1c5703b30f5189b5618/src/afl-fuzz.c#L3135-L3140 Due to the update of `prev_queued_items` when INTROSPECTION is on, alias table may not be recreated when it actually should be. This can lead to potential heap buffer-overflow in `select_next_queue_entry` due to the lack of `afl_realloc` called in `create_alias_table`. This patch fixes this bug by utilizing another variable for the INTROSPECTION part like other variables such as `prev_saved_tmouts`.
2024-07-10Merge pull request #2138 from meowmeowxw/ijon-setvan Hauser
IJON SET
2024-07-10ijon set: use __afl_coverage_interestingGiovanni Di Santi
2024-07-10Some fixups to the GNUmakefile.llvmOliver Schneider
* rely less on the shell and more on GNU make to parse the versions * fixed retrieval of minor version (for 18.1.8 it gave 8 instead of 1!) * auto-detection of llvm-config within the supported version range * replaced backticks by `$(...)` syntax * tested against `busybox static-sh`, `bash`, `dash` and `csh`
2024-07-08update timeout for custom mutator testsvanhauser-thc
2024-07-08Update sample_all.sh (#2146)Vito
Incorrect shell syntax
2024-07-05Fixed the syntax errors in `unicorn_loader.py` within `unicorn_mode`. (#2144)Chenhao
Replaced a Chinese comma "," with an English comma "," to ensure the code runs correctly.
2024-07-01Merge pull request #2143 from r-barnes/patch-1van Hauser
Make fallthroughs explicit in afl-fuzz-extras.c
2024-07-01Make fallthroughs explicit in afl-fuzz-extras.cRichard Barnes
Using `__attribute__((fallthrough))` makes fallthroughs explicit in a way the compiler can understand. This allows the enablement of `-Wimplicit-fallthrough`.
2024-07-01Merge pull request #2142 from CowBoy4mH3LL/patch-2van Hauser
Update README.md to reflect latest changes
2024-07-01Update README.md to reflect latest changesSubhojeet Mukherjee, PhD
1. fixed hook name length to 16 2. no native debug logging at this time -- will bridge with AFL++ macros latter