[DynInst_API:] [dyninst/dyninst] 760bfd: A couple fixes for binary rewriting of statically ...


Date: Mon, 28 Jan 2019 20:30:49 -0800
From: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 760bfd: A couple fixes for binary rewriting of statically ...
  Branch: refs/heads/ppcle_rhel8_fix
  Home:   https://github.com/dyninst/dyninst
  Commit: 760bfda6e409b4b61a6acd093548afa5860b4af1
      https://github.com/dyninst/dyninst/commit/760bfda6e409b4b61a6acd093548afa5860b4af1
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2019-01-29 (Tue, 29 Jan 2019)

  Changed paths:
    M dwarf/src/dwarfFrameParser.C
    M dyninstAPI/src/parse-power.C
    M dyninstAPI_RT/src/RTcommon.c
    M dyninstAPI_RT/src/RTstatic_ctors_dtors-ppc64.c
    M symtabAPI/src/Object-elf.C
    M symtabAPI/src/emitElf.C
    M symtabAPI/src/emitElfStatic-ppc64.C
    M symtabAPI/src/emitElfStatic.C

  Log Message:
  -----------
  A couple fixes for binary rewriting of statically linked binaries on ppcle

1. The handling of the libc global constructor and destructor is out-of-date. Follow the handling for x86-64.
2. Replace [] operator with insert() for std::map. [] operator caused weird memory corruptions
3. Symbols defined in .bss sections should not be considered undefined symbosl
4. Add and fix handling for a couple of ppc64 relocation entries


  Commit: 219df01f7502451e05603ecbcac86446d2dc9800
      https://github.com/dyninst/dyninst/commit/219df01f7502451e05603ecbcac86446d2dc9800
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2019-01-29 (Tue, 29 Jan 2019)

  Changed paths:
    M proccontrol/src/process.C

  Log Message:
  -----------
  Fix crash caused by erasing an iterator from a std::map while looping the iterator


Compare: https://github.com/dyninst/dyninst/compare/760bfda6e409^...219df01f7502
      **NOTE:** GitHub Services has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      We will provide an alternative path for the email notifications by January 31st, 2019.
[← Prev in Thread] Current Thread [Next in Thread→]