|   Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 05227e2dc8aa32e69db7b26040ee8b3871b3107b
      https://github.com/dyninst/dyninst/commit/05227e2dc8aa32e69db7b26040ee8b3871b3107b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-12-19 (Thu, 19 Dec 2024)
  Changed paths:
    M dyninstAPI/src/inst-aarch64.C
    M dyninstAPI/src/parse-aarch64.C
  Log Message:
  -----------
  Fix register calculation in parse_func::calcUsedRegs for aarch64 (#1846)
The MachRegister ids are no longer guaranteed to be sequential, so
performing arithmetic on them may not be valid. Because 'registerSlot'
uses aarch64Registers_t to represent registers, MachRegisters need to be
transformed using the conversion maps in RegisterConversion-aarch64.C.
Those maps use the the base registers x<N> for GPRs and q<N> for FPRs,
so the registers are correspondingly transformed before being stored in
parse_func::usedRegisters.
To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
 |