In ProccontrolAPI, adding reading & writing mutatee's memory with procfs.
authorXiaozhu Meng <xmeng@cs.wisc.edu>
Tue, 7 May 2019 16:43:49 +0000 (11:43 -0500)
committerXiaozhu Meng <xmeng@cs.wisc.edu>
Tue, 7 May 2019 16:43:49 +0000 (11:43 -0500)
commitccb8b7236aff9c757b7cc53daa22969a69813666
tree1d19e73c6feb2bf1f40afc5712035b9df0860313
parentbbe1d2a26fa5337c6385434b1d2d630fc4704d45
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
proccontrol/src/linux.C