Dongjia "toka" Zhang
6b94db2260
Use OwnedPtr in ListObserver ( #1961 )
...
* aaa
* clp
2024-03-21 19:46:42 +01:00
Dongjia "toka" Zhang
15f4613894
More usable ListFeedback ( #1959 )
...
* real list feedback
* add
* fox
* obs
* fix
* FMT
* more
* fmt
* rev
2024-03-21 16:21:15 +01:00
Dominik Maier
7abc26ebc9
Change AnyMap API, add unsafe_ assert ( #1958 )
...
* Change AnyMap API, add unsafe_ assert
* clippy
* Add anymap serialize test
* Add test
* fmt
2024-03-20 14:45:23 +01:00
Dongjia "toka" Zhang
0f26f6ea32
Remove useless feedback ( #1953 )
...
* stuff
* FMT
* remove stuff
2024-03-18 16:41:43 +01:00
Dominik Maier
a0143d02a6
Rename OSError -> OsError and merge with redundant Error::File ( #1944 )
...
* OSError -> OsError
* Move File errors to io Errors
* Removing File errors
* fixes :)
* More format
* fix libfuzzer runtime
2024-03-18 08:46:48 +01:00
Dongjia "toka" Zhang
44a37da680
Use const_assert not assert ( #1949 )
...
* stuff
* FMT
2024-03-16 03:33:20 +01:00
Dongjia "toka" Zhang
34b4a6ac1d
Better error message instead of "No entries in corpus"
2024-03-15 19:19:55 +01:00
Dongjia "toka" Zhang
c6875b8cf6
Fix self.iterations underflow ( #1942 )
...
* fix
* fix
* FMT
2024-03-15 19:13:58 +01:00
Dongjia "toka" Zhang
e30ff57456
Update exec counts in objective ( #1945 )
...
* fix
* fix
* update exec count
2024-03-15 18:52:53 +01:00
Dongjia "toka" Zhang
5cc0180835
Fix self.restart_helper.execs_since_progress_start in calibration stage ( #1943 )
...
* fix
* fix
2024-03-15 18:31:44 +01:00
Dongjia "toka" Zhang
ee6385c25b
Fire events in append_metadata not in is_interesting ( #1936 )
...
* stuff
* ok
* Recalc filled slightly differently... (#1939 )
* Recalc filled slightly differently...
* Make requested changes as per PR review
* unused
* fix
---------
Co-authored-by: Dan Blackwell <danblackwell95@yahoo.co.uk>
2024-03-15 13:24:26 +01:00
Dominik Maier
04d87ccc89
Remove (almost) unused stage_idx ( #1929 )
...
* Remove (almost) unused stage_idx
* Fix text-based test
* fixed critical whitespace
* clippy
* more fmt
* fix push stage
2024-03-14 13:14:57 +01:00
Dongjia "toka" Zhang
afa2965f3c
Remove some arguments from pre_exec/post_exec in ExecutorHook ( #1933 )
...
* refactor
* no std, fmt
* win mac
* state
* frida
* ctx
* trait bound
* clip
2024-03-13 18:49:09 +01:00
Dominik Maier
4f3d9d2e50
Tiny optimization for into_vec ( #1931 )
...
* Tiny optimization for into_vec
* fix bug
2024-03-13 16:52:15 +01:00
Dongjia "toka" Zhang
44aec56f7e
remove more args ( #1934 )
2024-03-13 16:17:46 +01:00
Dominik Maier
2763d945a3
Cleanup last redundant corpus_idx usages ( #1930 )
...
* Cleanup last redundant corpus_idx usages
* More cleanup
2024-03-13 01:24:11 +01:00
Dongjia "toka" Zhang
5f67b9fbc4
Event Manager handle_in_client hooks ( #1916 )
...
* event manager hooks
* tcp
* fix
* FMT
* fix
* fix
2024-03-12 14:39:16 +01:00
Dominik Maier
dd410c590a
Allow dyn in StagesTuple, add Current Testcase API, Untraitify Progress ( #1915 )
...
* Move into_vec to extra trait
* fix no_std
* First step towards stages tuples as vecs
* Allow dyn in StagesTuple, add Current Testcase API, un-traitify Progress, cleanups
* Move from generics to impl keyword, more replacements with better API
* rename fn
* Fix additional stages, more cleanup, rename progress to retries
* Fix more fixes
* Fixes
* Rename ProgressHelper -> RestartHelper
* Fix sugar, python, add perform_restartable
* fixes
* remove prelude bs
* rename to restart_progress_should_run
* more cleanup, remove tests I don't understand (sorry)
* fix docs
* more fix
* fix miri
* unsafe safety annotations
* more comments
* last docs
* Mixed_attributes only allowed for bindgen
2024-03-12 00:58:07 +01:00
Aarnav
d6fe67c3c8
Introduce multicore loading for the initial seed corpus ( #1905 )
...
* introduce multicore load initial corpus
* update fuzzers/libfuzzer_libpng_norestart to use multicore corpus loading
* run clippy
* use CoreId and Cores in state if std
* misc. typos
* adapt multicore load initial inputs to allow resumable corpus loading
in case of crashes or timeouts during corpus loading.
* add std feature flag to multicore_inputs_processed
* fix doc comment
* run fmt for example fuzzer
---------
Co-authored-by: aarnav <aarnav@srlabs.de>
Co-authored-by: Romain Malmain <romain.malmain@pm.me>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2024-03-08 02:56:08 +01:00
Dongjia "toka" Zhang
1b9f4ea29c
Fix batched timeout ( #1920 )
...
* fix ptr
* fix ptr
* fix
* One less windows warning
* One less windows warning
2024-03-07 23:52:56 +01:00
Romain Malmain
781e830923
fix cast to c_void of the wrong object. ( #1921 )
2024-03-07 21:28:28 +01:00
Mrmaxmeier
6747a7dc2f
token mutations: avoid a few infallible unwraps ( #1919 )
2024-03-07 18:26:59 +01:00
Dongjia "toka" Zhang
969aa12c7e
aa ( #1913 )
2024-03-06 19:05:32 +01:00
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
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
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
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
19f5081bd8
Add several warnings when starting forkserver ( #1877 )
2024-02-22 14:58:51 +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
0a995f241c
Cleanup Pointer Clippy Lints ( #1861 )
...
* Fix pointer clippy lints
* More clippy
* fix build
* fix
2024-02-15 16:31:18 +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
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
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
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