564 Commits

Author SHA1 Message Date
Andrea Fioraldi
089bc49d55
Bump to 0.8.2 and update versions script (#828) 2022-10-12 14:57:08 +02:00
Dominik Maier
94f0c7f56e
Moving to named parameters in format strings (#827)
* autofix

* you're just asking for a clamping

* autofmt on linux

* fix nits

* change back nit

* unfixing as u64 for GuestAddr

* fix

* ignoring clippy for GuestAddress
2022-10-11 13:45:01 +02:00
Dominik Maier
f3e8ed832b
Fix formatting (#822) 2022-10-07 02:15:23 +02:00
Dominik Maier
c61bb8cd5e
Fix formatting (#821)
* Format
2022-10-07 02:13:55 +02:00
Dominik Maier
8a4bbe3d0b
Fix FreeBSD CI (#820)
* Fix FreeBSD CI

* Fixed tests for freebsd
2022-10-06 17:43:59 +02:00
expend20
8fa4bca2d9
Hook IsProcessorFeaturePresent to crash with STATUS_STACK_BUFFER_OVERRUN exception (#804)
* First working attempt

* formatting issues

* Safety comment

* got rid of mutex

* Pass gum as a parameter

* removed debug println

* Review comments

* review: switched back to panic
2022-10-05 22:26:19 +02:00
Patrick Gersch
c4a9b5f373
Changes for Linux without fork feature (#814)
* Minor changes for linux without fork feature

* cargo fmt
2022-10-04 20:32:33 +02:00
Dongjia "toka" Zhang
e4f0e1df99
Fix CI (#810)
* fix

* fix

* fix

* removed allow(unused)

* removed feature from powerset

* fixing win

* tidying up

* cfg guards galore

* cfg for unused

* more cfg

* more fixes

* more cfgs

Co-authored-by: Dominik Maier <dmnk@google.com>
2022-10-04 17:29:42 +02:00
Dongjia "toka" Zhang
caa560b7a0
TimeoutInprocessForkExecutor (#797)
* TimeoutInprocessForkExecutor

* no_std

* linux only

* OK

* crash -> timeout
2022-10-03 21:44:03 +02:00
Dominik Maier
b7d93a4bea
Hide prelude behind feature flag (#782)
* Hide prelude behind feature flag

* make prelude default
2022-09-30 20:30:28 +02:00
Dominik Maier
cc0c2f32ae
Additional errors only in test (#809) 2022-09-30 20:28:51 +02:00
Andrea Fioraldi
99a105d907
Disable ObserversOwnedMap due to new Rust error (#807)
Co-authored-by: Andrea Fioraldi <andrea.fioraldi@trellix.com>
2022-09-30 11:34:28 +02:00
radl97
30f143cd3d
Add ability to use virtual dispatch to StagesTuple (#801)
* Add ability to use virtual dispatch to stagesTuple

* Fix lint
2022-09-29 02:32:24 +02:00
David CARLIER
279bb77f30
Support for bolts::cpu::read_time_counter on arm64 (#790) 2022-09-27 23:38:50 +02:00
David CARLIER
be0ae3a55e
Support for write_crash on netbsd (#788) 2022-09-27 23:37:50 +02:00
Andrea Fioraldi
c0bb1bc1e6
Fix len miscalculation in grimoire string replace (#794)
* Fix len miscalculation in grimoire string replace

* ok Rust i was writing JS these days

Co-authored-by: Andrea Fioraldi <andrea.fioraldi@trellix.com>
2022-09-21 14:19:54 +02:00
expend20
eebc412fb4
Windows gdiplus (#789)
* Initial steps

* Harness code cleanup

* don't panic on linux in order not to break the CI

* formatting once again

* restored cfg unix to unbreak linux build
2022-09-18 15:33:25 +02:00
David CARLIER
577f0be832
[AFLplusplus/LibAFL] dump registers on OpenBSD amd64 (PR #787)
* dump registers on openbsd

* write_crash implementations
2022-09-15 22:46:33 +02:00
David CARLIER
100e4ad433
Dump registers on NetBSD amd64 (#786) 2022-09-15 16:23:16 +02:00
Andrea Fioraldi
74955d5376
Extend gramatron recursive mutator (#783) 2022-09-14 10:24:50 +02:00
David CARLIER
f5a5c08e5d
Illumos support (#775)
implementing core affinity too.
2022-09-13 13:50:20 +02:00
David CARLIER
23e655d7dd
Dump registers on freebsd x86_64 (#779) 2022-09-13 13:49:39 +02:00
Dongjia "toka" Zhang
7aadf31246
Add track_stability option to CalibrationStage (#781)
* add

* Update gramatron.rs

* Update emu.rs

* try

* clp
2022-09-13 09:39:17 +02:00
Dongjia "toka" Zhang
7f7e0ee6ac
Fix doc (#780) 2022-09-12 18:59:57 +02:00
Dongjia "toka" Zhang
d17269d3d5
Stability improve (#773)
* initial

* add

* fmt & fix

* dbg remove

* clp

* clp

* more

* clippy

* del

* fix

* remove unused

* fix

* doc
2022-09-12 18:08:07 +02:00
Dongjia "toka" Zhang
b863142829
Fix forkserver options (#771) 2022-09-09 02:42:16 +02:00
Vincent
10f5c0f07a
Fix cargo doc on windows (#762)
* add doc cfg

* fix nostd docs

* ignore CommandConfigurator doc test execution on non-unix platform

* add cargo doc step pipeline on windows platform
2022-09-04 09:34:26 +02:00
Dominik Maier
1f5189a6a6
Do not zero-init struct in QEMU (#758)
* New Clippy fixes for QEMU

* no need to 0-initialize mem

* clippy
2022-09-03 08:27:41 +02:00
David CARLIER
87fdd55125
Core affinity for FreeBSD pinning task to the wanted cpu (#756) 2022-09-02 18:50:15 +02:00
Dominik Maier
5823320206
Fixes for new Clippy (#755) 2022-09-02 16:21:06 +02:00
Dominik Maier
c4e0faabc2
CI for FreeBSD (#754)
* CI for FreeBSD

* rustup -y?

* fixed path, switched to clippy

* bsd don't source

* added llvm

* clippy

* more yml

* ?

* testing ci

* llvm?

* llvm??

* more llvm, more tests

* fixed testcase'

* mem limits

* more sudo

* reenable all the CI
2022-09-02 15:37:49 +02:00
David CARLIER
ebfe414a27
dragonflybsd build fix for core affinity. (#753)
supporting most of linux sched api here.
2022-08-30 03:37:17 +02:00
Patrick Gersch
ebae4d3ce8
MapFeedback: Adding support for with_name() (#752)
* Adding support for with_name()

* Adding with_name() function description
2022-08-29 14:43:00 +02:00
Dominik Maier
6c50f55cd2
Skippable stage, generator wrapper for Grimoire (#748)
* Skippable stage, generator wrapper for Grimoire

* more fancy wrapper
2022-08-29 13:44:22 +02:00
Addison Crump
0859c3ace2
Implement a corpus minimiser (cmin) (#739)
* initial try

* correct case where cull attempts to fetch non-existent corpus entries

* various on_remove, on_replace implementations

* ise -> ize (consistency), use TestcaseScore instead of rolling our own

* oops, feature gate

* documentation!

* link c++

* doc-nit: correction in opt explanation

don't write documentation at 0300

* better linking
2022-08-29 13:38:46 +02:00
Addison Crump
d6e72560dc
Add test case minimising stage (tmin) (#735)
* add test case minimising stage

* general purpose minimiser impl, with fuzzer example

* reorganise, document, and other cleanup

* correct python API return value

* correct some docs

* nit: versioning in fuzzers

* ise -> ize
2022-08-29 13:37:55 +02:00
David CARLIER
556bdc828c
Simplification for netbsd-specific code (#750)
the cpuset api is already present in libc...
2022-08-29 13:28:04 +02:00
David CARLIER
7760697579
Netopenbsd build fix (#746)
* core affinity netbsd implementation.

* openbsd build fix
2022-08-28 10:19:09 +02:00
Sirui Mu
af3ea172ab
Fix documentation of Rand::below (#747) 2022-08-28 09:54:01 +02:00
Sönke
eb7c8a1174
Add continous JSON Logging monitor (#738)
* Add simple JSON Monitor

* Add documentation

* Log global state

* Fix formatting

* Save state depending on closure outcome, have file opened all the time

* Make OnDiskJSONMonitor cloneable

* Switch to FnMut to allow stateful closures

* Use &mut M: Monitor for the closure
2022-08-27 10:05:38 -04:00
David CARLIER
d377fce4f3
Add core affinity support for FreeBSD (#736) 2022-08-21 00:33:59 +02:00
Nicholas Lang
7b345fbba7
Fix tui with 1 client (#734)
* unbreak tui with 1 client

* clippy
2022-08-19 11:30:26 +02:00
Dongjia Zhang
eac7307c5a
0.8.1 (#732) 2022-08-18 10:23:57 +02:00
Dongjia Zhang
ce5ac3968d
Fixing readme & docs (#730)
* fix

* fix

* add

* add

* fmt
2022-08-15 02:12:35 +02:00
Dongjia Zhang
a87f99afb8
Simd Fix (#729)
* simd fix

* fmt
2022-08-14 20:39:34 +02:00
Dongjia Zhang
5d9a19f955
Mac OS Autotokens (#723)
* mac_tokens

* more

* win fix

* fmt

* fmt c
2022-08-13 02:58:22 +02:00
syheliel
2504b6dae3
Add rustfmt.toml (#722)
* add `rustfmt.toml`

* format fix

Co-authored-by: syheliel <syheliel@gmail.com>
2022-08-12 02:28:32 +02:00
z2_
faca7b9ac7
Deriving Clone for NopMonitor (#721) 2022-08-10 17:22:36 +02:00
Dominik Maier
7d7601204f
Fixes for new clippy (#719) 2022-08-05 13:34:27 +02:00
Dongjia Zhang
3dfdba2ddc
Resize MapFeedbackMetadata with observer.initial() (#718) 2022-08-05 09:05:15 +02:00