[all-commits] [llvm/llvm-project] 817ef8: [Object][ELF] Fix section header zero check

aokblast via All-commits all-commits at lists.llvm.org
Sat Mar 7 07:06:28 PST 2026


  Branch: refs/heads/users/aokblast/elf/fix_error
  Home:   https://github.com/llvm/llvm-project
  Commit: 817ef8ccc1eafde5a0329e9c05c633b3523afde2
      https://github.com/llvm/llvm-project/commit/817ef8ccc1eafde5a0329e9c05c633b3523afde2
  Author: ShengYi Hung <aokblast at FreeBSD.org>
  Date:   2026-03-07 (Sat, 07 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h

  Log Message:
  -----------
  [Object][ELF] Fix section header zero check

The PN_XNUM is a necessary condition for reading shdr0 regardless of the
value of e_shoff. Without this, readShdrZero falsely returns the garbage
value in ELF header instead of emitting warning.


  Commit: 5d8adcb1ea93fc6071642fd78b8d670fc882995f
      https://github.com/llvm/llvm-project/commit/5d8adcb1ea93fc6071642fd78b8d670fc882995f
  Author: ShengYi Hung <aokblast at FreeBSD.org>
  Date:   2026-03-07 (Sat, 07 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h

  Log Message:
  -----------
  fixup! [Object][ELF] Fix section header zero check


  Commit: 004bfd2d821138ea25ae083c24307733989d343b
      https://github.com/llvm/llvm-project/commit/004bfd2d821138ea25ae083c24307733989d343b
  Author: ShengYi Hung <aokblast at FreeBSD.org>
  Date:   2026-03-07 (Sat, 07 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h

  Log Message:
  -----------
  fixup! [Object][ELF] Fix section header zero check


  Commit: 7804b281dc8e6294759659edf4b697769891f603
      https://github.com/llvm/llvm-project/commit/7804b281dc8e6294759659edf4b697769891f603
  Author: ShengYi Hung <aokblast at FreeBSD.org>
  Date:   2026-03-07 (Sat, 07 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h

  Log Message:
  -----------
  fixup! [Object][ELF] Fix section header zero check


  Commit: c4bae7f1e4df78c68a685c8d66a15560f5270b79
      https://github.com/llvm/llvm-project/commit/c4bae7f1e4df78c68a685c8d66a15560f5270b79
  Author: ShengYi Hung <aokblast at FreeBSD.org>
  Date:   2026-03-07 (Sat, 07 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h

  Log Message:
  -----------
  fixup! [Object][ELF] Fix section header zero check


  Commit: 7b081bf6092c34f7c2f3620fb2554118755014b0
      https://github.com/llvm/llvm-project/commit/7b081bf6092c34f7c2f3620fb2554118755014b0
  Author: ShengYi Hung <aokblast at FreeBSD.org>
  Date:   2026-03-07 (Sat, 07 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h
    M llvm/test/tools/llvm-readobj/ELF/many-sections.s

  Log Message:
  -----------
  fixup! [Object][ELF] Fix section header zero check


Compare: https://github.com/llvm/llvm-project/compare/1f0ce12c6098...7b081bf6092c

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