From 8a9c6fb791de2ce75347ae863885b4584ac82afe Mon Sep 17 00:00:00 2001 From: Sebastian Ene Date: Wed, 14 Jan 2026 14:33:52 +0200 Subject: vm/adb: use the correct path for debugfs Probe for the debugfs rootdir instead of the kcov sub-path to prevent the fuzzer from entering in device reboot loop in case the android device doesn't support kcov. Fixes: #6600 Signed-off-by: Sebastian Ene --- vm/adb/adb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/adb/adb.go b/vm/adb/adb.go index 6b546678e..79c4ebe12 100644 --- a/vm/adb/adb.go +++ b/vm/adb/adb.go @@ -406,7 +406,7 @@ func (inst *instance) repair() error { inst.waitForBootCompletion() // Mount debugfs. - if _, err := inst.adb("shell", "ls /sys/kernel/debug/kcov"); err != nil { + if _, err := inst.adb("shell", "ls /sys/kernel/debug"); err != nil { log.Logf(2, "debugfs was unmounted mounting") // This prop only exist on Android 12+ inst.adb("shell", "setprop persist.dbg.keep_debugfs_mounted 1") -- cgit mrf-deployment