about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2023-04-14update qemuafl, info in afl-plotvanhauser-thc
2023-04-14add some sanity checks and remove duplicate nyx_shutdown callsSergej Schumilo
2023-04-14add NYX_REUSE_SNAPSHOT env-var optionSergej Schumilo
2023-04-14switch to latest libnyx APISergej Schumilo
2023-04-14bump libnyx versionSergej Schumilo
2023-04-14bump QEMU-Nyx versionSergej Schumilo
The QEMU-Nyx compile script does not set "--enable-gtk" anymore. So it is no longer necessary to patch the compile_qemu_nyx.sh script manually.
2023-04-14add Nyx support in various tools (like afl-cmin)Sergej Schumilo
2023-04-13libfuzzer driver nitsvanhauser-thc
2023-04-13fix attempt at post_process implementationvanhauser-thc
2023-04-13remove -z option, use -p mmopt insteadvanhauser-thc
2023-04-12make llvm 17 workvanhauser-thc
2023-04-12update lto docvanhauser-thc
2023-04-12nitsvanhauser-thc
2023-04-10Merge pull request #1698 from neuschaefer/nodefervan Hauser
afl-cc: Don't offer __AFL_INIT() etc. in GCC/CLANG modes
2023-04-10Merge pull request #1697 from devnexen/llvm_instr_warning_fixvan Hauser
LLVM instrumentation disable build warning.
2023-04-10afl-cc: Don't offer __AFL_INIT() etc. in GCC/CLANG modesJonathan Neuschäfer
instrumentation/README.persistent_mode.md documents in the section about deferred forkserver initialization: > With the location selected, add this code in the appropriate spot: > > ```c > #ifdef __AFL_HAVE_MANUAL_CONTROL > __AFL_INIT(); > #endif > ``` > > You don't need the #ifdef guards, but including them ensures that the program > will keep working normally when compiled with a tool other than afl-clang-fast/ > afl-clang-lto/afl-gcc-fast. > > Finally, recompile the program with afl-clang-fast/afl-clang-lto/afl-gcc-fast > (afl-gcc or afl-clang will *not* generate a deferred-initialization binary) - > and you should be all set! This strongly implies that you can compile a program that uses __AFL_INIT() under an `#ifdef __AFL_HAVE_MANUAL_CONTROL` guard with afl-gcc/-clang. However, this currently fails: $ cat example.c #include <stdio.h> int main(void) { #ifdef __AFL_HAVE_MANUAL_CONTROL __AFL_INIT(); #endif puts("Hello"); } $ afl-gcc example.c -o example afl-cc++4.06a by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: GCC-GCC [!] WARNING: You are using outdated instrumentation, install LLVM and/or gcc-plugin and use afl-clang-fast/afl-clang-lto/afl-gcc-fast instead! afl-as++4.06a by Michal Zalewski [+] Instrumented 1 locations (64-bit, non-hardened mode, ratio 100%). /usr/bin/ld: /tmp/ccuJHcpt.o: in function `main': /home/jn/dev/fuzz/AFLplusplus/example.c:5: undefined reference to `__afl_manual_init' collect2: error: ld returned 1 exit status The issue here is an inconsistency in afl-gcc (i.e. afl-cc operating in GCC mode): - afl-cc defines __AFL_HAVE_MANUAL_CONTROL and __AFL_INIT unconditionally - __AFL_INIT relies on __afl_manual_init, which is defined in afl-compiler-rt.o - afl-cc doesn't link afl-compiler-rt in GCC or CLANG mode Since afl-gcc/-clang is documented as not supporting deferred forkserver initialization, this patch omits the definitions of __AFL_HAVE_MANUAL_CONTROL and related macros in GCC/CLANG mode. This restores the ability to compile a deferred-forkserver program under afl-gcc, if it can also be compiled under gcc. [ In case someone reads this an feels adventurous enough (as I did) to think about enabling deferred forkserver under afl-gcc: Whether the deferred forkserver actually works can be verified by placing a usleep(100000) or similar at the start of main (before __AFL_INIT()), and watching the execution speed. It doesn't work. ]
2023-04-10LLVM instrumentation disable build warning.David CARLIER
Since clang 16 is the version for Ubuntu 23 04/Fedora 38 and is easy enough to fix..
2023-04-09remove pointer to removed docvanhauser-thc
2023-04-08Merge pull request #1694 from neuschaefer/devvan Hauser
afl-cc: Avoid casts of string literals to char*, in definition of __AFL_INIT() etc.
2023-04-08afl-cc: Avoid casts of string literals to char*, in definition of ↵Jonathan Neuschäfer
__AFL_INIT() etc. With the right -W options, compilers may complain about the cast of string literals (for PERSIST_SIG and DEFER_SIG) to (char*), and they're right to do so, because string literals are constant. Since some projects enable -Werror, this can lead to a broken build with afl-cc. Let's simply cast to (const char *), which preserves the constness of the string literal.
2023-04-08afl-whatsup tputvanhauser-thc
2023-04-08Merge pull request #1693 from hardik05/patch-1van Hauser
display instance name
2023-04-08display instance nameHardik Shah
2023-04-08show custom mutator name in UIvanhauser-thc
2023-04-08hopefully better -z algorithmvanhauser-thc
2023-04-05fixvanhauser-thc
2023-04-05better new weightingvanhauser-thc
2023-04-05add -z switchvanhauser-thc
2023-04-03Merge pull request #1692 from nj00001/devvan Hauser
fix getOperand out of range
2023-04-03fix getOperand out of rangenj00001
This commit fixes a sloppy function call that should normally check the number of insn's Operand before calling insn's getOperand method. The fix is that if it is 0 it should continue the loop. I solved problem https://github.com/AFLplusplus/AFLplusplus/issues/1688#issue-1648543691 using this modification
2023-04-02fix ui layout with slow targets in pizza modevanhauser-thc
2023-04-02allow pizza mode to be disabledvanhauser-thc
2023-04-02fix buffer overflow in pizza mode :(vanhauser-thc
2023-03-31nitsvanhauser-thc
2023-03-30better aflpp drivervanhauser-thc
2023-03-30further magma adaptionvanhauser-thc
2023-03-29magma supportvanhauser-thc
2023-03-29introspectionvanhauser-thc
2023-03-28Merge pull request #1686 from tuliom/minor-fixesvan Hauser
Minor fixes
2023-03-28fix arm64 buildvanhauser-thc
2023-03-28Fix unsupported operands in .custom-format.pyTulio Magno Quites Machado Filho
Python 3.11 complains that int and str are unsupported operand types for operator +.
2023-03-28[afs-as] Allow debugging arguments after the input fileTulio Magno Quites Machado Filho
Clang may call as with extra debugging arguments after the input file, e.g. as --64 -o /tmp/hello-617ff5.o /tmp/hello-6b6f52.s -g -gdwarf-4
2023-03-28Stop using removed pipeline extensionsTulio Magno Quites Machado Filho
LLVM commit 7ae6838defb21737963b1dd8ff9de7e87052c74f removed the following extensions: - PassManagerBuilder::EP_OptimizerLast - PassManagerBuilder::EP_EnabledOnOptLevel0 - PassManagerBuilder::EP_FullLinkTimeOptimizationLast
2023-03-28nitsvanhauser-thc
2023-03-27time_wo_finds in fuzzer_statsvanhauser-thc
2023-03-27Merge pull request #1683 from cdown/cdown/2023-03-26/vervan Hauser
Clarify confusing version message
2023-03-26Clarify confusing version messageChris Down
When running, the following gets printed in quick succession on startup: afl-fuzz++4.00c based on afl by Michal Zalewski and a large online community [...] [+] NOTE: This is v3.x which changes defaults and behaviours - see README.md Don't assert that this is v3, just that v3+ changes defaults and behaviours.
2023-03-26Merge pull request #1682 from AFLplusplus/devvan Hauser
push to stable
2023-03-26fix frida modevanhauser-thc
2023-03-25disable frida in the ci for the moment it is working nowherevanhauser-thc