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


Date: Tue, 17 Nov 2020 11:51:26 -0800
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] 6fc454: Remove deprecated BPatch_snippet::getCost* (#832)
  Branch: refs/heads/api_breakages
  Home:   https://github.com/dyninst/dyninst
  Commit: 6fc45418aaaa6e61197edc1b0dc7e61c7012c00f
      https://github.com/dyninst/dyninst/commit/6fc45418aaaa6e61197edc1b0dc7e61c7012c00f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-11-17 (Tue, 17 Nov 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: 2fd16b0dae2628a21851ec5399773e4288e6933f
      https://github.com/dyninst/dyninst/commit/2fd16b0dae2628a21851ec5399773e4288e6933f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-11-17 (Tue, 17 Nov 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: 32dc123764e866f5ad0b632cdab6bd4b0a616729
      https://github.com/dyninst/dyninst/commit/32dc123764e866f5ad0b632cdab6bd4b0a616729
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-11-17 (Tue, 17 Nov 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: 630d710fcba765fa84aff02402decc4ff365dc6f
      https://github.com/dyninst/dyninst/commit/630d710fcba765fa84aff02402decc4ff365dc6f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-11-17 (Tue, 17 Nov 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: 59c5fec7fc37c189cebaced4898a0c1e632d0fce
      https://github.com/dyninst/dyninst/commit/59c5fec7fc37c189cebaced4898a0c1e632d0fce
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-11-17 (Tue, 17 Nov 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: 369a6b83c449dfc88abb3adaf3782cf7c0b9123f
      https://github.com/dyninst/dyninst/commit/369a6b83c449dfc88abb3adaf3782cf7c0b9123f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-11-17 (Tue, 17 Nov 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: a659ef73da39da20570b11a6a9ca7113504dd572
      https://github.com/dyninst/dyninst/commit/a659ef73da39da20570b11a6a9ca7113504dd572
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-11-17 (Tue, 17 Nov 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: 392518e426ce2a743678c270ed6a817b8e11f4ab
      https://github.com/dyninst/dyninst/commit/392518e426ce2a743678c270ed6a817b8e11f4ab
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-11-17 (Tue, 17 Nov 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: 9c6e90080d9e056e472e1f80c02a9b23ad7664e4
      https://github.com/dyninst/dyninst/commit/9c6e90080d9e056e472e1f80c02a9b23ad7664e4
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-11-17 (Tue, 17 Nov 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/74d7d19508a3...9c6e90080d9e
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 6fc454: Remove deprecated BPatch_snippet::getCost* (#832), noreply <=