[DynInst_API:] [dyninst/dyninst] d87dae: fix missing installation of libdw when installing ...


Date: Thu, 14 Feb 2019 23:05:38 +0000 (UTC)
From: Sasha NÃcolas <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] d87dae: fix missing installation of libdw when installing ...
  Branch: refs/heads/ARM_effcAddr
  Home:   https://github.com/dyninst/dyninst
  Commit: d87dae5a72b2afbe621738241f708f8c7c87f812
      https://github.com/dyninst/dyninst/commit/d87dae5a72b2afbe621738241f708f8c7c87f812
  Author: rafzi <dummdoof-doof@xxxxxx>
  Date:   2019-01-22 (Tue, 22 Jan 2019)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  fix missing installation of libdw when installing elfutils


  Commit: 2c413e18b5098458d35d6dca9f53935eb3319a96
      https://github.com/dyninst/dyninst/commit/2c413e18b5098458d35d6dca9f53935eb3319a96
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2019-01-23 (Wed, 23 Jan 2019)

  Changed paths:
    R .travis.yml
    R appveyor.yml

  Log Message:
  -----------
  Remove Travis and AppVeyor CI

This will be replaced with the Gitlab CI


  Commit: 65909e9fe54bda0e1dd34bd42bdfee2431e39b5c
      https://github.com/dyninst/dyninst/commit/65909e9fe54bda0e1dd34bd42bdfee2431e39b5c
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  Ignore Eclipse settings files and folders


  Commit: 09c1730b8627c6703deb702d3d19c5a423186ec3
      https://github.com/dyninst/dyninst/commit/09c1730b8627c6703deb702d3d19c5a423186ec3
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  Merge pull request #539 from hainest/gitignore_eclipse

Ignore Eclipse settings files and folders


  Commit: 1c57b50ba5dc640abec5b2433c887b7f72916162
      https://github.com/dyninst/dyninst/commit/1c57b50ba5dc640abec5b2433c887b7f72916162
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    R .travis.yml
    R appveyor.yml

  Log Message:
  -----------
  Merge pull request #537 from hainest/remove_ci

Remove Travis and AppVeyor CI


  Commit: 418b41ea662fd901057e8d2cdcb02740693fc267
      https://github.com/dyninst/dyninst/commit/418b41ea662fd901057e8d2cdcb02740693fc267
  Author: Sasha Nicolas <sasha@xxxxxxxxxxx>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M dyninstAPI/src/emit-x86.h

  Log Message:
  -----------
  These functions were moved to the Emitter class.


  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


  Commit: 8406a8facd884374c6767b5b5ed947bfda4c2d3c
      https://github.com/dyninst/dyninst/commit/8406a8facd884374c6767b5b5ed947bfda4c2d3c
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M dyninstAPI/src/parse-power.C
    M symtabAPI/src/Object-elf.C
    M symtabAPI/src/emitElfStatic-ppc64.C
    M symtabAPI/src/emitElfStatic.C

  Log Message:
  -----------
  More fixes on ppcle rewriting of statically linked binaries

1. Revert the change made in "760bfda6e409b4b61a6acd093548afa5860b4af1" about undefined symbols.
Section with number 0 is NULL section, not .bss. So, symbols with section number 0 are indeed
undefined symbols.
2. libc.a depends on libgcc.a on fedora 28 ppcle. So, also open libgcc.a to resolve undefined symbols.
3. Fix the handling of relocation entry "R_PPC64_REL24". R_PPC64_REL24 means the caller has set
up R2, so we should call the local entry point. Calling the global entry may lead to wrong r2, because
r12 is not properly set at the call site.
4. IFUNC should not be treated as a need for PLT.


  Commit: 6b6667dd8e7d365f3dabd010aca1f4993ba2bd23
      https://github.com/dyninst/dyninst/commit/6b6667dd8e7d365f3dabd010aca1f4993ba2bd23
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2019-01-30 (Wed, 30 Jan 2019)

  Changed paths:
    M symtabAPI/src/emitElfStatic-x86.C

  Log Message:
  -----------
  Do not generate new PLTs for IFUNC when rewriting statically linked
