[llvm] [llvm][ELF]Add Shdr check for getBuildID (PR #126537)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 00:46:32 PDT 2025
================
@@ -40,7 +40,7 @@ static StringRef getInvalidNoteELF(bool WithShdr) {
Machine: EM_X86_64
ProgramHeaders:
- Type: PT_NOTE
- FileSize: 0xffffffffffffffff
+ FileSize: 0xffffffffffffff88
----------------
jh7370 wrote:
Oh, I should add that the current case is a good way of testing the overflow boundary case in the other PR.
https://github.com/llvm/llvm-project/pull/126537
More information about the llvm-commits
mailing list