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


Date: Mon, 26 Oct 2020 14:00:27 -0700
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] 8b57a0: Remove deprecated BPatch_snippet::getCost* (#832)
  Branch: refs/heads/api_breakages
  Home:   https://github.com/dyninst/dyninst
  Commit: 8b57a05d490421a750b2d2665249b08a69b94c9a
      https://github.com/dyninst/dyninst/commit/8b57a05d490421a750b2d2665249b08a69b94c9a
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-26 (Mon, 26 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: 72e49eca66ec421657431e52d78a1f14eda6290f
      https://github.com/dyninst/dyninst/commit/72e49eca66ec421657431e52d78a1f14eda6290f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-26 (Mon, 26 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: 3c0c832aebb90f17529ca11ab147fe657e9d90d4
      https://github.com/dyninst/dyninst/commit/3c0c832aebb90f17529ca11ab147fe657e9d90d4
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-26 (Mon, 26 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: 20425966e61bf2bc15e104432a2745d8dde5d17f
      https://github.com/dyninst/dyninst/commit/20425966e61bf2bc15e104432a2745d8dde5d17f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-26 (Mon, 26 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: df3c22fcc5752901e59265e331750668283afdaa
      https://github.com/dyninst/dyninst/commit/df3c22fcc5752901e59265e331750668283afdaa
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-26 (Mon, 26 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: 923dcee936da9168b79176d0dd1db971dfe95255
      https://github.com/dyninst/dyninst/commit/923dcee936da9168b79176d0dd1db971dfe95255
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-26 (Mon, 26 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: 4ca4ba3cb1374904e95a6634036f90e000e84c78
      https://github.com/dyninst/dyninst/commit/4ca4ba3cb1374904e95a6634036f90e000e84c78
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-26 (Mon, 26 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: 8409f759c70e0cf88733906ecf9b5fcb44b6f239
      https://github.com/dyninst/dyninst/commit/8409f759c70e0cf88733906ecf9b5fcb44b6f239
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-26 (Mon, 26 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: 7710bd56309afb90b793ff06a9ef43d5e756281f
      https://github.com/dyninst/dyninst/commit/7710bd56309afb90b793ff06a9ef43d5e756281f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-26 (Mon, 26 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/0d14ca1535ff...7710bd56309a
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 8b57a0: Remove deprecated BPatch_snippet::getCost* (#832), noreply <=