aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Ene <sebastianene@google.com>2026-01-14 14:33:52 +0200
committerAleksandr Nogikh <nogikh@google.com>2026-01-19 09:27:36 +0000
commit8a9c6fb791de2ce75347ae863885b4584ac82afe (patch)
tree88dabd0a46e6f0ffce311db47960889e194d0b73
parent1276f83b46b38cc241614ebc4401720f5f1fc4ab (diff)
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 <sebastianene@google.com>
-rw-r--r--vm/adb/adb.go2
1 files changed, 1 insertions, 1 deletions
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")