49de014a31
avoid copy of function names
2025-07-30 12:14:22 +00:00
9bbc5e7c78
Merge branch 'fret_141' into fret_153
2025-07-28 12:03:09 +00:00
aac9cff7bf
remove states from nodes
2025-07-23 06:38:16 +00:00
f262c32f47
update bounds
2025-07-22 12:58:27 +00:00
2dfb5f853d
reduce state space by ignoring lower priorities
2025-07-04 07:37:15 +00:00
fabf746c4c
update scripts
2025-05-28 11:48:39 +00:00
27811aaaca
minor refactoring
2025-05-28 11:46:22 +00:00
Ch4r1l3
9a202acfed
fix fuzzbench cmplog ForkServer builder and rtn_extend_encoding buffer copy overflow ( #3270 )
2025-05-24 18:02:43 +02:00
Andrea Fioraldi
ce63b76558
Update to v0.15.3 ( #3259 )
...
Co-authored-by: Dominik Maier <domenukk@gmail.com>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2025-05-23 22:50:23 +02:00
Dongjia "toka" Zhang
2c262b0597
UPDATE LOCKFILE ( #3267 )
2025-05-23 16:35:30 +02:00
jma
871548c366
Allow passing Qemu object to QemuBytesCoverageSugar ( #3261 )
...
* attempt to return Qemu object as a parameter to QemuBytesCoverageSugar
* apply clippy suggestions from precommit.sh
* python qemu sugar: add option to enable stdout
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2025-05-23 10:22:00 +02:00
WorksButNotTested
1355bd5294
Improve CI ( #3258 )
...
* Improve CI
* Fix markup errors
* Remove unnecessary matrix parameters
* Rename matrix jobs to tidy up the UI
* Allow the docker cache to be updated
* Fix cache name
* Share some caches
* Rename tools
2025-05-22 16:08:35 +02:00
WorksButNotTested
3a62013c85
LibAFL_QEMU: Add redirect stdout module ( #3256 )
...
* Add redirect stdout
* Review changes
2025-05-21 13:26:02 +02:00
3ff617e4a9
update scripts
2025-05-21 08:32:24 +00:00
794b617205
rm README; /dev/null drive
2025-05-21 08:25:13 +00:00
08019ae94f
fix partial eq for refined tcb; remains unused
2025-05-21 08:22:29 +00:00
Rowan Hart
0b25d723c0
Windows Support for LibAFL-LibFuzzer ( #3130 )
...
* Add windows build script and additional changes to support windows for libafl-libfuzzer
* Update build scripts and harness wrapping directives
* Resolve issue with corpus edge count calculation
* Add help message and make fork do nothing on Windows
* Format harness_wrap.cpp
* Clippy happiness pass
* Clippy happiness pass
* Clippy happiness pass
* Correct logic
* Correct logic
* Update help output and make runs argument work
* Add test for libafl_libfuzzer on windows
* Add workflow for libafl_libfuzzer test
* Fix copy without dependent task
* Add libafl_libfuzzer_windows to preflight list
* Format harness
* Explicitly ignore windows fuzzer
* Remove windows-specific copy from unix instructions
* Ensure using nightly
* Fix job name
* Update build to use libFuzzer.lib on Windows to keep consistent with Linux
* Remove nightly requirement
---------
Co-authored-by: Rowan Hart <rowanhart@microsoft.com>
2025-05-21 01:35:48 +02:00
fc68b55749
targets
2025-05-19 12:51:57 +00:00
EvianZhang
0015254071
Use ShMemProvider for forkserver ( #3249 )
...
* Add android CI
* update
* Move together
* Use shmem for forkserver several pointers
* Fix clippy
* Fix
* Make shmem's into_raw private
* Log error message in forkserver
* Fix clippy
* Fix clippy
---------
Co-authored-by: mio <mio@lazym.io>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2025-05-19 12:17:53 +02:00
lazymio
ba93e9d2ea
Add support for AFL_LLVM/GCC_ONLY_FSRV
( #3245 )
...
* Add support for AFL_LLVM/GCC_ONLY_FSRV
* clippy
2025-05-17 13:56:28 +02:00
Dongjia "toka" Zhang
7a9f46b9fb
Remove nightly from CI. ( #3232 )
...
* stable ci
* fixer
* aa
* no -z flag
* doc
* ??
* this one needs
* nightly for some of them ..
* turn off fail fast for now 🥱
* aaa
* afasdfasfas
* mm
* tmate
* linker's fault
* fixer
* f
* dfsafdasfasf
2025-05-16 15:23:44 +02:00
Dominik Maier
8b0fc8ca73
Forkserver: Add __AFL_SHM_FUZZ_MAP_SIZE, clean up env variables ( #3235 )
...
* Clean up env variables, add env for map size
* Bring back lockfiles
* fix
* PAGE_SIZE->MAP_SIZE
2025-05-16 12:15:17 +02:00
d94da1b875
demo build script++
2025-05-15 14:03:28 +00:00
f7804f9b0c
update targets
2025-05-14 09:10:04 +00:00
Dominik Maier
fef129e23c
Conform AFL struct casing to codebase/rust ( #3221 )
...
* Conform AFL struct casing to codebase/rust
* Actually, Aflpp looks better
2025-05-13 17:56:58 +02:00
lazymio
f901c2085d
Support capturing stdout/stderr for ForkserverExecutor and code clean ( #3216 )
...
* Support capture stdout/stderr for ForkserverExecutor
Reduce code duplication for ForkserverExecutor and CommandExecutor
* use memfd_create from nix for macos and remove debug print
* resolve macos issue
* clippy
* fix macos again
* fix docs
* fix imports
* format code
* fix docs again
* fix sample
* fix another wrong import
* restore cargo.lock
* add an inner for target args
* fix and docs
* fix
* rename to ChildArgs and ChildArgsInner
* revert forkserver_simple
* allow debug child with observers
* fmt
* std marker
* fix
* move implementation to observers
* implement serde
* Add a forkserver_capture_stdout
* renaming
* fix
* fmt
* fix CommandExecutor
* add a test to check capture
* fix imports
* clippy
* fix sample
* update sample to make it closer to real usecase
* also CommandExecutor for sample
* format
* add forkserver_capture_stdout to CI
* fix doc
* accidentally remove
* fix non_std
* fix for windows
* remove useless lint
* remove spurious fuzzer
* fix for windows again
* fix imports
* fix doc sample
* fix docs
* fix sample
* fmt
* clippy
* clippy again
* fix msrv
* have cargo.lock for sample fuzzer
* avoid double read
* fix fsrv and cmd
* fix sample
* fix docs for windows
* fix typo
* clippy again
* fix exec
* typo
* clippy
* update
* fix nyx executor
* cliipy
* fmt again
* last clippy
* clippy
2025-05-13 16:08:27 +02:00
12396f7104
plot script fixes
2025-05-13 12:09:58 +00:00
Dominik Maier
24c31943f3
Update libafl-sugar with latest bells and whistles ( #3209 )
...
* Update sugar to new things
* Fixes
* tiny
* fix qemu
* Fix cmplog
* taplo fmt
* Fix cmplog forkserver sugar, clippy
* clip
* clip
2025-05-13 03:06:00 +02:00
a0ab58a6c9
bump STG_MAP_SIZE
2025-05-12 15:45:39 +00:00
c420e5c381
configTASK_NOTIFICATION_ARRAY_ENTRIES=10 + new target
2025-05-12 15:15:17 +00:00
dependabot[bot]
522e00eda0
Bump tokio from 1.44.1 to 1.45.0 in /fuzzers/binary_only/frida_libpng ( #3212 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.44.1 to 1.45.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.45.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.45.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2025-05-12 15:29:14 +02:00
Dongjia "toka" Zhang
390008e1d5
fix qemu launcher bug ( #3206 )
...
* no more shellscript
* metadatas
* clp
* clippo
* fix bug
* taplo
* Merge branch 'qemu_launcher_insane' of github.com:AFLplusplus/LibAFL into qemu_launcher_insane
* fix wrong code
2025-05-12 15:12:20 +02:00
139a637898
WIP: start parsing queues
2025-05-12 10:21:24 +00:00
dependabot[bot]
58bdbd293a
Bump tokio in /fuzzers/binary_only/frida_windows_gdiplus ( #3204 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.44.1 to 1.45.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.45.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.45.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-08 14:44:18 +02:00
Dongjia "toka" Zhang
d8f8640982
Always show user monitor in SimpleMonitor ( #3202 )
...
* *recursion* is not proper
* user monitor on
* api changer
* no submodule anymore
2025-05-07 18:17:58 +02:00
EvianZhang
6dd52722de
Add cmplog shared memory mapping method for forkserver ( #3200 )
2025-05-07 10:44:44 +02:00
EvianZhang
c0e32cdbba
Refactor to new forkserver ( #3183 )
...
* Refactor to new forkserver
* Fix fuzzer examples and delete forkserver.c
* Fix clippy and doc warnings
* Fix symbol error
* Format Cargo.toml; Fix wrong doc link
* Fix silly typo.
* Rename ForkServer to Forkserver to make it more consistent
* Fix build.rs
* Merge StdForkserverParent and PersistentForkserverParent since the forkserver parent has not idea of whether it is persistent and the persistent version can handle the non-persistent version
* Fix clippy
* Do not take ownership for last_child_pid since it may be in persistent mode
2025-05-05 16:45:12 +08:00
dependabot[bot]
d3ddc8edc4
Bump pyo3 in /fuzzers/structure_aware/baby_fuzzer_nautilus ( #3189 )
...
Bumps [pyo3](https://github.com/pyo3/pyo3 ) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/pyo3/pyo3/releases )
- [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pyo3/pyo3/compare/v0.24.0...v0.24.2 )
---
updated-dependencies:
- dependency-name: pyo3
dependency-version: 0.24.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-03 02:37:52 -07:00
Dongjia "toka" Zhang
62d9485f10
Use symlink instead to get the corpus ( #3177 )
...
* a
* add real symlink
* tmate
* corpus
* detmate
---------
Co-authored-by: Skynet 2 <name@domain.example>
2025-04-28 18:47:10 +02:00
Dongjia "toka" Zhang
3ec8098d76
Remove duplicate corpus folders ( #3174 )
...
* remove duplicate pngs
* add tmin corpus back
* fix
* windows?
* space
* exit 0
* oops
2025-04-28 15:39:47 +02:00
forky2
c3475cd577
Qemu tmin ( #3118 )
...
* Start on qemu_tmin
* WIP
* qemu_tmin working for single testcase.
Also some comment improvements.
* Add env_logger to baby_fuzzer
* Remove old reference.
* Added comment doc for qemu_tmin.
* Slight reorder for parallelisation
* Finished single-thread qemu_tmin
* Finishing touches to single thread version.
* A pre_commit.sh change I didn't notice.
* Duplicate to attempt multi-threaded version
* Fix taplo whine.
Mark "fork" mode as broken.
* Launcher for parallelisation implemented, but for one core.
* Running in parallel. Now need tidy up.
* Parallel version complete.
* Add comment
* Merged single-core/multi-core qemu_tmin into one crate
* Removed forkexecutor mode.
* Precommit fixes
* Add qemu_tmin to build_and_test.yml
* Clippy fixes
* Change tmin test cores to 0.
2025-04-25 23:08:18 +02:00
749b909e32
update freertos bindings
2025-04-25 10:44:11 +00:00
c404037d49
plot styling
2025-04-25 10:41:35 +00:00
dependabot[bot]
76850e9588
Bump pyo3 in /fuzzers/structure_aware/forkserver_simple_nautilus ( #3120 )
...
Bumps [pyo3](https://github.com/pyo3/pyo3 ) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/pyo3/pyo3/releases )
- [Changelog](https://github.com/PyO3/pyo3/blob/v0.24.1/CHANGELOG.md )
- [Commits](https://github.com/pyo3/pyo3/compare/v0.24.0...v0.24.1 )
---
updated-dependencies:
- dependency-name: pyo3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2025-04-24 19:58:00 +02:00
Dongjia "toka" Zhang
95f7c155bd
Make fuzzer hold testcase bytes converter ( #3127 )
...
* add
* fixing
* done
* fix
* a
* no std
* mm
* aaa
* fix
* mm
* please stop
* please stop
* please stop
* Just
* aaaaa
* aaa
* plz stop
* aaa
* mmm
* aaa
* AAAAAAAAAAAAAA
* a bit faster CI?
* win
* wtf are these garbages..?
* no cache?
* ???
* always
* ?/
* aa
* aa
* glib
* glib
* pixman
* AAA
* AA
* unicorn
* unicron
* nyx
2025-04-24 19:34:24 +02:00
MingxiYe
8b194bdd40
fix typo in qemu_linux_process ( #3163 )
2025-04-16 23:27:26 +02:00
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
Dongjia "toka" Zhang
dd0bcba103
Fix #3155 ( #3156 )
...
* robot
* do ne
* FIXER
* fixer
* plz
* LOL
* FIXER
2025-04-12 22:39:32 +02:00
Francesco Cirillo
796ce20cd8
ScheduledMutator Fix with_max_stack_pow ( #3148 )
...
* ScheduledMutator Fix with_max_stack_pow
* Renamed StdScheduledMutator to HavocScheduledMutator
* Added SingleChoiceScheduledMutator
* Changed HavocScheduledMutator description
* Added rename in migration
* Missed renaming
* cargo fmt fix
* cargo fmt fix 2
* Clippy duplicate code and safer test
* cargo fmt fix 3
* Removed my hallucination
2025-04-12 20:35:31 +02:00
Dominik Maier
6372148149
Update README.md ( #3149 )
2025-04-10 02:21:17 +02:00