binaries on x86. IFUNC should be handled by the loader, not the
linker, which is Dyninst when rewriting statically linked binaries.


  Commit: 54a2debd94c3e8df3b6f1e579f1db02dae61cbb7
      https://github.com/dyninst/dyninst/commit/54a2debd94c3e8df3b6f1e579f1db02dae61cbb7
  Author: Mark W. Krentel <krentel@xxxxxxxx>
  Date:   2019-02-01 (Fri, 01 Feb 2019)

  Changed paths:
    M dataflowAPI/rose/util/Message.C
    M dataflowAPI/rose/util/Message.h

  Log Message:
  -----------
  Add some explicit casts from boost::tribool to bool for some code in (#541)

Add some explicit casts from boost::tribool to bool for some code in dataflowAPI/rose/util/Message.[Ch].  This was breaking the build when using boost >= 1.69.


  Commit: 1acaa0ae55c63828838aac09bb804940d45c0b75
      https://github.com/dyninst/dyninst/commit/1acaa0ae55c63828838aac09bb804940d45c0b75
  Author: Keren Zhou <robinho364@xxxxxxxxx>
  Date:   2019-02-04 (Mon, 04 Feb 2019)

  Changed paths:
    M parseAPI/h/CFG.h
    M parseAPI/src/Parser.C

  Log Message:
  -----------
  Adjust Dyninst to support injecting CFGs for CUBINs

See PR #530 for details.


  Commit: f3a01e30833221d1fe39026bb478e535131a3620
      https://github.com/dyninst/dyninst/commit/f3a01e30833221d1fe39026bb478e535131a3620
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M common/src/addrtranslate-linux.C
    M common/src/addrtranslate-sysv.C
    M common/src/pathName.C
    M common/src/pathName.h
    M common/src/serialize-bin.C
    M dyninstAPI/src/freebsd.C
    M proccontrol/src/linux.C
    M proccontrol/src/loadLibrary/codegen-freebsd.C

  Log Message:
  -----------
  Fix several bugs in common/src/pathName.C

FIXED:
1. Tilde expansion is done _before_ the existence check.
	Since `stat` does not do shell expansions, resolve_file_path("~")
    always returned an empty string instead of the expanded path.

2. Tilde detection logic was inverted

3. Remove possible buffer overflow when making path relative to CWD

ADDED features:

1. Removes leading and trailing whitespace

2. Add basic support for Windows file system by using Boost::filesystem
	Expansion of Windows-specific shell variables, e.g. %HOME%, is _not_
    supported.

3. Leverage move semantics to reduce copying
	This reduces the maximum number of string copies from 5 to 3. When
	resolve_file_path is invoked with an r-value, there are only two
    copies.


  Commit: 86512d5fea1c675950291ac735ba15ee1205a8c7
      https://github.com/dyninst/dyninst/commit/86512d5fea1c675950291ac735ba15ee1205a8c7
  Author: Xiaozhu Meng <mxz297@xxxxxxxxx>
  Date:   2019-02-06 (Wed, 06 Feb 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 proccontrol/src/process.C
    M symtabAPI/src/Object-elf.C
    M symtabAPI/src/emitElf.C
    M symtabAPI/src/emitElfStatic-ppc64.C
    M symtabAPI/src/emitElfStatic-x86.C
    M symtabAPI/src/emitElfStatic.C

  Log Message:
  -----------
  Merge pull request #543 from dyninst/ppcle_rhel8_fix

Ppcle rhel8 fix


  Commit: ad753b233f77bc38fb8130671fc4acdfa57d031e
      https://github.com/dyninst/dyninst/commit/ad753b233f77bc38fb8130671fc4acdfa57d031e
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M symtabAPI/src/Symtab-edit.C

  Log Message:
  -----------
  Do not put newly added functions to .dynsym, which may cause the load
to behave abnormally due to duplicated symbols.

Note that adding symbols to .dynsym can be a legit use case, where
we expose hidden functions in shared libraries. But this use case
needs more development to support.


  Commit: d6f7ae96cc9d06e827e8b0cad7aaaf7d3d020e6a
      https://github.com/dyninst/dyninst/commit/d6f7ae96cc9d06e827e8b0cad7aaaf7d3d020e6a
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M dataflowAPI/rose/semantics/DispatcherPowerpc.C
    M dyninstAPI/src/codegen-aarch64.C
    M dyninstAPI/src/codegen-x86.C
    M dyninstAPI/src/inst-x86.C
    M instructionAPI/src/InstructionDecoder-aarch64.h

  Log Message:
  -----------
  Remove undefined behavior from bit-shifting code

PR #536 

Overflow of signed integer arithmetic (including shifting) is
undefined behavior in C++. Compilers are allowed to exploit
this UB for optimization purposes up to and including not
emitting any opcodes.

These were found using cppcheck.


  Commit: 8ff6621c65b04d100ff164e771482f97bef8cd02
      https://github.com/dyninst/dyninst/commit/8ff6621c65b04d100ff164e771482f97bef8cd02
  Author: Xiaozhu Meng <mxz297@xxxxxxxxx>
  Date:   2019-02-08 (Fri, 08 Feb 2019)

  Changed paths:
    M symtabAPI/src/Symtab-edit.C

  Log Message:
  -----------
  Merge pull request #548 from dyninst/dynsym_fix

Do not put newly added functions to .dynsym, which may cause the load


  Commit: dacda72f4c2a7f60838a62f774f3e48b51e849f9
      https://github.com/dyninst/dyninst/commit/dacda72f4c2a7f60838a62f774f3e48b51e849f9
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2019-02-08 (Fri, 08 Feb 2019)

  Changed paths:
    M parseAPI/src/Parser.C

  Log Message:
  -----------
  Revert the change from PR530 that will cause crashes in rewriting
statically linked binaries.


  Commit: c37102282b00b285f335c2981cab9327aa57dd11
      https://github.com/dyninst/dyninst/commit/c37102282b00b285f335c2981cab9327aa57dd11
  Author: Sasha Nicolas <sasha@xxxxxxxxxxx>
  Date:   2019-02-12 (Tue, 12 Feb 2019)

  Changed paths:
    M dwarf/h/dwarfFrameParser.h
    M symtabAPI/src/dwarfWalker.C

  Log Message:
  -----------
  Fix separate debuginfo
Adding correct FrameFarser to static map
Parsing modules of correct debug file


  Commit: 4f4418cd2cd9252bdf6f84e16d16e3a1be31a0ed
      https://github.com/dyninst/dyninst/commit/4f4418cd2cd9252bdf6f84e16d16e3a1be31a0ed
  Author: Sasha @leela <sasha@xxxxxxxxxxx>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M .gitignore
    R .travis.yml
    M CMakeLists.txt
    R appveyor.yml
    M common/src/addrtranslate-linux.C
    M common/src/addrtranslate-sysv.C
    M common/src/pathName.C
    M common/src/pathName.h
    M common/src/serialize-bin.C
    M dataflowAPI/rose/semantics/DispatcherPowerpc.C
    M dataflowAPI/rose/util/Message.C
    M dataflowAPI/rose/util/Message.h
    M dwarf/h/dwarfFrameParser.h
    M dwarf/src/dwarfFrameParser.C
    M dyninstAPI/src/codegen-aarch64.C
    M dyninstAPI/src/codegen-x86.C
    M dyninstAPI/src/emit-x86.h
    M dyninstAPI/src/freebsd.C
    M dyninstAPI/src/inst-x86.C
    M dyninstAPI/src/parse-power.C
    M dyninstAPI_RT/src/RTcommon.c
    M dyninstAPI_RT/src/RTstatic_ctors_dtors-ppc64.c
    M instructionAPI/src/InstructionDecoder-aarch64.h
    M parseAPI/h/CFG.h
    M parseAPI/src/Parser.C
    M proccontrol/src/linux.C
    M proccontrol/src/loadLibrary/codegen-freebsd.C
    M proccontrol/src/process.C
    M symtabAPI/src/Object-elf.C
    M symtabAPI/src/Symtab-edit.C
    M symtabAPI/src/dwarfWalker.C
    M symtabAPI/src/emitElf.C
    M symtabAPI/src/emitElfStatic-ppc64.C
    M symtabAPI/src/emitElfStatic-x86.C
    M symtabAPI/src/emitElfStatic.C

  Log Message:
  -----------
  Merge branch 'ARMv8' into ARM_effcAddr


Compare: https://github.com/dyninst/dyninst/compare/154e41f7923c...4f4418cd2cd9
[← Prev in Thread] Current Thread [Next in Thread→]