☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
testsuite
/
systemtap.examples
/
security-band-aids
/
cve-2015-3456.stp
☽
☼
testsuite/systemtap.examples/security-band-aids/cve-2015-3456.stp
code
plain
raw
1
probe process("/usr/bin/qemu-system-*").function("fdctrl_write") {
2
$reg = (($reg & ~7) | 6) # replace register address with 0x__6
3
if (!noted[pid()]) { noted[pid()]=1; println("defanging fdc writes, pid=", pid()) }
4
}
5
global noted%