[DynInst_API:] [dyninst/dyninst] 1c8f83: Remove binaryEdit::deleteBinaryEdit (#866)


Date: Tue, 29 Sep 2020 13:23:27 -0700
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] 1c8f83: Remove binaryEdit::deleteBinaryEdit (#866)
  Branch: refs/heads/api_breakages
  Home:   https://github.com/dyninst/dyninst
  Commit: 1c8f83e95963cf2b68fdc4a160ce41326803f5e1
      https://github.com/dyninst/dyninst/commit/1c8f83e95963cf2b68fdc4a160ce41326803f5e1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M dyninstAPI/src/binaryEdit.C
    M dyninstAPI/src/binaryEdit.h

  Log Message:
  -----------
  Remove binaryEdit::deleteBinaryEdit (#866)

This moves the same functionality into the destructor and prevents possible memory corruption when its usage would promote in-place object reuse. Originally part of #317.


  Commit: 7aea621972f94cf968a2ad1a186ca449893bf43f
      https://github.com/dyninst/dyninst/commit/7aea621972f94cf968a2ad1a186ca449893bf43f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M dyninstAPI/h/BPatch_snippet.h
    M dyninstAPI/src/BPatch_snippet.C

  Log Message:
  -----------
  Remove deprecated BPatch_snippet::getCost* (#832)

These were deprecated by 52f3437 in 2010.


  Commit: 7c12ff391b980dc0cd7827c7c72c24b20555d60e
      https://github.com/dyninst/dyninst/commit/7c12ff391b980dc0cd7827c7c72c24b20555d60e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M dyninstAPI/h/BPatch_process.h
    M dyninstAPI/src/BPatch_process.C

  Log Message:
  -----------
  Remove deprecated BPatch_process::enableDumpPatchedImage (#831)

This was deprecated by 4d83371 in 2011.


  Commit: f3851ee9060f94bb02dda23da5c6d4dcb218b00b
      https://github.com/dyninst/dyninst/commit/f3851ee9060f94bb02dda23da5c6d4dcb218b00b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M dyninstAPI/src/addressSpace.C
    M dyninstAPI/src/addressSpace.h
    M dyninstAPI/src/binaryEdit.C
    M dyninstAPI/src/binaryEdit.h
    M dyninstAPI/src/dynProcess.C
    M dyninstAPI/src/dynProcess.h

  Log Message:
  -----------
  Remove AddressSpace::getAddressWidth from public API (#797)

This was originally part of https://github.com/dyninst/dyninst/pull/317.


  Commit: 34193dec769ad23c6b158b61f7a6c190a93e2726
      https://github.com/dyninst/dyninst/commit/34193dec769ad23c6b158b61f7a6c190a93e2726
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M dyninstAPI/src/addressSpace.C
    M dyninstAPI/src/addressSpace.h
    M dyninstAPI/src/binaryEdit.C
    M dyninstAPI/src/binaryEdit.h
    M patchAPI/h/Command.h

  Log Message:
  -----------
  Fix memory leak of AddressSpace::patcher_ (#795)

This was originally part of https://github.com/dyninst/dyninst/pull/317.
This is an API-breaking change since AddressSpace is exported through
the BPatch interface.


  Commit: 838cfb2658198c7e8a3d753dd09021bffb00dd96
      https://github.com/dyninst/dyninst/commit/838cfb2658198c7e8a3d753dd09021bffb00dd96
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M dyninstAPI/src/codegen-aarch64.C
    M dyninstAPI/src/codegen-power.C
    M dyninstAPI/src/codegen-x86.C

  Log Message:
  -----------
  Remove deprecated insnCodeGen::generate (#836)

dyninstAPI/src/codegen-power.C: Removed by 5274e3b in 2011.
dyninstAPI/src/codegen-aarch64.C: Removed by 0cbe684 in 2015.
dyninstAPI/src/codegen-x86.C: git can't figure out when this was removed.


  Commit: 1154f6c46dca4e7a3709ddb5a03f37c49c760214
      https://github.com/dyninst/dyninst/commit/1154f6c46dca4e7a3709ddb5a03f37c49c760214
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M dyninstAPI/h/BPatch_addressSpace.h
    M dyninstAPI/src/BPatch_addressSpace.C
    M dyninstAPI/src/BPatch_frame.C

  Log Message:
  -----------
  Remove BPatch_addressSpace::findFunctionByAddr (#837)

This was deprecated by 7f20129 in 2010. Users should instead use either
BPatch_addressSpace::findFunctionByEntry or
BPatch_addressSpace::findFunctionsByAddr.


  Commit: 41d9a930c6cc808cdbd90c37506cc2af79ac305b
      https://github.com/dyninst/dyninst/commit/41d9a930c6cc808cdbd90c37506cc2af79ac305b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M dyninstAPI/h/BPatch_snippet.h
    M dyninstAPI/src/BPatch_snippet.C

  Log Message:
  -----------
  Remove deprecated BPatch_regExpr (#838)

This was deprecated by 4d15de8 in 2008.


  Commit: eba3aaa06fe382daf3a6a8f9168e644d2e29d121
      https://github.com/dyninst/dyninst/commit/eba3aaa06fe382daf3a6a8f9168e644d2e29d121
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M common/h/Annotatable.h
    R common/h/Serialization.h
    M common/src/Annotatable.C
    R common/src/serialize-bin.C
    R common/src/serialize-xml.C
    R common/src/serialize.h
    M patchAPI/test/findPoint/Makefile
    M symtabAPI/h/Aggregate.h
    M symtabAPI/h/Collections.h
    M symtabAPI/h/Function.h
    M symtabAPI/h/LineInformation.h
    M symtabAPI/h/Module.h
    M symtabAPI/h/Region.h
    M symtabAPI/h/Symbol.h
    M symtabAPI/h/Symtab.h
    M symtabAPI/h/Type.h
    M symtabAPI/h/Variable.h
    M symtabAPI/src/Aggregate.C
    M symtabAPI/src/Collections.C
    M symtabAPI/src/LineInformation.C
    M symtabAPI/src/Module.C
    M symtabAPI/src/Object.C
    M symtabAPI/src/Region.C
    M symtabAPI/src/Symbol.C
    M symtabAPI/src/Symtab-deprecated.C
    M symtabAPI/src/Symtab-edit.C
    M symtabAPI/src/Symtab-lookup.C
    M symtabAPI/src/Symtab.C
    M symtabAPI/src/Type.C
    M symtabAPI/src/Variable.C
    M symtabAPI/src/annotations.C
    M symtabAPI/src/annotations.h
    M symtabAPI/src/relocationEntry-elf-aarch64.C
    M symtabAPI/src/relocationEntry-elf-ppc32.C
    M symtabAPI/src/relocationEntry-elf-ppc64.C
    M symtabAPI/src/relocationEntry-elf-x86.C

  Log Message:
  -----------
  Remove serialization (#805)

* Remove all code guarded by SERIALIZATION_DISABLED
* Remove code protected by cap_serialization
* Remove serialize-bin
* Remove serialization classes and their uses
* Simplify Symtab::getObject
    Because serialization doesn't exist, their is only one codepath here
    now.


Compare: https://github.com/dyninst/dyninst/compare/07b506e72950...eba3aaa06fe3
[← Prev in Thread] Current Thread [Next in Thread→]