Branch: refs/heads/known_test_failures_fixes
Home: https://github.com/dyninst/dyninst
Commit: 34dfcc7a926cd8d8356bfd2d5b91d8f6b4676a31
https://github.com/dyninst/dyninst/commit/34dfcc7a926cd8d8356bfd2d5b91d8f6b4676a31
Author: Xiaozhu Meng <xmeng@xxxxxxxxxxx>
Date: 2019-02-10 (Sun, 10 Feb 2019)
Changed paths:
M dyninstAPI/h/BPatch_binaryEdit.h
M dyninstAPI/src/BPatch_binaryEdit.C
Log Message:
-----------
In binary rewriting, when Dyninst needs to load a library,
it does not check whether this library has been loaded before or not.
Dyninst will create multiple binaryEdit objects for one library,
which can cause inconsistent states between these objects.
This fix adds a map to BPatch_binaryEdit to make sure each library
is only loaded once.
|