skip to main
|
skip to sidebar
ipa-sauce
Yum.
Tuesday, December 2, 2008
fun with ptrace
sys/types.h
sys/ptrace.h
unistad.h
if (fork() == 0) {
if (ptrace(PT_ATTACH, getppid(), (caddr_t)0, 0) == -1) {
printf("Debugger found!\n");
//alert!
} else {
ptrace(PT_CONTINUE, getppid(), (caddr_t)1, 0);
//continue on
}
Thursday, November 20, 2008
created
Because Blogs are cool.
Newer Posts
Home
Subscribe to:
Comments (Atom)
Followers
Blog Archive
►
2009
(2)
►
March
(1)
►
February
(1)
▼
2008
(2)
▼
December
(1)
fun with ptrace
►
November
(1)
created
About Me
ipasauce
View my complete profile