[all-commits] [llvm/llvm-project] 88e226: Revert D106128 "[lld-macho] Use DO_BIND_ADD_ADDR_I...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jul 19 18:14:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88e2268a344a0ab3df455af08f32c2c354ea55a4
      https://github.com/llvm/llvm-project/commit/88e2268a344a0ab3df455af08f32c2c354ea55a4
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

  Changed paths:
    M lld/MachO/SyntheticSections.cpp
    M lld/test/MachO/bind-opcodes.s

  Log Message:
  -----------
  Revert D106128 "[lld-macho] Use DO_BIND_ADD_ADDR_IMM_SCALED for bind opcodes"

This reverts commit 321b2bef098553ec648e4174aae92c63a6e1a810.

`for (BindIR *p = &opcodes[0]; p->opcode != BIND_OPCODE_DONE; ++p) {` has a heap-buffer-overflow with test/MachO/bind-opcodes.




More information about the All-commits mailing list