Andrea Fioraldi
7dd7c1a485
Bump to 0.11.0 ( #1469 )
...
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2023-08-28 15:36:43 +02:00
Andrea Fioraldi
04c8d5208b
qemu: Fix cpu page size function for full-system ( #1452 )
...
* Revert "qemu: add cpu page_size call (#1433 )"
This reverts commit d338b30c080ecfe1a6639185b6505b7a7b8edbeb.
* Reintroduce page_size
2023-08-25 11:42:23 +02:00
Dominik Maier
e89e8dbaab
Remove dependencies, add doc.rs metadata ( #1450 )
...
* Remove dependency, add doc.rs metadata
* remove lazy_static
* even less lazy_static
* serial_test no default
2023-08-24 11:34:38 +02:00
David CARLIER
d338b30c08
qemu: add cpu page_size call ( #1433 )
...
* qemu handy cpu page size call proposal.
* changes from feedback.
2023-08-23 20:27:58 +02:00
Dominik Maier
b0179b4498
Update some deps, clippy ( #1422 )
...
* More less default
* More clippy
* updated rangemap
* Clean up depencdencies
* Undo accidental remove
* Fix
* trying to fix qemu build
* hexagon be gone
2023-08-17 17:15:03 +02:00
Andrea Fioraldi
ac4a0e7330
libafl_qemu snapshot device filter ( #1386 )
...
* libafl_qemu snapshot device filter
* Working device list
* regenerate bindings stub
2023-08-01 12:01:10 +02:00
Andrea Fioraldi
37bfead4e5
Fix generic hooks bug in libafl_qemu ( #1382 )
2023-07-27 17:28:33 +02:00
Andrea Fioraldi
cb24b5dc2d
Extract linker args when building QEMU ( #1377 )
...
* Update qemu commit
* Hook the linker and automatically extract linker args
* Comment code
2023-07-26 10:42:15 +02:00
Dominik Maier
36b1d8aea2
Fix status updates for crashing fuzzers ( fixes #1367 ) ( #1368 )
...
* Fix status updates for crashing fuzzers (fixes #1367 )
* client perf fix
* Add HasLastReportTime trait :/
* ****** prelude
* reoder phantom
* fix tests
* clippy, fixes
* more fixes, traits are maaad
* fmt
2023-07-14 18:50:31 +02:00
Langston Barrett
2885b10f70
libafl_qemu_build: Bump bindgen to 0.66 for syn 2 support ( #1349 )
2023-07-10 13:12:26 +02:00
Ivan Fratric
829b5049e6
Hexagon support ( #1323 )
...
* Hexagon support
* Fix format
* Fix needless bool
* Address comments
---------
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-07-04 11:08:36 +02:00
Andrea Fioraldi
356698c24b
Update to QEMU 8 ( #1299 )
...
* Update to QEMU 8
* fix
* fix snapshots
* fix pcrel
2023-06-02 18:24:07 +02:00
WorksButNotTested
53dd6c6be6
Post gen ( #1282 )
...
* Add post_gen
* Adopt post_gen hooks in DrCovHelper
* Bump qemu-libafl-bridge revision
---------
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-05-24 16:03:59 +02:00
Dongjia "toka" Zhang
6f21cb3848
Bump to 0.10.1 ( #1280 )
...
* bmp
* remove DEBUG env var
2023-05-22 12:42:36 +02:00
WorksButNotTested
4029069640
Disable capstone when building qemu-afl-bridge for user-mode fuzzing ( #1281 )
...
Co-authored-by: Your Name <you@example.com>
2023-05-18 00:47:59 +02:00
intrigus-lgtm
91b10f8c40
LibAFL_qemu: Disable Capstone to fix build issues on some distributions ( #1263 )
2023-05-11 09:52:57 +02:00
Andrea Fioraldi
0f633962ff
Bump to 0.10.0 ( #1156 )
...
* Bump to 0.10.0
* fix
* Fix CI
* Fix copyright
* fmt
---------
Co-authored-by: Dominik Maier <domenukk@gmail.com>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-04-05 17:49:53 +02:00
Dominik Maier
0d446bab20
Updated dependencies ( #1174 )
...
* Updated deps
* win
* Revert "win"
This reverts commit a6dfd95f1c63a9471659481d92c5cbc480af6360.
* revert win
---------
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2023-04-04 22:58:00 +02:00
Andrea Fioraldi
dc800f0814
on_evaluation Scheduler method ( #1106 )
...
* add on evaluation hook in schedulers
* on_evaluation for WeightedScheduler
* fix PowerQueueScheduler
* fix fuzzers
* upd qemu
* tests
* upd
2023-02-28 11:33:26 +01:00
Dongjia "toka" Zhang
59bf118a5a
Clippy ( #1105 )
2023-02-28 01:08:19 +09:00
R. Elliott Childre
4d5a759955
Update deps for libafl ( #1042 )
...
Reduces total number of packages from 577 to 571 on building with:
`cargo +nightly build --workspace --all-features`
* ahash 0.7 -> 0.8
* Move `AHasher::new_with_keys` to `RandomState::with_seeds` given the
recommendation from: aHash maintainer:
https://github.com/tkaitchuck/aHash/issues/132#issuecomment-1288207069
* bindgen: 0.61 -> 0.63
* c2rust-bitfields: 0.3 -> 0.17
* criterion: 0.3 -> 0.4
* crossterm: 0.25 -> 0.26
* dynasmrt: 1.2 -> 2
* goblin: 0.5.3 -> 0.6
* hashbrown: 0.12 -> 0.13
* nix: 0.25 -> 0.26
* The `addr` arg of `mmap` is now of type `Option<NonZeroUsize>`
* The `length` arg of `mmap` is now of type `NonZeroUsize`
* Requires updating implementers to update `nix` as well
* prometheus-client: 0.18.0 -> 0.19
* Do not box metrics
* Gauges (a majority of the LibAFL metrics) are now i64 types so there
is a small chance of overflow, with the u64 values that LibAFL
tracks, but unlikely to be problematic.
* Keep `exec_rate` as a floating point value
* serial_test: 0.8 -> 1
* typed-builder: 0.10.0 -> 0.12
* windows: 0.42.0 -> 0.44
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2023-02-06 12:24:42 +01:00
Andrea Fioraldi
fdf579bcd5
Bump to 0.9.0 ( #946 )
...
* bump to 0.9.0
* fix libafl_tinyinst
* fix
---------
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2023-01-31 10:42:01 +01:00
Andrea Fioraldi
7fd9ac0952
SyncFromBrokerStage to sync from a broker with a different Input type ( #997 )
...
* ConverterLlmpEventManager
* docs
* SyncFromBrokerStage
* fix
* separate InputConverter
* nautilus
* nautilus_sync
* send testcases
* upd nautilus
* meta
* fix
* clippy
* fix
* Update build_and_test.yml
* fix
* fix
* Use find_libpython
* ci
* upd qemu
2023-01-20 17:16:29 +01:00
Andrea Fioraldi
3c8a00bc42
Fix qemu user ( #1003 )
2023-01-18 13:38:49 +01:00
Andrea Fioraldi
7cf7d545a6
Update QEMU and fix snapshot restore mem leak ( #998 )
...
* Update qemu
* Fix leak
* upd
* fmt
2023-01-17 11:06:31 +01:00
biazo
3345727c94
fixing linking issue on qemu build ( #990 )
...
* fixing linking issue
* insteading of linking lib we dont use. just disable them
* fixing the keyutils problem
Co-authored-by: Andrea Fioraldi <andreafioraldi@gmail.com>
2023-01-09 10:10:14 +01:00
Andrea Fioraldi
50708f4d9c
Fast device+mem QEMU snapshots ( #930 )
...
* Simple fast root snapshots
* clippy
* epd
* mips
2022-12-12 10:49:44 +01:00
Dominik Maier
68fbfc8914
Fix Clippy ( #926 )
...
* Fix clippy
* undo comment fmt
* add unstracked nyx files to gitignore
* fix
* windows, no_std
* fix
* fix
* more
* macos
* remove doctest
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
2022-12-06 00:05:42 +09:00
Andrea Fioraldi
71dd58396c
libafl_qemu_sys and libafl_qemu_build to have bindgen with QEMU ( #915 )
...
* build and sys qemu crates
* working libafl_qemu_build
* libafl_qemu_sys
* switch libafl_qemu to use libafl_qemu_sys
* fix
* use sys
* fmt
* mmu lookup
* fix
* autofix
* clippy
* fix
* allow
* cl
* docker
* docker
* fix
* mem access info in mem hooks
* fmt
* fix
* kill libafl_page_size
* fix
* clippy
* default bindings for docs.rs
* macos
* fix arm build
* fix
* plugins
* fix
* fix fuzzer
* Correct PC on breakpoint
Co-authored-by: Dominik Maier <domenukk@gmail.com>
2022-12-02 17:01:28 +01:00