Romain Malmain
3b3e2f6efa
Improve readability of InProcessExecutor-related code ( #1912 )
...
* inital commit.
* clippy
* tests
* clippy
* adapt example
* systemmode.
* renaming
* fmt
* fix lints.
* more lint fix.
* even more lint fixes.
* always more lint fixes.
* lint fix.
* allow unused qualifications for crate when it could be confusing.
* Still lint fixes.
* Lint fixes on generated code.
* Some lint fixes.
* renamed modules as well.
* Separated inner from InProcessExecutor.
* fix
* unused import
* unused import
* fix import
* fix import
2024-03-06 00:30:35 +01:00
Romain Malmain
55a300d508
Make executor state available to the harness V2 ( #1900 )
...
* inital commit.
* clippy
* tests
* clippy
* adapt example
* systemmode.
* renaming
* fmt
* fix lints.
* more lint fix.
* even more lint fixes.
* always more lint fixes.
* lint fix.
* allow unused qualifications for crate when it could be confusing.
* Still lint fixes.
* Lint fixes on generated code.
* Some lint fixes.
* renamed modules as well.
2024-03-05 19:28:46 +01:00
Rayhan Faizel
44b0b0ad82
libafl_targets/src/cmplog.c: Fix warning for deprecated syscall() in macOS ( #1911 )
2024-03-05 19:04:20 +01:00
Dan Blackwell
cd8003ee69
Fix for #1881 , ProbabilitySamplingScheduler seems to be inverted ( #1884 )
...
* Fix for #1881 , ProbabilitySamplingScheduler seems to be inverted
* Run 'cargo +nightly fmt'
* Added debug_assert as negative and infinite probability values would break the current implementation of next()
---------
Co-authored-by: Dan Blackwell <danblackwell@eduroam-int-dhcp-97-192-218.ucl.ac.uk>
Co-authored-by: Dan Blackwell <danblackwell@ML-W0NYVW4XCK.local>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2024-03-05 19:04:13 +01:00
Dongjia "toka" Zhang
e3f837d712
Fix inconsistent settings of client_timeout ( #1897 )
...
* a
* fix client timeout
* revert
* more
* std
* import
* import
* sdt
* FMT
* backtick again
2024-03-05 17:58:44 +01:00
Dongjia "toka" Zhang
1a0e692f33
Print PID when you create a new Llmp Sender. ( #1898 )
...
* aaaa
* FMT
* adding std
2024-03-05 16:02:47 +01:00
Dongjia "toka" Zhang
95bed5b016
Fix the centralize disconnection bug. ( #1896 )
...
* fixing the first bug
* backtick
2024-03-05 15:49:35 +01:00
Romain Malmain
d96a1426d5
Fix lint errors ( #1909 )
...
* fix lints.
* more lint fix.
* even more lint fixes.
* always more lint fixes.
* lint fix.
* allow unused qualifications for crate when it could be confusing.
* Still lint fixes.
* Lint fixes on generated code.
* Some lint fixes.
2024-03-05 14:16:26 +01:00
a045b7bcd6
track api calls and isrs
2024-03-05 09:56:13 +01:00
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
5d9bcba0e6
break on all api functions
2024-02-26 08:40:07 +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
3817892ff1
Fix graph output formatting
2024-02-13 08:28:53 +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
beee8d8cb7
rewrite info dumps as macros
2024-02-08 10:08:25 +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