mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 11:29:46 +00:00
vm/adb: disable kptr_restrict for Android
echo 0 to kptr_restrict in /proc/sys/kernel to unhide kernel pointers when fuzzing for more reliable crash dedup and easier debugging when analyzing crash.
This commit is contained in:
parent
68ce85f1a9
commit
75b2448a26
@ -112,6 +112,7 @@ func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) {
|
||||
if _, err := inst.adb("shell", "rm -Rf /data/syzkaller*"); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
inst.adb("shell", "echo 0 > /proc/sys/kernel/kptr_restrict")
|
||||
closeInst = nil
|
||||
return inst, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user