mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 03:39:52 +00:00
Fuzz the standard guest service registry
Drive random service call sequences with adversarial arguments and check memory and register invariants after every call. The libFuzzer target and a stable replay test share one driver. Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com> Co-authored-by: Cursor <cursoragent@cursor.com> (cherry picked from commit 3027b9eb06904793c464b80490aa3903bfe7e173) Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com>
This commit is contained in:
1 parent
b9f6985d57
commit
b3a6a57a8e
8 files changed
+241
-3
No files matched your search
+2
-2
@@ -5,8 +5,8 @@ cd "$(dirname "$0")/.."
|
||||
|
||||
target=${1:-}
|
||||
case "$target" in
|
||||
instruction_stream|fixture|reference) ;;
|
||||
*) printf '%s\n' 'usage: scripts/fuzz.sh <instruction_stream|fixture|reference> [seconds]' >&2; exit 2 ;;
|
||||
instruction_stream|fixture|reference|runtime_services) ;;
|
||||
*) printf '%s\n' 'usage: scripts/fuzz.sh <instruction_stream|fixture|reference|runtime_services> [seconds]' >&2; exit 2 ;;
|
||||
esac
|
||||
seconds=${2:-600}
|
||||
case "$seconds" in
|
||||
|
||||
Reference in new issue
Block a user