about summary refs log tree commit diff
AgeCommit message (Collapse)Author
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-02lower mem usage attemptvanhauser-thc
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
2024-07-01Merge pull request #2141 from AFLplusplus/devvan Hauser
push to stable
2024-07-01changelogvanhauser-thc
2024-07-01Merge pull request #2140 from CowBoy4mH3LL/devvan Hauser
Adding of QEMU hooking bridge
2024-07-01Fresh commit with all -- post revertion due to unicornafl updateSubhojeet Mukherjee, PhD
2024-06-30ijon set: discard source code instrumentationGiovanni Di Santi
2024-06-29ijon set: remove gdb_historyGiovanni Di Santi
2024-06-29ijon set: initGiovanni Di Santi
2024-06-29update qemuaflvanhauser-thc
2024-06-29add AFL_OLD_FORKSERVER featurevanhauser-thc
2024-06-29todovanhauser-thc
2024-06-29update qemu modevanhauser-thc
2024-06-28code formatvanhauser-thc