Branch: refs/heads/ppc_mem_truncate
Home: https://github.com/dyninst/dyninst
Commit: 2514b712d58faed1b217306a3ae59ad7f923832d
https://github.com/dyninst/dyninst/commit/2514b712d58faed1b217306a3ae59ad7f923832d
Author: Benjamin Welton <welton@xxxxxxxxxxx>
Date: 2019-05-02 (Thu, 02 May 2019)
Changed paths:
M dyninstAPI/src/inst-power.C
Log Message:
-----------
Fix: BPatch_effectiveAddress to no longer truncate mem addresses on Power
In certain circumstances, BPatch_effectiveAddress would generate code that truncated
memory addresses to the bottom 32bits. The result is that instrimentation would see only
the bottom 32bits of any memory address.
Before this patch, the issue occured when instrimentation was applied to load/store instructions
where the address was located in registers r3-r11 (exclusive).
Ideally this function should just be straight removed in future releases (only used by emitASLoad).
|