[DynInst_API:] [dyninst/dyninst] 1ddbf1: Fix register calculation in parse_func::calcUsedRe...


Date: Sun, 29 Dec 2024 07:55:17 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 1ddbf1: Fix register calculation in parse_func::calcUsedRe...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 1ddbf1f771a300249055e47c22b10ea2d89e63b1
      https://github.com/dyninst/dyninst/commit/1ddbf1f771a300249055e47c22b10ea2d89e63b1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-29 (Sun, 29 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 (#1849)

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