[llvm] [llvm][ELF]Add Shdr check for getBuildID (PR #126537)

Ruoyu Qiu via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 27 20:30:33 PDT 2025


================
@@ -40,7 +40,7 @@ static StringRef getInvalidNoteELF(bool WithShdr) {
   Machine:        EM_X86_64
 ProgramHeaders:
   - Type:         PT_NOTE
-    FileSize:     0xffffffffffffffff
+    FileSize:     0xffffffffffffff88
----------------
cabbaken wrote:

Now that I add the boundary check in another PR, should I remove the boundary value here?

https://github.com/llvm/llvm-project/pull/126537


More information about the llvm-commits mailing list