In that case it is very likely that there will be a tag mismatch anyway.
We handle the case that the pointer belongs to neither of the allocators
by getting a nullptr from allocator.GetBlockBegin.
|  Differential  D108383  
[hwasan] do not check if freed pointer belonged to allocator. Authored by fmayer on Aug 19 2021, 9:08 AM. 
Details In that case it is very likely that there will be a tag mismatch anyway. We handle the case that the pointer belongs to neither of the allocators 
Diff Detail 
 Event TimelineComment Actions This seems to break tests: http://45.33.8.238/linux/54105/step_10.txt Any idea what's going wrong there? (@pcc too) |