Dominik Maier
b7efe8eb7d
Implement MutatorTuple for Vecs to allow Dynamic Mutator Choices ( #1893 )
...
* Implement MutatorTuple for Vecs to allow Dynamic Mutator Choices
* fix test
* clippy
* Move into_vec to extra trait
* fix no_std
* more nostd
* no_std
2024-03-04 22:48:38 +01:00
Addison Crump
f3c37db2b7
TransferFeedback for determining if a testcase was from another node ( #1906 )
...
* impl TransferFeedback
* whoops, fix build
* fix doc
* fix build for tcp manager
* fix fr
2024-03-04 15:33:46 +01:00
Addison Crump
035c01b4a1
update libfuzzer docs about macos ( #1903 )
2024-03-01 18:26:22 +01:00
Dongjia "toka" Zhang
1a41e65a5b
Sancov based ngram & ctx implementation ( #1864 )
...
* ngram
* ctx
* push stuff
* passing cargo check
* save stuf
* add
* no default
* fuzzbench ready
* formatt
* aaaaaaaa
* adaptive map
* add all
* chg
* fix
* deleting stuff
* fmt
* clang18
* fuck
* save space
* fix?
* feature name
* fucking nightly only
* harness
* fix libafl_cc
---------
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2024-03-01 13:59:13 +01:00
Addison Crump
8c773a6b85
Implement RetryProgress
for limiting retry attempts in stages ( #1890 )
...
* do that again but smarter
* remember to register
* appease the clippy
* cleanup
* autofix clippy
* more clippy fixes
* more clippy...
* small clippy fix
* with_tries => with_retries
* most recent suggestions
* final clippy... hopefully
2024-02-28 14:12:28 +01:00
Addison Crump
7a4fb06d02
make nopstate public so that it can be used as reproducer ( #1888 )
2024-02-27 16:48:08 +01:00
Dongjia "toka" Zhang
1dcfe8ef56
Make the map size larger for some of the example fuzzers ( #1879 )
2024-02-23 17:19:00 +01:00
Dongjia "toka" Zhang
19f5081bd8
Add several warnings when starting forkserver ( #1877 )
2024-02-22 14:58:51 +01:00
Dongjia "toka" Zhang
b97598d239
Windows fix ( #1876 )
...
* win fix
* just some ci
* test
* revert
* aaaaa
* bbbbbb
2024-02-22 14:56:30 +01:00
Dongjia "toka" Zhang
2bfe91e4bd
Fix a corner case where bitmap_size = 0 leads to panic ( #1875 )
2024-02-19 22:42:44 +01:00
Dominik Maier
263af87652
Less useless allocs for monitor display ( #1874 )
...
* Less useless allocs for monitor display
* More less String
* Lol who needs generics
* clippy
* remove &String
2024-02-19 21:15:11 +01:00
w1tcher
f48e281be8
Fix TuiUI deadlock under multi-threading ( #1871 )
...
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2024-02-19 17:20:08 +01:00
sadeli413
ef16e645b7
Support raw byte grammar in NautilusContext ( #1868 )
...
* Support raw byte grammar in NautilusContext
* Add `use` statement in doc comment
2024-02-19 16:46:28 +01:00
Dominik Maier
fafe8f5ce8
Fixing clippy some more ( #1872 )
...
* Fixing clippy some more
* more commit
* Git gud
* remove more useless imports
2024-02-19 16:46:06 +01:00
Dominik Maier
578a22a3d9
Revert "Companion patch to qemu-libafl-bridge #46 ( #1830 )" ( #1865 )
...
This reverts commit b999b4aac591818d4342773ff48e98f2896f141e.
2024-02-16 20:50:18 +01:00
Sameer Puri
50892ddc75
Finalize macOS support for libafl_libfuzzer ( #1843 )
...
* libafl_targets: on macOS, do not provide a default implementation for weak functions
* libafl_libfuzzer: update README to talk about macOS specifics
* libafl_targets: allow __sanitizer_cov_pcs_init to be called more than once
---------
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2024-02-15 22:45:15 +01:00
Dominik Maier
0a995f241c
Cleanup Pointer Clippy Lints ( #1861 )
...
* Fix pointer clippy lints
* More clippy
* fix build
* fix
2024-02-15 16:31:18 +01:00
cube0x8
b999b4aac5
Companion patch to qemu-libafl-bridge #46 ( #1830 )
...
* fixing qemu-libafl-bridge #46
* cargo fmt
* updated QEMU revision
---------
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2024-02-15 16:30:05 +01:00
Rubens Brandão
97a83aba3b
feature(libqasan): add strndup ( #1860 )
...
* feature(libqasan): add asprintf and vasprintf
* feature(libqasan): add asprintf and vasprintf to hotpatch
* feature(libqasan): add strndup
2024-02-15 16:13:46 +01:00
Rubens Brandão
d6d6a23f69
feature(libqasan): add asprintf and vasprintf ( #1844 )
...
* feature(libqasan): add asprintf and vasprintf
* feature(libqasan): add asprintf and vasprintf to hotpatch
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2024-02-15 13:56:35 +01:00
Romain Malmain
5151f1e35c
fix qemu linking error. ( #1846 )
...
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2024-02-15 00:29:33 +01:00
Dongjia "toka" Zhang
49ad380068
fix ( #1859 )
2024-02-14 23:28:20 +01:00
Dongjia "toka" Zhang
db88412738
Make cmp_extend_encoding panic-less ( #1857 )
...
* Add a panic check for aflpp
* aa
---------
Co-authored-by: novafacing <rowanbhart@gmail.com>
2024-02-14 11:46:09 +01:00
mkravchik
c837d0df7a
Pr/xxh3 rrmxmx mixer fix ( #1828 )
...
* Fixing the mixer according to the xxHash implementation
* Using Rust xxhash-rust instead of handwritten implementation
* Fixing the mixer according to the xxHash implementation - linking directly, not relying on bolts option
* clippy+fmt
* Removing rotation, as it causes issues
* Not using xxhash directly, relying on bolts
* Fmt
2024-02-14 11:45:47 +01:00
tbethe
b9650045f6
Getter for mutable reference to forkserver ( #1849 )
...
* Getter for mutable reference to forkserver
* Whoops
---------
Co-authored-by: Timme Bethe <git@timmebethe.nl>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2024-02-13 16:10:26 +01:00
Dongjia "toka" Zhang
cefb73861f
Fix token mutation crash ( #1855 )
...
* clippy
* token mutation fix
2024-02-13 16:10:02 +01:00
Dongjia "toka" Zhang
973c4358e6
clippy ( #1851 )
2024-02-13 13:19:00 +01:00
RobertBuhren
af97033d85
Fix x86_32 build: Don't build functions using uint128_t data type on x86_32 ( #1854 )
2024-02-13 12:49:52 +01:00
Dominik Maier
dede78159c
Remove unused shmem structs, update Nix ( #1845 )
...
* Remove unused shmem structs
* More unused stuff
* Unified crate versions, updated docker rust version
* clean up nix 27 mess?
* Windows?
* Fix frida
* Fix frida
* fix fuzzers with nix
2024-02-11 17:45:09 +01:00
Niklas Gögge
15c98de52f
fuzzers: Fix qemu_launcher zlib include path ( #1841 )
2024-02-08 13:08:36 +01:00
Rubens Brandão
40c8645ed3
Fix libafl_qemu libqasan Makefile ( #1835 )
...
* fix libafl_qemu libqasan Makefile
* remove make clean from libafl_qemu libqasan build
---------
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2024-02-07 15:36:36 +01:00
Andrea Fioraldi
41d24ca375
Fix broken closure hooks in libafl_qemu ( #1839 )
...
* Fix broken crash hook
* fix hooks
* clippy
* pin
2024-02-07 15:03:27 +01:00
Romain Malmain
9b82af4539
Configurable LLMP client timeout ( #1838 )
...
* LLMP client timeout is now configurable.
* fix example.
* Fix for no-std case.
Make default timeout private.
* Fix import.
2024-02-06 18:35:27 +01:00
Addison Crump
c3473e5631
use truncate, not pop ( #1837 )
2024-02-05 20:48:17 +01:00
Addison Crump
054d0a6b19
OptionalStage is a nested stage, fix stage ID handling ( #1836 )
2024-02-05 17:51:01 +01:00
Dominik Maier
7d9559b570
Fix Benches ( #1833 )
2024-02-05 17:19:23 +01:00
Romain Malmain
99a70e5771
Update qemu-libafl-bridge with upstream. ( #1829 )
...
QEMU update to v8.2.1
2024-02-05 14:24:02 +01:00
Rubens Brandão
241b93036e
Fix libafl_qemu hooks references ( #1825 )
...
* fix libafl_qemu hooks references
* restrict the fatptr transmutation
2024-02-02 21:52:58 +01:00
Nereuxofficial
5c18dca792
Fixed Link in baby_fuzzer_nautilus ( #1824 )
2024-02-01 12:07:13 +01:00
Rubens Brandão
c96d103b37
HookId trait and types in libafl_qemu ( #1796 )
...
* libafl_qemu fix remove_hook
* libafl_qemu specialize hooks into separated types
* libafl_qemu generalize HookState to allow any HookId implementation
* fmt: external C qemu hook functions
---------
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2024-02-01 10:55:55 +01:00
Sameer Puri
13dd1cc4ec
libafl_libfuzzer: macOS build support ( #1711 )
...
* libafl_libfuzzer: macOS support
* make clippy happy
---------
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2024-01-31 02:41:08 +01:00
Dongjia "toka" Zhang
a4f753b0f0
Merge TimeoutForkserverExecutor into ForkserverExecutor ( #1819 )
...
* delete timeout forkserver
* clippies
* name
---------
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2024-01-30 17:34:39 +01:00
Karthik Prakash
519ea435ed
LibAFL_libFuzzer: Default ignore_*
flags to true when tui=1
( #1820 )
...
* default `ignore_*` flags to true if `tui=1`
* update docs
* refactor code to use `Option<bool>` instead of extra struct members
2024-01-30 16:25:59 +01:00
Dominik Maier
8b0068e39d
Fix Clippy ( #1822 )
2024-01-30 16:25:10 +01:00
Dominik Maier
244c6b0da5
QEMU: Fix injections build for hexagon, disable on system mode ( #1821 )
...
* Fix CI for Clippy, QEMU
* Clippy, fixes for system mode
* clippy
* clippy
* fixing new clippy
2024-01-30 04:25:14 +01:00
Karthik Prakash
07f9a9d06a
Remove create_serde_registry_for_trait
macro ( #1815 )
...
* remove `create_serde_registry_for_trait` macro
* fix `clippy` errors
* fix formatting
2024-01-28 17:51:50 +01:00
Dominik Maier
e7df233dc1
QEMU: add injections mode default ( #1818 )
2024-01-28 17:12:20 +01:00
Marco Vanotti
e6184936ce
Expose PCs table to map coverage bitmap entries to the corresponding code ( #1812 )
...
This table allows users to map between coverage bitmap entries and the
corresponding code in memory.
2024-01-25 16:51:13 +01:00
Rubens Brandão
59945fbcc9
Fix typo on qemu_launcher options help message ( #1816 )
2024-01-25 13:50:20 +01:00
Harrison Green
e117b7199c
Allow testcase removal during fuzz loop ( #1717 )
2024-01-24 17:56:24 +01:00