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


Date: Thu, 29 Oct 2020 18:12:52 -0700
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] 6cb653: Remove deprecated BPatch_snippet::getCost* (#832)
  Branch: refs/heads/api_breakages
  Home:   https://github.com/dyninst/dyninst
  Commit: 6cb653a9745650cf450df2f00a130c6cda122b5b
      https://github.com/dyninst/dyninst/commit/6cb653a9745650cf450df2f00a130c6cda122b5b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-29 (Thu, 29 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: 0e22da9df6f3102a98d1b96704f4233421b372b1
      https://github.com/dyninst/dyninst/commit/0e22da9df6f3102a98d1b96704f4233421b372b1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-29 (Thu, 29 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: 59edfc0cf4f001631670b016e3d8d66932657e67
      https://github.com/dyninst/dyninst/commit/59edfc0cf4f001631670b016e3d8d66932657e67
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-29 (Thu, 29 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: bb62252c6dafd3fc0637c632b7a241188b6aa994
      https://github.com/dyninst/dyninst/commit/bb62252c6dafd3fc0637c632b7a241188b6aa994
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-29 (Thu, 29 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: 1481cbb68edaf2d1918e0403eacc4c39982a893d
      https://github.com/dyninst/dyninst/commit/1481cbb68edaf2d1918e0403eacc4c39982a893d
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-29 (Thu, 29 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: 1957b494ebe02323be688e811ca5f3e09b692b2d
      https://github.com/dyninst/dyninst/commit/1957b494ebe02323be688e811ca5f3e09b692b2d
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-29 (Thu, 29 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: 777af09ba64a367e9ecdd683f01e785293d0863d
      https://github.com/dyninst/dyninst/commit/777af09ba64a367e9ecdd683f01e785293d0863d
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-29 (Thu, 29 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: 4005d5fd77a08575f892edeaa91bbe9e90501e02
      https://github.com/dyninst/dyninst/commit/4005d5fd77a08575f892edeaa91bbe9e90501e02
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-29 (Thu, 29 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: 74d7d19508a3810249f891014b41b9c6d096606d
      https://github.com/dyninst/dyninst/commit/74d7d19508a3810249f891014b41b9c6d096606d
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-29 (Thu, 29 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/7710bd56309a...74d7d19508a3
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 6cb653: Remove deprecated BPatch_snippet::getCost* (#832), noreply <=