From 18e4039c9607770d71d5e8dec63f9681ec6f3e4c Mon Sep 17 00:00:00 2001 From: Suhaib Mujahid Date: Wed, 1 Nov 2023 04:51:37 -0400 Subject: [PATCH] [file_crash_bug] Fix detecting addresses with near allocator poison values (#2259) --- bugbot/crash/analyzer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bugbot/crash/analyzer.py b/bugbot/crash/analyzer.py index 95aed4226..04d69c845 100644 --- a/bugbot/crash/analyzer.py +++ b/bugbot/crash/analyzer.py @@ -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 )