dtrace-infiltrate
dtrace-infiltrate
dtrace-infiltrate
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
libtop<br />
mach_trap::pid_for_task:entry<br />
/execname == "top" || execname == "activitymonitor"/<br />
{<br />
/*<br />
printf("[+] top resolving a pid.\n");<br />
printf("\tpid is @ 0x%lx\n", arg1);<br />
*/<br />
self->pidaddr = arg1;<br />
}