Addison Crump
86cb187ef1
Add arg for profile in build.sh ( #1680 )
2023-11-21 04:15:53 +01:00
Addison Crump
281524dbf9
Unicode-preserving mutators ( #1542 )
...
* create the string classification stage
* modify API to pre-group
* preserving mutator
* more meaningful test
* subproperty mutators + some fixes
* document, finalise, integrate with libafl_libfuzzer
* add example, fix for weird range select
* fix for introspection
* fix fuzzer build
* speed optimisation: allow, but do not require, stacking
* property => category
* token replacement
* fixup: rare case where rust does not agree on valid character
* fix CI again
* again again
* take two: dynamic unicode discovery
* oops
* fix: last byte is never selected
* opt: bias to smaller unicode categories
* fix test
* opt: precompute regions and fix tests
* cache and allow stacking
* document and update libafl_libfuzzer
* oops, use reverse
* fix bolts clippy error
* fixup part 2
* clippy
* part 2
* clippy warning allow
* clippy complaint
* use alloc not std
---------
Co-authored-by: toka <tokazerkje@outlook.com>
2023-11-21 00:41:16 +01:00
Addison Crump
1e96652ed2
libafl_libfuzzer: rename all symbols and allow mimalloc use ( #1565 )
...
* rename allocator symbols to avoid conflict with mimalloc
* re-add llvm-tools to CI
* rename everything
* fixup clippy lint
* make fuzzer entries more noticeable :)
* rabbit mode
* clippy
2023-11-20 21:55:40 +01:00
Andrea Fioraldi
aa69436b64
Fix i386 QEMU read_function_argument() ( #1677 )
2023-11-20 13:53:29 +01:00
Addison Crump
a278357ed9
Add whole-archive feature to libafl_targets ( #1544 )
...
* maybe fix linkage?
* fix hack CI
* interceptors
* do not call strstr and friends
* format
* whoops
* enforce nightly; fixup linkage by featuring interceptors
* skip libafl_libfuzzer in stable cargo hack check
* oops
* packed_bundled_libs is stablised
2023-11-20 10:38:17 +01:00
David CARLIER
a013ad6085
bolts for haiku update ( #1673 )
...
core_affinity using available_parallelism which also support this
platform. further tests disabling.
2023-11-19 23:58:30 +01:00
s1341
57296a6750
Use Compound configurations in libpng launcher fuzzer ( #1676 )
2023-11-19 11:11:52 +01:00
Andrea Fioraldi
cc1ebb29f7
Add CmpLog routines to LibAFL QEMU and various fixes ( #1664 )
...
* Add CmpLog routines to LibAFL QEMU and various fixes
* format
* fix
* fix read_function_argument
* fix
* multithread
* fix qemu fork
* fix
* clippy
* fix systemmode
* unused imports
2023-11-17 16:59:50 +01:00
Andrea Fioraldi
d606d9f4f6
Avoid lagged receiver in TCP manager ( #1672 )
2023-11-17 14:23:51 +01:00
Andrea Fioraldi
d7825851e9
Fix SimpleRestartingMonitor after restart ( #1669 )
...
* Fix SimpleRestartingMonitor after restart
* a
* a
* a
* a
* a
* a
* a
* a
* a
* ci
---------
Co-authored-by: toka <tokazerkje@outlook.com>
2023-11-16 20:06:27 +01:00
Mark Giraud
0750a6c3ca
refactor: Remove unnecessary Debug trait bounds ( #1667 )
...
* refactor: Remove Debug supertraits
Instead of having the Debug trait as supertrait on several traits, the
Debug trait is now required in bounds in specific implementations that
need this specific trait. This keeps the API cleaner, since users now
don't have to propagate the Debug requirement if they don't need to use
the Debug trait.
* refactor: Reformat code
2023-11-15 20:26:12 +01:00
s1341
b1888e12c9
Support precompiled headers in clang/ar wrappers ( #1668 )
2023-11-15 15:10:03 +01:00
s1341
7acdeacae8
Allow compiling 32bit ( #1666 )
...
* Allow compiling for 32bit
* Fmt
* Clean up minibsod for 32bit
* fmt
2023-11-15 12:43:04 +01:00
Dominik Maier
8c62d339a2
Fix FreeBSD CI by updating freebsd-vm ( #1665 )
2023-11-13 22:51:57 +01:00
Dominik Maier
1138e6a341
Fix CI ( #1662 )
2023-11-10 12:08:29 +01:00
Benjamin Beyret
6300c5f493
Remove debug log ( #1659 )
2023-11-08 15:46:20 +01:00
Dongjia "toka" Zhang
d53503b73e
Fix stb image on windows ( #1657 )
...
* fix
* fix
* HOW DO I ADD FROM:FROM????
* ok
2023-11-08 15:20:35 +01:00
Benjamin Beyret
c97d0fa7fc
Allow MinimizerScheduler to not cleanup metadata after use ( #1658 )
...
* Allow MinimizerScheduler to not cleanup the metadata after use.
* Fix constructor
* cargo fmt and fix docstring.
2023-11-08 12:00:25 +01:00
Nereuxofficial
6089cc21ce
Fixed panic feature in baby_fuzzer example ( #1656 )
...
* Fixed panic feature in baby_fuzzer example
* Fixed typo
2023-11-08 00:14:42 +01:00
Dongjia "toka" Zhang
c9e147de8c
Fix LLVM Pass ( #1654 )
2023-11-06 13:35:10 +01:00
Dominik Maier
8545778780
Revert "Use clang-format-16 ( #1649 )" ( #1650 )
...
This reverts commit 1aede04af75564d4063f91d1c8c1a402760e86f5.
2023-11-04 21:38:36 +01:00
Abc Xyz
65ddfa6acf
drcov_rt: make coverage file names unique ( #1581 )
...
* fix(drcov_rt): coverage files are overwritten if have the same names
Make it unique.
* fix(drcov_rt): use coverage and input as a filename, skip empty covs
2023-11-04 17:54:35 +01:00
Dominik Maier
8a18ee4ece
Add Android Ashmem stub header to libafl_targets forkserver.c ( #1648 )
...
* Add Android Ashmem stub header to libafl_targets forkserver.c
* clang-format
2023-11-04 17:48:02 +01:00
Dongjia "toka" Zhang
1aede04af7
Use clang-format-16 ( #1649 )
2023-11-04 17:45:01 +01:00
David CARLIER
bae24d9072
bolts: haiku, addressing clippy warnings ( #1647 )
2023-11-04 17:03:09 +01:00
Addison Crump
56b37bb4bd
Improve the libafl_libfuzzer corpus ( #1539 )
...
* improved libfuzzer corpus
* use .into() for converting ids to usize
* oops
* fix warning about unused arg
* fix some lingering CI errors
* actually save the last lmao
2023-11-03 17:33:38 +01:00
Addison Crump
fd98eabfbf
clamp last to infinity to handle rare imprecision issues ( #1532 )
2023-11-03 17:32:48 +01:00
David CARLIER
2e980ca08d
bolts: initial haiku support ( #1643 )
2023-11-03 17:18:53 +01:00
Dongjia "toka" Zhang
745326ee26
Add post_run_target for ShadowExecutor ( #1641 )
2023-10-30 19:27:55 +01:00
Anne Borcherding
976d6b2e97
[WithObservers] Call the wrapped observer's post run function ( #1640 )
...
* [WithObservers] Call the wrapped observer's post run function
* fix typo and naming of variable
2023-10-30 17:58:54 +01:00
Azim Muradov
ad33ea086b
Fix typos and crates names formatting in crates.md ( #1639 )
...
* Fix typos and crates formatting in crates.md
* Fix header in crates.md
2023-10-27 11:31:02 +02:00
Dongjia "toka" Zhang
c6c93b5785
aa ( #1638 )
2023-10-25 16:36:20 +02:00
Dongjia "toka" Zhang
fdfa5b2d48
Fix ci ( #1637 )
...
* fix
* Stupid lint 🖕
2023-10-25 16:28:31 +02:00
Dongjia "toka" Zhang
f34bab2486
Fix CI ( #1636 )
2023-10-25 16:10:10 +02:00
Andrea Fioraldi
406e77faa9
QEMU Asan backtrace and report ( #1628 )
...
* wip
* ExtractFirstRefMutType
* Asan report with backtrace
* Print asan reports and fix backtraces in libafl qemu
* print context
* enlarge redzone
* nopstate
* fix
* reproducer
* clippy
* clippy
* Fix android
* Crash hook
2023-10-25 15:58:32 +02:00
Dongjia "toka" Zhang
02cd260af0
Update LibAFL concolic ( #1634 )
...
* concolic upd
* more
* working
* clippy
* rev
* fix
* remove cur_input
* rev
* gitignore
2023-10-22 13:44:01 +02:00
Anne Borcherding
c9403cbd00
fix: use correct trait bound in WithObservers Executor ( #1633 )
2023-10-20 16:32:40 +02:00
cube0x8
0db67dfc9a
updated rust container image + default nightly ( #1631 )
2023-10-19 11:05:39 +02:00
Dongjia "toka" Zhang
0b38fabeb0
CmpLog {Instruction, Switches} pass ( #1612 )
...
* switch and instruction pass copy paste
* FMT
* add cb
* put things in the functions
* fi
* working
* oops
* options
* no 128bit int on windows
* no 128bit on windows
* oops
* unix only
* windows
* PACKED
* let's stop using it, it's ugly
* fmt
* adjust
---------
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-10-14 11:47:16 +02:00
Dongjia "toka" Zhang
77dfc7a26a
Update llvm ver in Dockerfile ( #1629 )
...
* llvm 15
* more
2023-10-13 17:00:12 +02:00
Benjamin Beyret
1b7e1da809
Fix typo in SimpleStdoutLogger comment. ( #1627 )
2023-10-12 17:03:38 +02:00
Dongjia "toka" Zhang
cb9ace52e1
Rename more options ( #1626 )
2023-10-12 12:01:39 +02:00
Andrea Fioraldi
f6ba9de044
Add SplitBorrow trait to split borrow tuple_list elements ( #1624 )
...
* Add SplitBorrow trait to split borrow tuple_list elements
* clippy
2023-10-12 10:16:41 +02:00
Andrea Fioraldi
4c17da00b0
Clipped Fixxy ( #1622 )
...
* clippy fix
* fix
* fix
* it works
* imports
2023-10-11 21:19:30 +02:00
Dongjia "toka" Zhang
67aa5b12c1
Rename option name ( #1623 )
...
* rename
* FMT
2023-10-11 17:38:56 +02:00
Andrea Fioraldi
35e387773c
Format C code ( #1621 )
...
* Add iter() to owned slice
* Format C
2023-10-11 14:19:14 +02:00
Andrea Fioraldi
6986317a03
Add iter() to owned slice ( #1620 )
2023-10-11 14:13:26 +02:00
Andrea Fioraldi
47cd4dfea6
Break on timeout in QEMU system mode ( #1619 )
...
* Break on timeout in QEMU system mode
* fix
* fix
* fix
2023-10-11 14:01:18 +02:00
Andrea Fioraldi
31f4669794
Autodetect llvm-config for QEMU bindings generation ( #1610 )
...
* Autodetect llvm-config for QEMU bindings generation
* fix ci
* Fix signal handlers without ucontext pointer
* ci
2023-10-10 15:26:32 +02:00
Andrea Fioraldi
bbb999f4d5
New logo in the book ( #1618 )
2023-10-09 15:54:04 +02:00