2 Commits

Author SHA1 Message Date
Kirill Stoimenov
51e49e12e7 [HWASAN][LSAN] Replace cstdint with stdint.h
Reviewed By: brooksmoses, MaskRay

Differential Revision: https://reviews.llvm.org/D155994
2023-07-21 22:20:12 +00:00
Kirill Stoimenov
0365ccd2a1 [HWASAN][LSAN] Fix false positive memory leak reports on X86_64
Before this patch when running HWASAN on x86_64 with with memory tagging support we got a bunch of false memory leak reports. The reason for that is that the heuristic used to detect if an 8 bytes could be a user pointer was not valid when memory tagging is used as the top byte could contain non-zero information.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D155338
2023-07-18 19:04:30 +00:00