Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This is in sanitizer_common, so we need a test, TEST(SanitizerStacktracePrinter, ...)
PTAL. As hwasan_symbolize only matches a prefix of the line. it doesn't need to be changed.
compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp | ||
---|---|---|
599 | This already exists as RoundUpTo | |
628 | Technically, kGnuNamesz should be rounded up, too - but it's already 4. Do it anyway, for clarity? | |
633 | It would be good to do more checks here - first that the entire nhdr fits in p_memsz, then the name/value data, too. | |
compiler-rt/test/hwasan/TestCases/build-ids.c | ||
2 | Could you use symbolize=0 in %env_hwasan_opts instead? | |
compiler-rt/test/sanitizer_common/android_commands/android_run.py | ||
16 | is this for HWASAN_SYMBOLIZER_PATH? |
compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp | ||
---|---|---|
628 | Added a static_assert. | |
633 | We do check that the nhdr fits into p_memsz in the condition of the loop. Added a check before doing the memcmp and memcpy as an extra precaution. | |
compiler-rt/test/sanitizer_common/android_commands/android_run.py | ||
16 | Yes, it was. But it's now unneeded. |
fix tests.
on some buildbots __hwasan_store shows up above the frame we assert,
so the frame number is wrong
This already exists as RoundUpTo