[all-commits] [llvm/llvm-project] 5cd3db: [llvm][ELF]Add Shdr check for getBuildID (#126537)

Ruoyu Qiu via All-commits all-commits at lists.llvm.org
Fri Oct 3 02:02:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cd3db3bed62c07790c17bf1947e98bc903472a9
      https://github.com/llvm/llvm-project/commit/5cd3db3bed62c07790c17bf1947e98bc903472a9
  Author: Ruoyu Qiu <cabbaken at outlook.com>
  Date:   2025-10-03 (Fri, 03 Oct 2025)

  Changed paths:
    M llvm/lib/Object/BuildID.cpp
    M llvm/test/DebugInfo/symbolize-build-id.test
    A llvm/unittests/Object/BuildIDTest.cpp
    M llvm/unittests/Object/CMakeLists.txt

  Log Message:
  -----------
  [llvm][ELF]Add Shdr check for getBuildID (#126537)

Add Section Header check for getBuildID, fix crash with invalid Program
Header.

Fixes: #126418

---------

Signed-off-by: Ruoyu Qiu <cabbaken at outlook.com>
Signed-off-by: Ruoyu Qiu <qiuruoyu at xiaomi.com>
Co-authored-by: Ruoyu Qiu <qiuruoyu at xiaomi.com>
Co-authored-by: James Henderson <James.Henderson at sony.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list