81 |
- for (i=st;i<=en;i+=PAGE_SIZE) ptrace(PTRACE_PEEKDATA,tracepid,i,0); |
81 |
- for (i=st;i<en;i+=PAGE_SIZE) ptrace(PTRACE_PEEKDATA,tracepid,i,0); |
82 |
+ for (i=st;i<=en;i+=PAGE_SIZE) ptrace(PT_READ_D,tracepid,(caddr_t)i,0); |
82 |
+ for (i=st;i<en;i+=PAGE_SIZE) ptrace(PT_READ_D,tracepid,(caddr_t)i,0); |
83 |
writeptr=mmap(0,len,PROT_READ,MAP_PRIVATE,memfile,st); |
83 |
writeptr=mmap(0,len,PROT_READ,MAP_PRIVATE,memfile,st); |