[DynInst_API:] [dyninst/dyninst] e86151: Remove deprecated BPatch_snippet::getCost* (#832)


Date: Thu, 15 Oct 2020 18:29:31 -0700
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] e86151: Remove deprecated BPatch_snippet::getCost* (#832)
  Branch: refs/heads/api_breakages
  Home:   https://github.com/dyninst/dyninst
  Commit: e861514f0090fb6f3d7aa14555187c32b0ed9561
      https://github.com/dyninst/dyninst/commit/e861514f0090fb6f3d7aa14555187c32b0ed9561
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-15 (Thu, 15 Oct 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: 03b2ab8aaaee3ff701d7a6361df30a433488fb3c
      https://github.com/dyninst/dyninst/commit/03b2ab8aaaee3ff701d7a6361df30a433488fb3c
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-15 (Thu, 15 Oct 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: 7270afcf37264930e42476ff8ce16fda626f077c
      https://github.com/dyninst/dyninst/commit/7270afcf37264930e42476ff8ce16fda626f077c
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-15 (Thu, 15 Oct 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: 5250435d9d21156015c150b1f8d06fd7ae563a4f
      https://github.com/dyninst/dyninst/commit/5250435d9d21156015c150b1f8d06fd7ae563a4f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-15 (Thu, 15 Oct 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: e172b7a3221fae96d67ffb43fe313d4b48ffd45f
      https://github.com/dyninst/dyninst/commit/e172b7a3221fae96d67ffb43fe313d4b48ffd45f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-15 (Thu, 15 Oct 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: 31225805e058cdf15b46555e6e6034157724a6a0
      https://github.com/dyninst/dyninst/commit/31225805e058cdf15b46555e6e6034157724a6a0
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-15 (Thu, 15 Oct 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: 95f1bf0a9c065ff5e9b7f6899ae28e31f6889de4
      https://github.com/dyninst/dyninst/commit/95f1bf0a9c065ff5e9b7f6899ae28e31f6889de4
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-15 (Thu, 15 Oct 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: 8666a48cbba44d0e90ccdbae95f13a658b29fe66
      https://github.com/dyninst/dyninst/commit/8666a48cbba44d0e90ccdbae95f13a658b29fe66
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-15 (Thu, 15 Oct 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.


  Commit: 2e2edcf068c6cf51a54c9f8991a8640e454b328f
      https://github.com/dyninst/dyninst/commit/2e2edcf068c6cf51a54c9f8991a8640e454b328f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-15 (Thu, 15 Oct 2020)

  Changed paths:
    M parseAPI/h/CFGFactory.h
    M parseAPI/src/CFGFactory.C

  Log Message:
  -----------
  Remove CFGFactor::destroy_all (#881)

This removes the possiblity of object reuse and its associated undefined
behavior. This was originally part of #317.


Compare: https://github.com/dyninst/dyninst/compare/3ba134d41a39...2e2edcf068c6
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] e86151: Remove deprecated BPatch_snippet::getCost* (#832), noreply <=