Initial unpeeling of relocation system from Dyninst.
authorAndrew Bernat <bernat@cumin.cs.wisc.edu>
Tue, 8 Feb 2011 21:39:07 +0000 (15:39 -0600)
committerAndrew Bernat <bernat@cumin.cs.wisc.edu>
Fri, 4 Mar 2011 16:24:45 +0000 (10:24 -0600)
commit8bb4aa76ab11903a36c78a0a8348df401389b55c
tree099f77b63ba2ebc8ad285c45d7c0872c4818d158
parent21eb4e884d8d584e075651ec8ba3c37a007290bf
Initial unpeeling of relocation system from Dyninst.
1) Relocation data structures now depend on PatchAPI's CFG, with two "magic" conversion functions
2) instPoint dependence is unresolved
3) Transformers are commented out and need to be ported from addressSpace concepts to PatchAPI concepts
4) We need to construct the PatchAPI CFG
5) Dyninst needs to be reworked to use PatchAPi
55 files changed:
dyninstAPI/make.module.tmpl
dyninstAPI/src/Relocation/AddressMapper.C [deleted file]
dyninstAPI/src/Relocation/AddressMapper.h [deleted file]
dyninstAPI/src/Relocation/Atoms/Atom.C [deleted file]
dyninstAPI/src/Relocation/Atoms/CFAtom.C [deleted file]
dyninstAPI/src/Relocation/Atoms/DefensivePadding.C [deleted file]
dyninstAPI/src/Relocation/Atoms/Padding.h [deleted file]
dyninstAPI/src/Relocation/Transformers/CF_Localization.C [deleted file]
dyninstAPI/src/Relocation/Transformers/CF_Localization.h [deleted file]
dyninstAPI/src/Relocation/Transformers/ControlFlow.C [deleted file]
dyninstAPI/src/Relocation/Transformers/ControlFlow.h [deleted file]
dyninstAPI/src/Relocation/Transformers/Defensive.C [deleted file]
dyninstAPI/src/Relocation/Transformers/Fallthroughs.C [deleted file]
dyninstAPI/src/Relocation/Transformers/Fallthroughs.h [deleted file]
dyninstAPI/src/addressSpace.C
dyninstAPI/src/addressSpace.h
patchAPI/src/HeavyweightRelocater/Atoms/ASTAtom.C [moved from dyninstAPI/src/Relocation/Atoms/ASTAtom.C with 92% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/ASTAtom.h [moved from dyninstAPI/src/Relocation/Atoms/ASTAtom.h with 98% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/Atom.h [moved from dyninstAPI/src/Relocation/Atoms/Atom.h with 52% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/CFAtom.C [new file with mode: 0644]
patchAPI/src/HeavyweightRelocater/Atoms/CFAtom.h [moved from dyninstAPI/src/Relocation/Atoms/CFAtom.h with 83% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/Include.h [moved from dyninstAPI/src/Relocation/Atoms/Include.h with 92% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/InsnAtom.C [moved from dyninstAPI/src/Relocation/Atoms/CopyInsn.C with 83% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/InsnAtom.h [moved from dyninstAPI/src/Relocation/Atoms/CopyInsn.h with 87% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/InstAtom.C [moved from dyninstAPI/src/Relocation/Atoms/Instrumentation.C with 95% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/InstAtom.h [moved from dyninstAPI/src/Relocation/Atoms/Instrumentation.h with 99% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/PCAtom.C [moved from dyninstAPI/src/Relocation/Atoms/GetPC.C with 86% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/PCAtom.h [moved from dyninstAPI/src/Relocation/Atoms/GetPC.h with 90% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/RelDataAtom.C [moved from dyninstAPI/src/Relocation/Atoms/RelData.C with 86% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/RelDataAtom.h [moved from dyninstAPI/src/Relocation/Atoms/RelData.h with 88% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/Target.C [moved from dyninstAPI/src/Relocation/Transformers/Defensive.h with 72% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/Target.h [moved from dyninstAPI/src/Relocation/Atoms/Target.h with 94% similarity]
patchAPI/src/HeavyweightRelocater/Atoms/Trace.C [new file with mode: 0644]
patchAPI/src/HeavyweightRelocater/Atoms/Trace.h [new file with mode: 0644]
patchAPI/src/HeavyweightRelocater/CodeBuffer.C [moved from dyninstAPI/src/Relocation/CodeBuffer.C with 99% similarity]
patchAPI/src/HeavyweightRelocater/CodeBuffer.h [moved from dyninstAPI/src/Relocation/CodeBuffer.h with 99% similarity]
patchAPI/src/HeavyweightRelocater/CodeMover.C [moved from dyninstAPI/src/Relocation/CodeMover.C with 93% similarity]
patchAPI/src/HeavyweightRelocater/CodeMover.h [moved from dyninstAPI/src/Relocation/CodeMover.h with 91% similarity]
patchAPI/src/HeavyweightRelocater/CodeTracker.C [moved from dyninstAPI/src/Relocation/CodeTracker.C with 84% similarity]
patchAPI/src/HeavyweightRelocater/CodeTracker.h [moved from dyninstAPI/src/Relocation/CodeTracker.h with 86% similarity]
patchAPI/src/HeavyweightRelocater/HeavyweightRelocater.h [moved from dyninstAPI/src/Relocation/Relocation.h with 89% similarity]
patchAPI/src/HeavyweightRelocater/Springboard.C [moved from dyninstAPI/src/Relocation/Springboard.C with 82% similarity]
patchAPI/src/HeavyweightRelocater/Springboard.h [moved from dyninstAPI/src/Relocation/Springboard.h with 95% similarity]
patchAPI/src/HeavyweightRelocater/Transformers/Include.h [moved from dyninstAPI/src/Relocation/Transformers/Include.h with 94% similarity]
patchAPI/src/HeavyweightRelocater/Transformers/Instrumenter.C [moved from dyninstAPI/src/Relocation/Transformers/Instrumenter.C with 97% similarity]
patchAPI/src/HeavyweightRelocater/Transformers/Instrumenter.h [moved from dyninstAPI/src/Relocation/Transformers/Instrumenter.h with 98% similarity]
patchAPI/src/HeavyweightRelocater/Transformers/Modification.C [moved from dyninstAPI/src/Relocation/Transformers/Modification.C with 93% similarity]
patchAPI/src/HeavyweightRelocater/Transformers/Modification.h [moved from dyninstAPI/src/Relocation/Transformers/Modification.h with 79% similarity]
patchAPI/src/HeavyweightRelocater/Transformers/Movement-adhoc.C [moved from dyninstAPI/src/Relocation/Transformers/Movement-adhoc.C with 98% similarity]
patchAPI/src/HeavyweightRelocater/Transformers/Movement-adhoc.h [moved from dyninstAPI/src/Relocation/Transformers/Movement-adhoc.h with 99% similarity]
patchAPI/src/HeavyweightRelocater/Transformers/Movement-analysis.C [moved from dyninstAPI/src/Relocation/Transformers/Movement-analysis.C with 98% similarity]
patchAPI/src/HeavyweightRelocater/Transformers/Movement-analysis.h [moved from dyninstAPI/src/Relocation/Transformers/Movement-analysis.h with 98% similarity]
patchAPI/src/HeavyweightRelocater/Transformers/Transformer.h [moved from dyninstAPI/src/Relocation/Transformers/Transformer.h with 99% similarity]
patchAPI/src/patchapi_debug.C [moved from dyninstAPI/src/Relocation/Atoms/Padding.C with 56% similarity]
patchAPI/src/patchapi_debug.h [moved from dyninstAPI/src/Relocation/Atoms/DefensivePadding.h with 62% similarity]