Dongjia "toka" Zhang
5eff9c03d3
Fix build_all_fuzzers.sh for local runs ( #2686 )
2024-11-12 22:19:26 -03:00
Dominik Maier
7fada7d985
Add DrCovReader to read DrCov files and DrCov dumper and merge utils ( #2680 )
...
* Add DrCov Reader
* Removed libafl_jumper deps
* Fix DrCovWriter, add dump_drcov_addrs
* Taplo
* Move frida from usize to u64
* DrCov usize=>u64
* Better error print
* More u64
* ?
* debug
* clippy
* clippy
* Add Merge option to DrCovReader
* Add drcov_merge tool
* Move folder around
* DrCov
* More assert
* fmt
* Move around
* Fix print
* Add option to read multiple files/full folders
2024-11-12 22:18:57 -03:00
Dominik Maier
0ef0684e43
LibAFL_QEMU: Don't return a generic Address from Register reads ( #2681 )
...
* LibAFL_QEMU: Make ReadReg always return GuestReg type
* Don't return a generic address
* fix fuzzers
* fix mips
2024-11-12 22:14:35 -03:00
Marco C.
f3aa88b400
Use version.workspace ( #2682 )
2024-11-12 15:45:35 +01:00
Valentin Huber
ae9ab80ad9
Fixing version pinning in CI ( #2679 )
2024-11-12 00:49:58 +01:00
jejuisland87654
4269be1c08
fix error '#' is not followed by a macro parameter ( #2678 )
2024-11-11 19:43:27 +01:00
Subhojeet Mukherjee, PhD
e25094eb4f
Lower capped RAND generators ( #2671 )
...
* Lower capped rand generators
* Updated all references to RAND generators
* Formatting updates
* New RAND bytes generator constructor
* Revert "Updated all references to RAND generators"
This reverts commit 9daad894b25ec3867daf93c4fe67c03abec1d8c6.
* Revert "Formatting updates"
This reverts commit ff2a61a366c48b3f313878f62409e51b1e1ed663.
* cargo nightly format
* Added must_use to with_min_size
2024-11-11 19:36:55 +01:00
cd3c101e87
define critical benchmark sets
eval_24-11-11
eval_rtas_final
2024-11-11 15:45:36 +01:00
0c80801e9f
define benchmark sets
2024-11-11 15:36:29 +01:00
2a61f51a69
keep more cases when pruning, try more non-favored cases
2024-11-11 13:50:44 +01:00
79f0aab769
config_stg_abbpath
2024-11-10 10:31:03 +01:00
b7710c7d8a
rate-limit UserStats + tolerate pending notifications for 1ms
2024-11-10 10:21:36 +01:00
Valentin Huber
e32b3eae93
Introducing Launcher::overcommit, improving CI formatting ( #2670 )
...
* introducing Launcher::overcommit
* removing unnecessary cfg restrictions and clippy allows
* improving warning for wrong clang-format version
* installing black in the format CI
* Enforcing python formatting in CI
* extending formatting using black on all python files
* printing diff on black failure
* preferring python's black over system black
* moving to LLVM 19 for formatting
2024-11-09 19:13:51 +01:00
Dominik Maier
8617fa6603
Introduce workspace (again) ( #2673 )
...
* Trying to redo workspace deps again after #2672
* unused
* clippy
2024-11-09 19:11:01 +01:00
Dominik Maier
21f8b1d147
Replace addr_of with &raw across the codebase ( #2669 )
...
* Replace addr_of with &raw across the codebase
* fix fixes
* more fix
* undo clang fmt?
* oops
* fix?
* allocator fix
* more fix
* more more
* more docs
* more fix
* mas mas mas
* hm
* more
* fix Frida
* needed
* more error
* qemu
2024-11-08 17:19:55 +01:00
280025b505
add config_stg_aggregate
2024-11-08 16:10:26 +01:00
6dc55d6cc9
update all_bins
2024-11-08 16:04:14 +01:00
825d80b88d
aggresive pruning
2024-11-08 16:00:23 +01:00
2bc7872a51
configure sched_stg_edge
2024-11-08 15:43:04 +01:00
ab6026535c
rate-limit testcase printing
2024-11-08 11:05:36 +01:00
Aarnav
d1c746a0a2
Set rlimit to inifinity for core dumps if AFL_DEBUG=1 ( #2643 )
...
* forkserver: set rlimit to inifinity for core dumps if AFL_DEBUG=1
* move coredump rlimit to a separate func
* update docs
2024-11-06 14:11:58 +01:00
e6ec643781
fix release-detection for api -> isr -> app, fix crash on empty trace
2024-11-06 12:51:39 +01:00
bernhl
cfe124043e
Add memfd shmem backend ( #2647 )
2024-11-06 11:37:43 +01:00
Dominik Maier
36a24ab418
Custom Executor Example ( #2570 )
...
* [WIP] Custom Executor Example
* readme
* src/main.rs
* Finish
* fix warnings
* reame
* CI
2024-11-05 16:49:07 +01:00
Dominik Maier
b5c9bffe50
Core::errors::Error is stable now ( #2664 )
2024-11-05 16:48:31 +01:00
Dhanvith Nayak
8de9dcaff7
Clean up clippy warnings in fuzzers/binary_only/* ( #2662 )
...
* clean clippy warnings from fuzzers/binary_only/*
* handle unused Results in fuzzers/binary_only/*
* format fuzzers/binary_only/qemu_cmin
* use unchecked memory write in qemu fuzzer examples
* create file_null in fuzzbench_fork_qemu
2024-11-05 15:22:14 +01:00
dependabot[bot]
4581c50023
Update hashbrown requirement from 0.14.5 to 0.15.1 ( #2660 )
...
---
updated-dependencies:
- dependency-name: hashbrown
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 14:46:40 +01:00
Valentin Huber
4431f069e5
Fix crossover mutators for empty multipart inputs ( #2663 )
2024-11-05 14:45:56 +01:00
Dongjia "toka" Zhang
87e4a845e0
Reenable libfuzzer_stb_image_sugar test ( #2659 )
2024-11-04 22:46:12 +01:00
Dongjia "toka" Zhang
e0c5304e32
Don't use workspace dependencies ( #2652 )
...
* rev
* postcard
* serde
* fmt
* a
* dependabot
* postcard again
* hashbrown
* upd
* add
* serde?
2024-11-04 17:47:40 +01:00
jejuisland87654
1e0b5581e5
better definition for PROFILE_DIR in all Makefile.toml files ( #2658 )
2024-11-04 17:09:12 +01:00
dependabot[bot]
cbe89b096d
Update ratatui requirement from 0.28.1 to 0.29.0 ( #2657 )
...
Updates the requirements on [ratatui](https://github.com/ratatui/ratatui ) to permit the latest version.
- [Release notes](https://github.com/ratatui/ratatui/releases )
- [Changelog](https://github.com/ratatui/ratatui/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ratatui/ratatui/compare/v0.28.1...v0.29.0 )
---
updated-dependencies:
- dependency-name: ratatui
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 17:08:04 +01:00
dependabot[bot]
51393242d8
Update dynasmrt requirement from 2.0.0 to 3.0.1 ( #2653 )
...
* Update dynasmrt requirement from 2.0.0 to 3.0.1
Updates the requirements on [dynasmrt](https://github.com/CensoredUsername/dynasm-rs ) to permit the latest version.
- [Changelog](https://github.com/CensoredUsername/dynasm-rs/blob/master/doc/releasenotes.md )
- [Commits](https://github.com/CensoredUsername/dynasm-rs/compare/v2.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: dynasmrt
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix for update
* fix
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Toka <tokazerkje@outlook.com>
2024-11-04 16:32:20 +01:00
6902e21c6a
update demo-list
2024-11-04 16:27:49 +01:00
dependabot[bot]
d7ce89d78d
Update goblin requirement from 0.8.2 to 0.9.2 ( #2655 )
...
Updates the requirements on [goblin](https://github.com/m4b/goblin ) to permit the latest version.
- [Changelog](https://github.com/m4b/goblin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/m4b/goblin/commits )
---
updated-dependencies:
- dependency-name: goblin
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 16:23:27 +01:00
Romain Malmain
49ea0b03a6
Compile-time edge module compilation check, native support for ConstMapObserver ( #2592 )
...
* compile-time edge module compilation trick
* clippy
* possible since rust 1.79
* split edge module in submodules
* Update frida to 0.14.0 (#2596 )
* update frida crate to the latest version
* adapt libafl_frida to the latest version of frida
* tracers and generators private modules
* do not use star export.
* same for drcov
* forgot a file...
* first draft of generic-based edge module for ConstantLengthMapObserver.
* integration of OwnedSizedSlice.
replaced OwnedSlice in ConstMapObserver by the new OwnedSizedSlice.
* fix serde stuff
* no std
* import
* fixed qemu_cmin with new constant map abstraction.
* fix const map
* fix clippy from another pr...
* fix non-null usage
* fix ci?
* new feature stuff
* fixes
* minor fixes
* fmt
* non null
* im stupid
* fmt
* fix fuzzer
* fix fuzzers
* sized slice
* fuzzer fixes
* ptr::NonNull -> NonNull
* shorter trait length
* fmt
2024-11-04 14:34:52 +01:00
Marco C.
56a5463ae4
Use a proper pre-commit hook for taplo fmt ( #2650 )
...
* Add taplo to pre-commit
* Use a proper pre-commit hook for taplo fmt
2024-11-04 14:17:02 +01:00
Yufei Li
97a8e4c294
Add RISCV support in libafl_qemu.h
( #2380 )
...
* Add riscv support in libafl qemu header
---------
Co-authored-by: Romain Malmain <romain.malmain@pm.me>
2024-11-04 11:10:25 +01:00
328e762dd5
save per-instance crashes
eval_24-11-04
2024-11-04 10:03:39 +01:00
ed90c12922
revert trace_job_response_times
2024-11-04 09:51:29 +01:00
Romain Malmain
99a156f783
Implement From LibAFL Error for Qemu Error ( #2641 )
...
* impl from qemu error for libafl error
* new error for frontends like qemu or frida
* exhaustive match
* frontend -> runtime
2024-11-03 21:09:16 +01:00
Valentin Huber
d4fbe1754f
Move ShMem persisting flag to a new constructor ( #2649 )
...
* moving shmem persisting to take an owned value, adding test
* clean code updates
* adding imports conditionally
* fixing tests
* moving persistent mmap shmem to custom constructor
* excluding miri properly
* fixing formatting
2024-11-03 03:13:10 +01:00
660cf60fc5
skip error dumping
2024-11-02 11:52:56 +01:00
bc165eb094
update bench-config
2024-11-02 11:39:53 +01:00
79be3c8eca
config
2024-11-02 11:37:29 +01:00
Marco C.
89cff63702
Add taplo to pre-commit ( #2646 )
2024-10-31 17:55:10 +01:00
Romain Malmain
6d55626a48
libafl_qemu: update qemu to v9.1.1 ( #2636 )
...
* update qemu to v9.1.1
* adapting stuff to qemu 9.1
* fix for new qemu gen_callN and x86 decoder
* remove outdated qemu configuration option
2024-10-31 17:54:37 +01:00
Dominik Maier
c86e116d9a
Remove serde_json dependency from libafl_bolts ( #2639 )
...
* Remove serde_json dependency from libafl_bolts
* more like a serialize err
* Fix nautilus json
2024-10-31 14:16:53 +01:00
Romain Malmain
47120834dc
libafl_qemu: do not test slirp in ci for usermode ( #2644 )
2024-10-30 17:47:37 +01:00
e58d4ba6ff
tune detection of irregular task instances
2024-10-30 16:18:12 +01:00