With tag_in_free=1, malloc() can not assume that the memory is untagged,
and needs to retag is to 0.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
Paths
| Differential D58158
[hwasan] Fix false positive when tag_in_malloc=0,tag_in_free=1. ClosedPublic Authored by eugenis on Feb 12 2019, 4:46 PM.
Details Summary With tag_in_free=1, malloc() can not assume that the memory is untagged,
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 15 2019, 9:38 AM Closed by commit rCRT354155: Fix false positive when tag_in_malloc=0,tag_in_free=1. (authored by eugenis). · Explain WhyFeb 15 2019, 10:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 187039 lib/hwasan/hwasan_allocator.cc
test/hwasan/TestCases/tag_in_free.c
|