[DynInst_API:] [dyninst/dyninst] a7aa86: Remove emitter::emitPIC


Date: Wed, 22 Oct 2025 11:09:22 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] a7aa86: Remove emitter::emitPIC
  Branch: refs/heads/thaines/emitter_cleanup
  Home:   https://github.com/dyninst/dyninst
  Commit: a7aa866eb6aad8dff8c2ed0b0b511f1aaa0636d1
      https://github.com/dyninst/dyninst/commit/a7aa866eb6aad8dff8c2ed0b0b511f1aaa0636d1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/emit-aarch64.h
    M dyninstAPI/src/emit-x86.h
    M dyninstAPI/src/emitter.h

  Log Message:
  -----------
  Remove emitter::emitPIC

It was added by 1bdb443c713 in 2010, but has always been commented-out.


  Commit: a2e61a0e08bd33e4c025d95f7e18bc9d3bba4c55
      https://github.com/dyninst/dyninst/commit/a2e61a0e08bd33e4c025d95f7e18bc9d3bba4c55
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/emit-x86.h

  Log Message:
  -----------
  Remove unused emitter variables


  Commit: 77d4fc18e5a60e729d71827a7c32437f361141a1
      https://github.com/dyninst/dyninst/commit/77d4fc18e5a60e729d71827a7c32437f361141a1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/emit-x86.h

  Log Message:
  -----------
  Remove unused declarations of getInterModule{Var,Func}Addr

These were commented-out by 418b41ea66 in 2019.


  Commit: c11aee10aa03e231034144d92562e63596c29c31
      https://github.com/dyninst/dyninst/commit/c11aee10aa03e231034144d92562e63596c29c31
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/inst-x86.h

  Log Message:
  -----------
  Remove unused PTRACE_REG macros

Added by 18616116a in 2005. Their last usage was removedby cfa91d0260
in 2024.


  Commit: 0fc81cacd8e1b3572e86dfc4f2998cbc075105d5
      https://github.com/dyninst/dyninst/commit/0fc81cacd8e1b3572e86dfc4f2998cbc075105d5
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/inst-x86.h

  Log Message:
  -----------
  Remove virtual register macros

Their usage was removed by 0a3392d0ea3 in 2009.


  Commit: dd840a4133156e4917dacf495c61fa1dba4ddd7c
      https://github.com/dyninst/dyninst/commit/dd840a4133156e4917dacf495c61fa1dba4ddd7c
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/inst-x86.h

  Log Message:
  -----------
  Remove GET_GPR macro

Its usage was removed by 4a4b40a242f5 in 2009.


  Commit: 061e92ff93f44762069f42dd86314322b3fca648
      https://github.com/dyninst/dyninst/commit/061e92ff93f44762069f42dd86314322b3fca648
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/inst-x86.h

  Log Message:
  -----------
  Remove NUM_FPR_REGISTERS macro

Its usage was removed by bb377beb948 in 2007.


  Commit: 23af85e1db1e211cfacde01b7f0232ae6b185cc5
      https://github.com/dyninst/dyninst/commit/23af85e1db1e211cfacde01b7f0232ae6b185cc5
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/inst-x86.h

  Log Message:
  -----------
  Remove SAVED_EFLAGS_OFFSET macro

Its usage was removed by 4a4b40a242 in 2009.


  Commit: fa079980c11be370f1082227e2293b744927ef7e
      https://github.com/dyninst/dyninst/commit/fa079980c11be370f1082227e2293b744927ef7e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/inst-x86.h

  Log Message:
  -----------
  Remove function parameter macros

Their usage was removed by 4a4b40a242 in 2009.


  Commit: 0086b15b87f152f739c654fb380756f62d4700b1
      https://github.com/dyninst/dyninst/commit/0086b15b87f152f739c654fb380756f62d4700b1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/inst-x86.h

  Log Message:
  -----------
  Remove unsed debug macro


  Commit: 8ae68deb3077bbab6e6d46214b47012a66bdd5d0
      https://github.com/dyninst/dyninst/commit/8ae68deb3077bbab6e6d46214b47012a66bdd5d0
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/ast.C
    M dyninstAPI/src/inst-aarch64.C
    M dyninstAPI/src/inst-power.C
    M dyninstAPI/src/inst-x86.C
    M dyninstAPI/src/inst.h

  Log Message:
  -----------
  Remove emitFuncCall

This form was removed by 339cb668 in 2006.


  Commit: 527364e295600817a9240f79371111271b976522
      https://github.com/dyninst/dyninst/commit/527364e295600817a9240f79371111271b976522
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/emit-aarch64.h
    M dyninstAPI/src/emit-power.h
    M dyninstAPI/src/emit-x86.h

  Log Message:
  -----------
  Remove Register_DWARFtoMachineEnc

It appears its usage was removed by 938db9a0ae in 2007 and
replaced with Register_DWARFtoMachineEnc{32,64}.


  Commit: e359f3544b22b218b7ed8830adae7500e24a34bf
      https://github.com/dyninst/dyninst/commit/e359f3544b22b218b7ed8830adae7500e24a34bf
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dwarf/h/dwarfExprParser.h
    M dyninstAPI/src/emit-x86.C

  Log Message:
  -----------
  Remove Register_DWARFtoMachineEnc64

Its usage was removed by 9c0aea7f1266d in 2012.


  Commit: 967873902f8682ecaac3e96f01a9ce19c6358143
      https://github.com/dyninst/dyninst/commit/967873902f8682ecaac3e96f01a9ce19c6358143
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dwarf/h/dwarfExprParser.h
    M dyninstAPI/src/emit-x86.C

  Log Message:
  -----------
  Remove Register_DWARFtoMachineEnc32

Its usage was removed by 9c0aea7f1266d in 2012.


  Commit: 7a07caac2f6b61c8074b4414e9295789b6811915
      https://github.com/dyninst/dyninst/commit/7a07caac2f6b61c8074b4414e9295789b6811915
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/emit-x86.C
    M dyninstAPI/src/emit-x86.h

  Log Message:
  -----------
  Remove EmitterIA32::mt_offset

Its usage was removed by 0a3392d0ea3 in 2009.


  Commit: a9fba342a9c58eea91276b31d597f8f60356782b
      https://github.com/dyninst/dyninst/commit/a9fba342a9c58eea91276b31d597f8f60356782b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/emit-x86.C
    M dyninstAPI/src/emit-x86.h

  Log Message:
  -----------
  Remove EmitterIA32::mt_offset

Its usage was removed by 0a3392d0ea3 in 2009.


  Commit: cd55068f02af3b6c879fb5b2abfa79ab2cc9da23
      https://github.com/dyninst/dyninst/commit/cd55068f02af3b6c879fb5b2abfa79ab2cc9da23
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M dyninstAPI/src/inst-power.C

  Log Message:
  -----------
  Remove old comment about PowerPC emitFuncCall

It not longer applies.


Compare: https://github.com/dyninst/dyninst/compare/a7aa866eb6aa%5E...cd55068f02af

To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] a7aa86: Remove emitter::emitPIC, Tim Haines <=