4 fixes that mostly affect defensive mode
authorKevin Roundy <roundy@cs.wisc.edu>
Fri, 18 Nov 2011 23:39:49 +0000 (17:39 -0600)
committerKevin Roundy <roundy@cs.wisc.edu>
Fri, 18 Nov 2011 23:39:49 +0000 (17:39 -0600)
commitf858cdb0a2a7194e96292aaab645f36015fdb6fb
tree82be1fb14e37caaccd907ef97054f0f183e432cf
parentfc1021bef6c05d827351c5142a65085842980c79
4 fixes that mostly affect defensive mode

- fix for setting a block to be unresolved, the function's unresolved
  count wasn't getting updated (done when instrumenting a call to a
  dead function)
- fix for removal of code buffers that are not backed by files, wasn't
  cleaning their image objects properly
- fixed post-call patching for instrumented instructions
- fixed removal of cross-object edges
12 files changed:
dyninstAPI/src/BPatch_process.C
dyninstAPI/src/function.C
dyninstAPI/src/function.h
dyninstAPI/src/hybridCallbacks.C
dyninstAPI/src/hybridInstrumentation.C
dyninstAPI/src/parse-cfg.C
dyninstAPI/src/parse-cfg.h
dyninstAPI/src/process.C
parseAPI/h/ParseCallback.h
parseAPI/src/ParseCallback.C
patchAPI/src/ParseCallback.C
patchAPI/src/PatchBlock.C