[PATCH] D49607: [ELF] Check eh_frame_hdr overflow with PC offsets instead of PC absolute addresses

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 12:40:26 PDT 2018


MaskRay updated this revision to Diff 156569.
MaskRay added a comment.

Use uint32_t for PcRel and FdeVARel


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D49607

Files:
  ELF/SyntheticSections.cpp
  ELF/SyntheticSections.h
  test/ELF/Inputs/eh-frame-pcrel-overflow.s
  test/ELF/eh-frame-pcaddr-overflow.s
  test/ELF/eh-frame-pcrel-overflow.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49607.156569.patch
Type: text/x-patch
Size: 5348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180720/65c72880/attachment.bin>


More information about the llvm-commits mailing list