[DynInst_API:] [dyninst/dyninst] ae43eb: Aarch64: Fix restoring special purpose registers o...


Date: Wed, 01 Mar 2023 15:58:08 -0800
From: Balazs Nemeth <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] ae43eb: Aarch64: Fix restoring special purpose registers o...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: ae43ebc6f905345499ed9c55eccb007e9a69efa9
      https://github.com/dyninst/dyninst/commit/ae43ebc6f905345499ed9c55eccb007e9a69efa9
  Author: Balazs Nemeth <bnemeth@xxxxxxxxxx>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

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

  Log Message:
  -----------
  Aarch64: Fix restoring special purpose registers order (#1000)

The special purpose registers are pushed onto the stack by
EmitterAARCH64SaveRegs::saveSPRegisters. This patch reverses the order
used for popping the stored registers from the stack. Without
this patch, some of the state registers get swapped.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] ae43eb: Aarch64: Fix restoring special purpose registers o..., Balazs Nemeth <=