[DynInst_API:] [dyninst/dyninst] 53f833: Fix register calculation in parse_func::calcUsedRe...


Date: Wed, 25 Dec 2024 06:56:56 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 53f833: Fix register calculation in parse_func::calcUsedRe...
  Branch: refs/heads/thaines/ppc_fix_calcUsedRegs
  Home:   https://github.com/dyninst/dyninst
  Commit: 53f833bd45c10bd958f37194d0d407579e71fbfa
      https://github.com/dyninst/dyninst/commit/53f833bd45c10bd958f37194d0d407579e71fbfa
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-25 (Wed, 25 Dec 2024)

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

  Log Message:
  -----------
  Fix register calculation in parse_func::calcUsedRegs for ppc

The MachRegister ids are no longer guaranteed to be sequential, so
performing arithmetic on them may not be valid. Because 'registerSlot'
uses powerRegisters_t to represent registers, MachRegisters need to be
transformed using the conversion maps in RegisterConversion-ppc.C.



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] 53f833: Fix register calculation in parse_func::calcUsedRe..., Tim Haines <=