lazymio
eb06d4a757
Default to use SIMD acceleration map feedbacks ( #3157 )
...
* Feature renam and clean urls
* Fix features renaming
* wip: working libafl_bolts simd
* initial default SimdMapFeedback implementation
* clippy
* fix imports
* clippy again
* fmt
* also generalize simplify_map
* clippy again
* fix no_std
* fmt
* fix import for no-std
* fmt
* fixes
* Fix fuzzers
* Fix cargo docs
* better bounds
* fmt
* Fix fuzzer
* Accidentally commit the file
2025-04-14 12:29:51 +02:00
lazymio
bfc55c98a7
Enable SIMD acceleration for stable rust toolchain ( #3140 )
...
* initial support
* migrate SAND
* Update comments
* Fmt
* Clippy
* Fix missing docs
* fmt fix
* clippy again
* weird clippy
* clippy
* Fix
* Allow new SIMDMapFeedback
* Fix features
* Fix features again
* Allow custom names
* Fix imports
* Fix imports
* Fmt
* Fix missing implementations
* Requires std to simd
* DO NOT Overwrite names
* Format toml
* no_std fix
* fmt
* Use SIMDMapFeedback for libfuzzer_libpng
* no_std (?)
* clippy
* fix no_alloc
* allow cargo docs to enable all features
* clippy again
* Fix missing import
* Fix cargo docs
* Naive simplify_map doesn't require wide
* Accidentally commit the file
* more fine grined features
* Fix clippy.ps1
* Fix wide256 for simplify_map
* Renaming to SimdMapFeedback
* Dynamic dispatch
* Fix naming
* Move to simd.rs
* clippy
* clippy
* dispatch earlier
* Fix clippy
* clippy
* clippy
* Revert previous change
* Fix comments
* Update comments for std_covmap_is_interesting
* remove SIMD and choose fastest implementation based on target_arch
* no longer nightly imports
* Fix
* upstream benchmark code
* Fix docs
* Fix libfuzzer_libpng
* Disable clippy for benchmark
* clippy
* clippy again
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2025-04-08 19:08:16 +02:00
Dominik Maier
ce5fd435ea
Move all unnecessary std uses to core,alloc ( #3027 )
...
* Move all unnecessary std uses to core,alloc
* More
* more fix
* more
* more
* Remove libafl-fuzz grimoire
* more
* more
* more cleanup
* remove bins
* fix
* more fix
2025-02-27 14:32:37 +01:00
Dominik Maier
c7207dceb0
Rust 2024 edition ( #3022 )
...
* Rust 2024 edition
* gen = generalized
* Fixes
* more fix
* More fix
* even more fix
* fix libfuzzer
* ignore clippy lint
* even more
* fix docs?
* more?
* More pub more better
* win
* docs
* more
* More
* doc stuff?
* counter_maps->counters_maps
* libafl qemu fixes for rust 2024
* fix?
* fmt
* unsafe lint
* final fixes
* fmt
* working?
* not working
* unused import
* win?
* update libafl qemu hash
* fmt
* fix
* unused imports
* fix
* fix
* more foix
* less edition
* fix
---------
Co-authored-by: Romain Malmain <romain.malmain@pm.me>
2025-02-27 00:12:29 +01:00
Dongjia "toka" Zhang
d8df9b4910
Fix Clippy ( #2913 )
...
* clp
* lol
* this is false positive
* a
* clippy all
* aa
2025-01-30 11:17:01 +01:00
Romain Malmain
8089b18d34
Remove ShMemProvider bound from struct definitions ( #2861 )
...
* No more ShMemProvider bound constraint in struct definition whenever possible
* Introduce StdShMem
* Update CONTRIBUTING.md
2025-01-20 17:25:55 +01:00
Dominik Maier
cad9e2717e
Remove prelude from default features ( #2608 )
...
* Remove prelude from default features
* Prelude
* something
2024-10-12 13:16:22 +02:00
Aarnav
eff40320eb
Add Stoppable trait to State which exposes an API to stop the fuzzer ( #2325 )
...
* add HasStopNext to State which exposes an API to stop the fuzzer. Stops the fuzzer in fuzz_loop or
fuzz_loop_for when set to true
* fix import
* rename HasStopNext to HasShouldStopFuzzing and stop_next to should_stop_fuzzing
* added HasShouldStopFuzzing trait constraint for libafl_libfuzzer_runtime fuzzer
* rename HasShouldStopFuzzing to Stoppable and add it as a type constraint in libafl_libfuzzer report.rs
* rename should_stop_fuzzing -> should_stop
* introduce Event::Stop
* fix prelude import
* Call send_exiting when processing Event::Stop in restartable managers
* fix clippy
* introduce on_shutdown function in EventProcessor, a function to exit
without saving state gracefully. In contrast with on_restart.
* call manager.on_shutdown when stopping in fuzz_loop due to state.should_stop
* Add missing on_shutdown implementations
Check after every stage in Stages::perform_all if should exit and do so.
* remove specialization
* fix doc
* introduce EventProcessor constraint in libafl_libfuzzer_runtime
run clippy in libafl_libfuzzer_runtime
* fix CentralizedEventManager's on_shutdown not calling inner.on_shutdown
* fix bugs in CentralizedLauncher that wouldn't allow children to terminate properly
* don't call send_exiting when processing Event::Stop since it will be called when calling on_shutdown anyways
* clippy
* add set_exit_after so broker does not need to inner_mut to set exit_cleanly_after
* return Cow<str> from Event::name_detailed instead of a String
* fix missing import in libafl_libfuzzer_runtime
* add initate_stop and reset_stop to Stoppable trait to superceed should_stop_mut
* clippy
* typo
* rename initate_stop to request_stop, should_stop to stop_requested and reset_stop to discard_stop_request
* fix missing import
* windows clippy fix
* fix broker typo
2024-07-02 17:45:20 +02:00
Romain Malmain
fa17f47115
Tree-shaped multi-machine fuzzing ( #2302 )
...
* tree-shaped multi-machine fuzzing
* forgot main file
* aaa
* moving things around
* fix
* working?
* remove debug panic
* aaa
* aaa
* fmt
* normal centralized adapted
* removed old useless code
* cleanup
* llmp hooks
* working multi machine apparently?
* aaa
* cleanup (#2305 )
* added old message dispatch.
thread safety stuff
* testing things around
* opti opti opti
* :)
* fuzz
* limit the amound received at once to avoid congestion
* remove useless corpus
mv to sqlite
less warnings
* aaa
* ;
* big opti
* adding cfgs
* fix
* fixer
* fix
* s
* clippy and reduce generics
* debugging
* fix
* more robust disconnection
* aaa
* aaa
* aaa
* nostd
* more nostd
* clippy
* not in ci
* unused
* aaa
* doc
* clippy
* clippy
* clippy
* no crash in libpng
* aaa
* aaa
* aaa
* aaa
* graph generator
* fix
* fix
* windows fix all
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2024-06-17 23:23:01 +02:00
Dongjia "toka" Zhang
2cc33464fa
Cleanup for #2280 ( #2286 )
...
* cleanup
* ppppp
* a
* b
2024-06-07 14:56:14 +02:00
Romain Malmain
af12b4ba24
LLmp hooks ( #2280 )
...
* llmp hooks
* separate llmp broker from inner state to allow doing more stuff
2024-06-06 16:07:55 +02:00
Dongjia "toka" Zhang
98d3dfe821
Replace LLMP client timeout with client deregistration ( #1982 )
...
* wip
* done
* fix
* fix
* some fixes
* stuff
* fmt
* stuff
* use
* not 1337
* comment
* move functions around
* fix
* fix
* doc
* mistake
* aa
* fixer
* wipe out restarter id
* denig
* fix
* fix
* include
* fix
* fix
* fix
* clp
* fix
* fix
* error log
2024-04-04 21:01:11 +02: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
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
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
Dominik Maier
b45985c76b
Less pub in LLMP ( #1470 )
...
* Less pub in LLMP
* add mut to docstring
* fix eample
2023-08-28 13:18:58 +02:00
Dominik Maier
e9e9c457d6
Move Bolts to libafl_bolts
( #1335 )
...
* sort memebers
* Building bolts
* fixing python, feature flags
* Cleanup bolts Cargo.toml
* Fix tests
* cleanup libafl
* removed duplicate examples
* Info text
* reenable agpl CI
* fix impl_serdeany
* new fmt
* Moved bolts
* fix some builds
* fix
* fix more fixes
* serdeany
* no_std
* Dependency cleanup
* Fix docs
* Docker
* add python bolts bindings
* no_std test fix
* merge fail
* typo fix
* add bolts dependency to fuzzers
* tiny fixes
* merge fun
* clippy
* link no longer exists
* make sure python gets rebuilt
* fix pybind
* doc fix
* remove bolts ref
* LibAFL bolts
* More info
* deprecation notice for launcher
* fix python
* cargo fmt
* fix concolic
* fix
* clippy
* fix libafl_cc
* fix tutorial, clippy
* fix concolic fuzzer
* fix push_stage_harness fuzzer
* prelude
* fix testcase post-merge
* mute clippy
2023-08-02 17:36:26 +02:00