[PATCH] D80599: [HWASan] Add sizeof(global) in report even if symbols missing.
Mitch Phillips via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 09:18:52 PDT 2020
hctim added inline comments.
================
Comment at: compiler-rt/lib/hwasan/hwasan_report.cpp:270
+ void *base_vaddr_addr) -> int {
+ if (info->dlpi_phdr->p_type == PT_LOAD &&
+ info->dlpi_phdr->p_offset == 0) {
----------------
And this is also wrong, not walking the headers here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80599/new/
https://reviews.llvm.org/D80599
More information about the llvm-commits
mailing list