[PATCH] D85519: [llvm-readobj/elf] - Refine the code for broken PT_DYNAMIC segment diagnostic.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 03:32:18 PDT 2020
grimar added a comment.
In D85519#2230120 <https://reviews.llvm.org/D85519#2230120>, @jhenderson wrote:
> Looks okay, but what was causing the UBSAN failure?
This line:
const uint8_t *Addr = Obj->base() + Offset;
I believe pointers are not allowed to overflow.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85519/new/
https://reviews.llvm.org/D85519
More information about the llvm-commits
mailing list