Three bug fixes and a lot of warning removals.
authorAndrew Bernat <bernat@cumin.cs.wisc.edu>
Thu, 15 Dec 2011 20:12:41 +0000 (14:12 -0600)
committerAndrew Bernat <bernat@cumin.cs.wisc.edu>
Thu, 15 Dec 2011 20:12:41 +0000 (14:12 -0600)
commit93925bbae950a257ca2821f8f5534bf79a47aa42
tree778af9fbf93197b0b270bece8b3262f2bd2bffcf
parentce51fc52392e126f09ce6100e73570d55e92cfb7
Three bug fixes and a lot of warning removals.

1) We weren't keeping a copy of user-inserted code, leading to broken behavior of the original buffer went out of scope.
2) We could try to "pad" the space between an original block and an inserted block; this could be megabytes.
3) We would try to create a springboard for an inserted block.
21 files changed:
dyninstAPI/src/BPatch_addressSpace.C
dyninstAPI/src/BPatch_basicBlock.C
dyninstAPI/src/BPatch_process.C
dyninstAPI/src/Relocation/CFG/RelocBlock.C
dyninstAPI/src/Relocation/CodeMover.C
dyninstAPI/src/Relocation/CodeTracker.C
dyninstAPI/src/Relocation/DynAddrSpace.C
dyninstAPI/src/Relocation/Widgets/CFWidget-x86.C
dyninstAPI/src/ast.C
dyninstAPI/src/emit-x86.C
dyninstAPI/src/mapped_object.C
dyninstAPI/src/process.C
dyninstAPI/src/registerSpace.C
parseAPI/h/CFG.h
parseAPI/h/CFGModifier.h
parseAPI/h/CodeSource.h
parseAPI/src/Block.C
parseAPI/src/CFGModifier.C
parseAPI/src/ParserDetails.C
patchAPI/h/PatchCFG.h
patchAPI/src/PatchBlock.C