Age | Commit message (Collapse) | Author |
|
|
|
fix unicorn and unicornafl build script
|
|
|
|
|
|
|
|
|
|
#2182 - Fix Typo in Image Tag `heigh` Attribute in `README.md`
|
|
AFL++ logo to ensure proper display.
|
|
Fix `/bin/sh:` errors when building without LLVM
|
|
To support AFL instrumentation, add default settings of map_size in forkserver.
|
|
Fix syntax error when compiling without zlib
|
|
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.
|
|
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.
|
|
Update local building docs with missing dependencies
|
|
Signed-off-by: TTFISH <jiongchiyu@gmail.com>
|
|
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>
|
|
|
|
Fixed lsan defaults evaluation
|
|
|
|
|
|
|
|
|
|
|
|
push to stable
|
|
|
|
|
|
Fixed AFL_FRIDA_INST_UNSTABLE_COVERAGE_FILE to work for instances that are not named "default"
|
|
|
|
|
|
Fix LLVM mode on MacOS
|
|
|
|
|
|
Fix FASAN operand access on aarch64
|
|
|
|
|
|
|
|
push to stable
|
|
|
|
Fixing change from PR#2152, misspelled variable names
|
|
|
|
This reverts commit 7c380a6612f00e4a7ed02364dc2b3769e8edc8f8.
|
|
|
|
|
|
check the sync_id length once
|
|
|
|
Initialize max_length in afl_fsrv_init #2155
|
|
|
|
Fix missed updates of alias table when INTROSPECTION is on
|
|
Some fixups to the GNUmakefile.llvm
|
|
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`.
|