aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2026-02-10 18:28:18 +0100
committerAlexander Potapenko <glider@google.com>2026-02-11 07:33:38 +0000
commiteb08a15462c45530d2146e76f04a1a22c6541903 (patch)
treea9cc531a7fba38d3006d989a1ea189ae61716065 /executor
parent5f58a1979fcf122ff2115a2d83857e75fd0d6260 (diff)
executor: print is_write in syz_kvm_assert_syzos_kvm_exit
No functional change for syz-executor.
Diffstat (limited to 'executor')
-rw-r--r--executor/common_kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/common_kvm.h b/executor/common_kvm.h
index 92a5c7386..386e43267 100644
--- a/executor/common_kvm.h
+++ b/executor/common_kvm.h
@@ -54,6 +54,7 @@ static long syz_kvm_assert_syzos_kvm_exit(volatile long a0, volatile long a1)
if (run->exit_reason != expect) {
#if !SYZ_EXECUTOR
fprintf(stderr, "[SYZOS-DEBUG] KVM Exit Reason Mismatch\n");
+ fprintf(stderr, " is_write: %d\n", run->mmio.is_write);
fprintf(stderr, " Expected: 0x%lx\n", (unsigned long)expect);
fprintf(stderr, " Actual: 0x%lx\n", (unsigned long)run->exit_reason);
#endif