Skip to content

Commit

Permalink
[file_crash_bug] Fix detecting addresses with near allocator poison v…
Browse files Browse the repository at this point in the history
…alues (#2259)
  • Loading branch information
suhaibmujahid authored Nov 1, 2023
1 parent c03fdcd commit 18e4039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bugbot/crash/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
(0x4B4B4B4B, OFFSET_32_BIT),
)
# Ranges where addresses are considered near allocator poison values.
ALLOCATOR_RANGES_64_BIT = (
ALLOCATOR_RANGES_64_BIT = tuple(
(addr - offset, addr + offset) for addr, offset in ALLOCATOR_ADDRESSES_64_BIT
)
ALLOCATOR_RANGES_32_BIT = (
ALLOCATOR_RANGES_32_BIT = tuple(
(addr - offset, addr + offset) for addr, offset in ALLOCATOR_ADDRESSES_32_BIT
)

Expand Down

0 comments on commit 18e4039

Please sign in to comment.