[DynInst_API:] [dyninst/dyninst] ccb8b7: In ProccontrolAPI, adding reading & writing mutate...


Date: Tue, 07 May 2019 09:48:06 -0700
From: Xiaozhu Meng <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] ccb8b7: In ProccontrolAPI, adding reading & writing mutate...
  Branch: refs/heads/pp_springboard
  Home:   https://github.com/dyninst/dyninst
  Commit: ccb8b7236aff9c757b7cc53daa22969a69813666
      https://github.com/dyninst/dyninst/commit/ccb8b7236aff9c757b7cc53daa22969a69813666
  Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
  Date:   2019-05-07 (Tue, 07 May 2019)

  Changed paths:
    M proccontrol/src/linux.C

  Log Message:
  -----------
  In ProccontrolAPI, adding reading & writing mutatee's memory with procfs.
We fall back to use ptrace if procfs read & write fail.

This change is for fixing icache coherence issue for ARM dynamic instrumentaiton.
ARM architecture does not guarantee icache-dcache coherence. And writes through
ptrace does not seem to invalidate icache contents and caused SIGILLs


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] ccb8b7: In ProccontrolAPI, adding reading & writing mutate..., Xiaozhu Meng <=