Tested on an example callstack with misplaced binaries from Android.
Tested Regex against callstack without Build ID to confirm it still works.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clarify comment
compiler-rt/lib/hwasan/scripts/hwasan_symbolize | ||
---|---|---|
78 | It's not really limited to ARM64. It's limited to LE 64bit, which I think is all we need for now, I don't think it's worth adding code for BE (which is easier) or 32 bit (which requires basically duplicating the ELF constants) for now. I clarified the comment. | |
93 | I wanted to let it propagate because the reasons I can think of are
Only the third one of those is a non-critical error (as in, should not be reported or corrected) and seems extremely unlikely. I am happy to add error handling though. |
LGTM
compiler-rt/lib/hwasan/scripts/hwasan_symbolize | ||
---|---|---|
93 | OK, this is a reasonable approach for a developer tool. |
Not only, there is x86_64 support. This seems like an arbitrary limitation.