probe process("/usr/bin/qemu-system-*").function("fdctrl_write") {
$reg = (($reg & ~7) | 6) # replace register address with 0x__6
if (!noted[pid()]) { noted[pid()]=1; println("defanging fdc writes, pid=", pid()) }
}
global noted%
Back to Directory