summaryrefslogtreecommitdiff
path: root/macho64
diff options
context:
space:
mode:
authorJohn van Groningen2013-07-02 12:44:14 +0000
committerJohn van Groningen2013-07-02 12:44:14 +0000
commit5418183deabccd21e0432fe37b44efc444062908 (patch)
treeca2dddedba7050ce15d1903d669cfd02451a8396 /macho64
parentadd +0 to a pc relative address, converted to [rip] on linux (diff)
use 31*8 instead of 31*9 in and instruction
Diffstat (limited to 'macho64')
-rw-r--r--macho64/acompact.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/macho64/acompact.s b/macho64/acompact.s
index 242b6fc..8909c6e 100644
--- a/macho64/acompact.s
+++ b/macho64/acompact.s
@@ -95,8 +95,8 @@ determine_free_finalizers_after_compact1:
mov rax,qword ptr neg_heap_p3[rip]
add rax,rbp
- mov rbx,rax
- and rax,31*9
+ mov rbx,rax
+ and rax,31*8
shr rbx,8
lea r9,bit_set_table2[rip]
mov esi,dword ptr [r9+rax]