[DynInst_API:] [dyninst/dyninst] 4b5a6a: BPatch_effectiveAddress truncates mem addresses on...


Date: Fri, 10 May 2019 16:47:00 -0700
From: Xiaozhu Meng <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 4b5a6a: BPatch_effectiveAddress truncates mem addresses on...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 4b5a6a6fdcc654820635582f489425c059a7edb7
      https://github.com/dyninst/dyninst/commit/4b5a6a6fdcc654820635582f489425c059a7edb7
  Author: Xiaozhu Meng <mxz297@xxxxxxxxx>
  Date:   2019-05-10 (Fri, 10 May 2019)

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

  Log Message:
  -----------
  BPatch_effectiveAddress truncates mem addresses on Power (#593)

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 occurred when instrumentation 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).


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 4b5a6a: BPatch_effectiveAddress truncates mem addresses on..., Xiaozhu Meng <=