diff options
author | John van Groningen | 2003-07-11 11:59:28 +0000 |
---|---|---|
committer | John van Groningen | 2003-07-11 11:59:28 +0000 |
commit | 08b6b61214062da92aafcc179e222122c5ef4f74 (patch) | |
tree | ecdc5dd45ff7703dc42c944587418ec3bd98dd3b /macho/ptrace.a | |
parent | @ before write_heap label instead of _ (diff) |
added stack overflow detection using virtual memory and exceptions
Diffstat (limited to 'macho/ptrace.a')
-rw-r--r-- | macho/ptrace.a | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macho/ptrace.a b/macho/ptrace.a index 05de0e3..4cb6588 100644 --- a/macho/ptrace.a +++ b/macho/ptrace.a @@ -484,6 +484,8 @@ init_profiler: .if 1 lea_ r3,_stack_size lwz r3,0(r3) + addi r3,r3,4095 + rlwinm r3,r3,0,0,31-12 .else li r3, (512*1024) % 65536 addis r3,r3,(512*1024) / 65536 |