Added ptrace native code