Skip to content

Commit

Permalink
for both xp and win7, there can be 32 bits heaps and 64 bit heaps
Browse files Browse the repository at this point in the history
  • Loading branch information
trolldbois committed Jan 16, 2016
1 parent ea1adf9 commit 34f2c33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/haystack-find-heap.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def main(argv):
heap_not_at_start = ''
for os, bits, offset in [('winxp', 32, 8), ('winxp', 64, 16),
('win7', 32, 100), ('win7', 64, 160)]:
#FIXME signature = m.read_bytes(addr+offset, 4)
signature = m.read_word(addr+offset)
if signature == 0xeeffeeff:
if addr != m.start:
Expand Down

0 comments on commit 34f2c33

Please sign in to comment.