50 |
set_instruction_pointer(struct process *proc, void *addr) |
49 |
set_instruction_pointer(struct process *proc, void *addr) |
52 |
if (ptrace(PTRACE_POKEUSER, proc->pid, sizeof(long)*PT_NIP, addr) != 0) |
51 |
if (ptrace(PTRACE_POKEUSER, proc->pid, sizeof(long)*PT_NIP, addr) != 0) |
53 |
error(0, errno, "set_instruction_pointer"); |
52 |
perror("set_instruction_pointer"); |