Skip to content

Commit

Permalink
fix: make sure that heap_addr is aligned (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
theguy147 committed Mar 19, 2023
1 parent 9590305 commit 8e3eba8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gef.py
Expand Up @@ -10349,6 +10349,7 @@ def base_address(self) -> Optional[int]:
base = 0
try:
base = parse_address("mp_->sbrk_base")
base = self.malloc_align_address(base)
except gdb.error:
# missing symbol, try again
base = 0
Expand Down

0 comments on commit 8e3eba8

Please sign in to comment.