dyninst.git
7 years agoChanged a vector to a set to improve lookup speed
Andrew Bernat [Wed, 2 May 2012 19:50:33 +0000 (14:50 -0500)]
Changed a vector to a set to improve lookup speed

7 years agoAdd createPoint(s)AtAddr to BPatch_function, BPatch_module, and BPatch_image.
Andrew Bernat [Thu, 26 Apr 2012 18:09:57 +0000 (13:09 -0500)]
Add createPoint(s)AtAddr to BPatch_function, BPatch_module, and BPatch_image.

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Wed, 25 Apr 2012 20:44:05 +0000 (15:44 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoAdd a BPatch_basicBlock::findPoint(addr) method;
Andrew Bernat [Tue, 24 Apr 2012 17:12:35 +0000 (12:12 -0500)]
Add a BPatch_basicBlock::findPoint(addr) method;
Generally enable state interception for moving to relocated code;
Bugfixes.

7 years agoFix --trace feature of parseThat.
Ray Chen [Sat, 7 Apr 2012 09:52:53 +0000 (05:52 -0400)]
Fix --trace feature of parseThat.

The named pipe was being unlinked before the mutatee was instructed to
open the other end.  This also removes the attempt to access errno
inside the mutatee during tracepipe init errors.  It was causing
additional error messages that distract from the root cause.

Thanks to Romulo Curty Cerqueira for the bug report.

7 years agoClean up spurious debug output.
Bill Williams [Mon, 26 Mar 2012 20:57:21 +0000 (15:57 -0500)]
Clean up spurious debug output.

7 years agoFix assertions and FPEs in dwarf parsing
Bill Williams [Mon, 26 Mar 2012 18:00:10 +0000 (13:00 -0500)]
Fix assertions and FPEs in dwarf parsing

7 years agoBug fix for reused snippets in 64-bit function calls
Bill Williams [Thu, 19 Jan 2012 20:50:04 +0000 (14:50 -0600)]
Bug fix for reused snippets in 64-bit function calls

7 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Tue, 13 Mar 2012 20:59:10 +0000 (15:59 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

7 years agoRemoved special-purpose testing functions; obsoleted by PatchAPI snippet interface.
Andrew Bernat [Tue, 13 Mar 2012 20:59:03 +0000 (15:59 -0500)]
Removed special-purpose testing functions; obsoleted by PatchAPI snippet interface.

7 years agoFixed 2 issues in TransferFunc::accumulate()
Emily Jacobson [Thu, 8 Mar 2012 17:16:52 +0000 (11:16 -0600)]
Fixed 2 issues in TransferFunc::accumulate()

7 years agoFixed 2 issues in TransferFunc::accumulate()
Emily Jacobson [Wed, 7 Mar 2012 23:38:07 +0000 (17:38 -0600)]
Fixed 2 issues in TransferFunc::accumulate()

7 years agoAdded handleLEA() to StackAnalysis.
Emily Jacobson [Tue, 28 Feb 2012 15:49:37 +0000 (09:49 -0600)]
Added handleLEA() to StackAnalysis.

7 years agoAdd support for variable-sized load and store operations on 64-bit
Andrew Bernat [Sat, 3 Mar 2012 02:56:16 +0000 (20:56 -0600)]
Add support for variable-sized load and store operations on 64-bit
PPC; this fixes the snip_ref_* tests.

Also, fix a misordering of operands that caused the tramp guard
code to be emitted wrong; fixes test1_20, test1_22, test1_14.

7 years agoPPC64-Linux bugfixes.
Andrew Bernat [Fri, 2 Mar 2012 20:50:25 +0000 (14:50 -0600)]
PPC64-Linux bugfixes.

1) Implemented function replacement for both dynamic instrumentation and binary rewriting.
2) Correctly emit symbol tables; PPC64 uses a TOC-based system and therefore symbols should reference entries in the OPD instead of functions directly. This is _NOT_ done for added symbols; TODO.

8 years agoMerge branch 'master' of cumin:/p/paradyn/development/bernat/builds/dyninst
Andrew Bernat [Wed, 29 Feb 2012 21:05:11 +0000 (15:05 -0600)]
Merge branch 'master' of cumin:/p/paradyn/development/bernat/builds/dyninst

8 years agoMerge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst
Xiaozhu Meng [Wed, 29 Feb 2012 17:47:55 +0000 (11:47 -0600)]
Merge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst

8 years agoAdd "for_stop_core", the Intel fortran exit() equivalent, to the list of non-returnin...
Andrew Bernat [Mon, 27 Feb 2012 14:03:04 +0000 (08:03 -0600)]
Add "for_stop_core", the Intel fortran exit() equivalent, to the list of non-returning functions.

8 years agoBug fix; we were referencing off the end of the regions_ array in Object-elf.C
Andrew Bernat [Sat, 25 Feb 2012 04:02:03 +0000 (22:02 -0600)]
Bug fix; we were referencing off the end of the regions_ array in Object-elf.C

8 years agoMerge branch 'master' of cumin:/p/paradyn/development/bernat/builds/dyninst
Andrew Bernat [Fri, 24 Feb 2012 18:58:51 +0000 (12:58 -0600)]
Merge branch 'master' of cumin:/p/paradyn/development/bernat/builds/dyninst

8 years agoBugfixes:
Andrew Bernat [Fri, 24 Feb 2012 18:57:59 +0000 (12:57 -0600)]
Bugfixes:
  1) We could access a deleted AddressSpace via PatchAPI's plugin interface.
  2) We weren't using symtab-based module information, only info present in DWARF.
  3) We could look up the wrong Region by size in the rewriter if we expanded a different region to that size.

8 years agoFix a problem merging elements in CodeTracker structures
Andrew Bernat [Thu, 23 Feb 2012 21:56:39 +0000 (15:56 -0600)]
Fix a problem merging elements in CodeTracker structures

8 years agoMerge branch 'master' of cumin:/p/paradyn/development/bernat/builds/dyninst
Andrew Bernat [Thu, 23 Feb 2012 19:24:30 +0000 (13:24 -0600)]
Merge branch 'master' of cumin:/p/paradyn/development/bernat/builds/dyninst

Conflicts:
parseAPI/src/Function.C

8 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Thu, 23 Feb 2012 19:22:48 +0000 (13:22 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

8 years agoChanged timeout to 1 hour in mutatee_driver.c in testsuite.
Wenbin Fang [Thu, 23 Feb 2012 01:35:47 +0000 (19:35 -0600)]
Changed timeout to 1 hour in mutatee_driver.c in testsuite.

8 years agofix for changing in decoding ret: rsp is now an operand
Xiaozhu Meng [Wed, 22 Feb 2012 23:41:15 +0000 (17:41 -0600)]
fix for changing in decoding ret: rsp is now an operand

8 years agoMerge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst
Xiaozhu Meng [Wed, 22 Feb 2012 23:36:56 +0000 (17:36 -0600)]
Merge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst

8 years agoadd r/w only version of MachRegister sprg, tbl and tbu
Xiaozhu Meng [Wed, 22 Feb 2012 23:34:28 +0000 (17:34 -0600)]
add r/w only version of MachRegister sprg, tbl and tbu
fix inconsistency of registers in liveness on ppc64

8 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Wed, 22 Feb 2012 20:11:34 +0000 (14:11 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

8 years agoModify PatchAPI CFG interface to conform with naming scheme for ParseAPI
Andrew Bernat [Wed, 22 Feb 2012 19:48:07 +0000 (13:48 -0600)]
Modify PatchAPI CFG interface to conform with naming scheme for ParseAPI

8 years agoAdd gfortran_stop_numeric to non-returning call list
Andrew Bernat [Wed, 22 Feb 2012 17:18:58 +0000 (11:18 -0600)]
Add gfortran_stop_numeric to non-returning call list

8 years agoAdd a list of "exit" blocks to functions, which includes non-returning calls as well...
Andrew Bernat [Wed, 22 Feb 2012 17:18:44 +0000 (11:18 -0600)]
Add a list of "exit" blocks to functions, which includes non-returning calls as well as normal returns.

8 years agoModify PatchAPI CFG interface to conform with naming scheme for ParseAPI
Andrew Bernat [Wed, 22 Feb 2012 19:48:07 +0000 (13:48 -0600)]
Modify PatchAPI CFG interface to conform with naming scheme for ParseAPI

8 years agoAdd gfortran_stop_numeric to non-returning call list
Andrew Bernat [Wed, 22 Feb 2012 17:18:58 +0000 (11:18 -0600)]
Add gfortran_stop_numeric to non-returning call list

8 years agoAdd a list of "exit" blocks to functions, which includes non-returning calls as well...
Andrew Bernat [Wed, 22 Feb 2012 17:18:44 +0000 (11:18 -0600)]
Add a list of "exit" blocks to functions, which includes non-returning calls as well as normal returns.

8 years agoAdded alarm signal to mutatee_driver.c in the testsuite, which is to prevent a mutate...
Wenbin Fang [Tue, 21 Feb 2012 16:59:59 +0000 (10:59 -0600)]
Added alarm signal to mutatee_driver.c in the testsuite, which is to prevent a mutatee from hanging forever.

8 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Wenbin Fang [Fri, 17 Feb 2012 00:28:39 +0000 (18:28 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

8 years agoRemove compiler warning by properly specifying existence of CodeObject; remove unnece...
Andrew Bernat [Thu, 16 Feb 2012 19:39:15 +0000 (13:39 -0600)]
Remove compiler warning by properly specifying existence of CodeObject; remove unnecessary output.

8 years agoRe-create uninstrumentable function handling
Andrew Bernat [Tue, 14 Feb 2012 21:52:51 +0000 (15:52 -0600)]
Re-create uninstrumentable function handling

8 years agoMake liveness's conservative assumptions not set rare registers like the trap flag.
Andrew Bernat [Tue, 14 Feb 2012 21:52:29 +0000 (15:52 -0600)]
Make liveness's conservative assumptions not set rare registers like the trap flag.

8 years agoSet interpreter name in Object::load_shared_library in symtabAPI, which enables the...
Wenbin Fang [Tue, 14 Feb 2012 14:46:55 +0000 (08:46 -0600)]
Set interpreter name in Object::load_shared_library in symtabAPI, which enables the case when parsing an executable shared library

8 years agoAdd return instructions to CFT structures on IA-32, amd64; don't create indirect...
Andrew Bernat [Mon, 13 Feb 2012 23:13:53 +0000 (17:13 -0600)]
Add return instructions to CFT structures on IA-32, amd64; don't create indirect edges for indirect calls.

8 years agoa quick fix for building failure on UMD side
Xiaozhu Meng [Sat, 11 Feb 2012 21:00:26 +0000 (15:00 -0600)]
a quick fix for building failure on UMD side

8 years agofix a build problem
Xiaozhu Meng [Fri, 10 Feb 2012 23:51:55 +0000 (17:51 -0600)]
fix a build problem

8 years agoMerge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst
Xiaozhu Meng [Fri, 10 Feb 2012 23:04:57 +0000 (17:04 -0600)]
Merge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst

8 years agoBGQ bug fixes
Madhavi Krishnan [Fri, 10 Feb 2012 20:37:19 +0000 (14:37 -0600)]
BGQ bug fixes

This commit has two fixes:
1) Disk offset of new PT_LOAD segment in rewritten static binary
was set incorrectly. This is fixed now.

2) The maximum offset reachable using TOC pointer is 0x7fff (15 bits + 1 sign bit).
For static binaries, the TOC pointer must be able to reach the new load segment.
In Bluegene environment, we align by page size (1MB) but this causes the
the TOC pointer offset to be too large to reach the new segment. Since we
do not create a new PT_LOAD segment, but rather extend the existing PT_LOAD
segment, we do not need to align by 1MB. Instead, we align by minimal safe
number of bytes.

8 years agoMerge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst
Xiaozhu Meng [Fri, 10 Feb 2012 14:56:39 +0000 (08:56 -0600)]
Merge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst

8 years agoppc32 crash fix (typo in previous commit)
Madhavi Krishnan [Fri, 10 Feb 2012 05:49:28 +0000 (23:49 -0600)]
ppc32 crash fix (typo in previous commit)

8 years agoBluegeneQ rewriter commit
Madhavi Krishnan [Thu, 9 Feb 2012 22:53:47 +0000 (16:53 -0600)]
BluegeneQ rewriter commit

This commit contains both BGQ specific code and
ppc64 rewriter bugs that got exercised in BGQ.

1) ppc64: Apply relocation to OPD section before
using function symbols.
2) ppc64: Temporary fix to InstructionAPI's
incorrect handling of ppc64 registers. This caused
incorrect return instruction detection. For now,
we use ppc32:LR representation of ppc64.
3) ppc64: emitTOCJump and emitTOCCall implementation
4) BGQ: Extend existing PT_LOAD segment to include
instrumentation, since TOC can reach only offsets upto
4 bytes long.
5) Update Makefiles for ppc64_bgq platform

8 years agofix using ABI assumption for function call
Xiaozhu Meng [Thu, 9 Feb 2012 22:51:27 +0000 (16:51 -0600)]
fix using ABI assumption for function call

8 years agofix a build problem on ppc and add setting information for a new created codeGen
xmeng [Thu, 9 Feb 2012 15:10:46 +0000 (09:10 -0600)]
fix a build problem on ppc and add setting information for a new created codeGen

8 years agofix finding directory problem in addressSpace::findObject(string) on windows
unknown [Tue, 7 Feb 2012 19:27:33 +0000 (13:27 -0600)]
fix finding directory problem in addressSpace::findObject(string) on windows

8 years agoMerge branch 'DataflowAPI-Liveness' of coriander.cs.wisc.edu:/p/paradyn/development...
unknown [Mon, 6 Feb 2012 22:47:20 +0000 (16:47 -0600)]
Merge branch 'DataflowAPI-Liveness' of coriander.cs.wisc.edu:/p/paradyn/development/xmeng/dyninstapi/dyninst into DataflowAPI-Liveness

Conflicts:
dyninstAPI/src/addressSpace.C

8 years agoadd file separator for windows
unknown [Mon, 6 Feb 2012 22:43:08 +0000 (16:43 -0600)]
add file separator for windows

8 years agoMerge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst into DataflowAPI-Liveness
Xiaozhu Meng [Mon, 6 Feb 2012 22:28:44 +0000 (16:28 -0600)]
Merge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst into DataflowAPI-Liveness

8 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Mon, 6 Feb 2012 22:24:09 +0000 (16:24 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

8 years agoRemove debugging message
Andrew Bernat [Mon, 6 Feb 2012 22:22:44 +0000 (16:22 -0600)]
Remove debugging message

8 years agoSome collected fixes:
Andrew Bernat [Mon, 6 Feb 2012 22:23:48 +0000 (16:23 -0600)]
Some collected fixes:

1) The implementation of BPatch_basicBlockLoop::getBackEdges() was inverted; fixed.
2) I've added a PatchEdge::format method.
3) I've added a BPatch_point->PatchAPI::Point convert method
4) I've fixed the implementation of addressSpace::findObject(string) for windows
5) Attempting to write to an original register on AMD-64 would crash due to a missing #ifdef; fixed

Conflicts:

dyninstAPI/h/BPatch_point.h

8 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Emily Jacobson [Mon, 6 Feb 2012 22:11:43 +0000 (16:11 -0600)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

8 years agoFixed bug in StackAnalysis::handleAddSub.
Emily Jacobson [Mon, 6 Feb 2012 22:10:11 +0000 (16:10 -0600)]
Fixed bug in StackAnalysis::handleAddSub.

8 years agofix naming conflict between dynutil/h/AST.h and dyninstAPI/src/ast.h on windows
Xiaozhu Meng [Sun, 5 Feb 2012 20:10:17 +0000 (14:10 -0600)]
fix naming conflict between dynutil/h/AST.h and dyninstAPI/src/ast.h on windows

8 years agoadd mapping of MachRegister to index in liveness bitarray
Xiaozhu Meng [Fri, 3 Feb 2012 17:38:30 +0000 (11:38 -0600)]
add mapping of MachRegister to index in liveness bitarray

8 years agoMerge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst into DataflowAPI-Liveness
Xiaozhu Meng [Fri, 3 Feb 2012 17:34:33 +0000 (11:34 -0600)]
Merge branch 'master' of xmeng@git.dyninst.org:/pub/dyninst into DataflowAPI-Liveness

Conflicts:
dataflowAPI/h/ABI.h
dataflowAPI/h/InstructionCache.h
dataflowAPI/h/liveness.h
dataflowAPI/src/ABI.C
dataflowAPI/src/InstructionCache.h
dataflowAPI/src/liveness.C
dyninstAPI/src/BPatch_binaryEdit.C
dyninstAPI/src/InstructionCache.h
dyninstAPI/src/RegisterConversion-x86.C
dyninstAPI/src/Relocation/CodeMover.C
dyninstAPI/src/Relocation/patchapi_debug.h
dyninstAPI/src/bitArray.C
dyninstAPI/src/emit-x86.C
dyninstAPI/src/instPoint.C
dyninstAPI/src/registerSpace.C
parseAPI/h/CFG.h
parseAPI/make.module.tmpl
testsuite/ppc64_bgq/symtab_group_test_group.c

8 years agoinst-power commit fix
Madhavi Krishnan [Thu, 2 Feb 2012 06:10:56 +0000 (00:10 -0600)]
inst-power commit fix

8 years agoTypo fix
Madhavi Krishnan [Thu, 2 Feb 2012 05:09:35 +0000 (23:09 -0600)]
Typo fix

8 years agoppc64 testsuite to run static tests
Madhavi Krishnan [Thu, 2 Feb 2012 03:34:44 +0000 (21:34 -0600)]
ppc64 testsuite to run static tests

8 years agoppc64 rewriter for statically linked binaries
Madhavi Krishnan [Thu, 2 Feb 2012 03:14:22 +0000 (21:14 -0600)]
ppc64 rewriter for statically linked binaries

8 years agofix build errors on windows and eliminate redundant calculation in liveness
unknown [Fri, 27 Jan 2012 21:29:35 +0000 (15:29 -0600)]
fix build errors on windows and eliminate redundant calculation in liveness

8 years agoRemove dynutil/h path from public header.
Andrew Bernat [Thu, 26 Jan 2012 22:42:36 +0000 (16:42 -0600)]
Remove dynutil/h path from public header.

8 years agoImplement reversion for wrapFunction and replaceFunction.
Andrew Bernat [Tue, 24 Jan 2012 17:31:01 +0000 (11:31 -0600)]
Implement reversion for wrapFunction and replaceFunction.

8 years agoFix bug where we would not recognize a loaded library because of name differences...
Andrew Bernat [Wed, 18 Jan 2012 21:37:29 +0000 (15:37 -0600)]
Fix bug where we would not recognize a loaded library because of name differences (libfoo.so vs. ./libfoo.so)

8 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Fri, 13 Jan 2012 16:39:55 +0000 (10:39 -0600)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

8 years agoImplement function wrapping for dynamic instrumentation; x86-only prototype.
Andrew Bernat [Thu, 12 Jan 2012 22:14:45 +0000 (16:14 -0600)]
Implement function wrapping for dynamic instrumentation; x86-only prototype.

8 years agoChange BPatch_addressSpace::loadLibrary to return a BPatch_module * instead of NULL
Andrew Bernat [Thu, 12 Jan 2012 22:13:44 +0000 (16:13 -0600)]
Change BPatch_addressSpace::loadLibrary to return a BPatch_module * instead of NULL

8 years agoAdd a convert method to extract a SymtabAPI::Symtab from a BPatch_module.
Andrew Bernat [Thu, 12 Jan 2012 22:11:25 +0000 (16:11 -0600)]
Add a convert method to extract a SymtabAPI::Symtab from a BPatch_module.

8 years agoReverts bad "fix" affecting struct element access
Kevin Roundy [Thu, 12 Jan 2012 21:54:28 +0000 (15:54 -0600)]
Reverts bad "fix" affecting struct element access

Commit 1b19602cbf6f62ef42c62cfd2d54592ccd72dec7 of 11/9/2011
attempted to fix a struct dereference bug, but didn't identify
the root cause, and therefore broke the RegOffset Ast operator.
There is an outstanding bug in SymtabAPI, that we parse dwarf
information for local pointers to structs as structs, rather
than pointers.

8 years agoFixes compile errors in my previous buggy commit kevin-final
Kevin Roundy [Wed, 11 Jan 2012 19:03:47 +0000 (13:03 -0600)]
Fixes compile errors in my previous buggy commit

8 years agoRemoving hacks from Drew's accidental 11/9/2011 commit to Defensive
Kevin Roundy [Wed, 11 Jan 2012 19:00:05 +0000 (13:00 -0600)]
Removing hacks from Drew's accidental 11/9/2011 commit to Defensive

That commit was supposed to be the the PLDI branch and was accidentally
committed to Defensive, causing several failures and problems in the
testsuite and my code.  The problematic portions of that commit are
now disabled.

8 years agoFixed non-portable debugging and removed output
Kevin Roundy [Wed, 11 Jan 2012 18:03:15 +0000 (12:03 -0600)]
Fixed non-portable debugging and removed output

8 years agoAccidentally deleted pc_breakpoint earlier, re-instating it
Kevin Roundy [Wed, 11 Jan 2012 16:37:18 +0000 (10:37 -0600)]
Accidentally deleted pc_breakpoint earlier, re-instating it

8 years agoCleanup, bugfixes, & Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst into...
Kevin Roundy [Wed, 11 Jan 2012 16:28:35 +0000 (10:28 -0600)]
Cleanup, bugfixes, & Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst into Defensive

Fixes bug that adds an extra indirect sink edge for blocks with unresolved edges
Fixes block removal for inter-object edges, also inter-object edge addition
Suggested springboards were disabled, re-enables them
Post-call padding was disabled, re-enables it
Cleans up code that causes compiler warnings on Linux

Conflicts:
dyninstAPI/src/Patching.C
dyninstAPI/src/Relocation/CFG/RelocGraph.C
dyninstAPI/src/Relocation/CFG/RelocGraph.h
dyninstAPI/src/Relocation/Widgets/CFWidget-x86.C
dyninstAPI/src/block.C

8 years agofix some build and crash problems on ppc32_linux:
Xiaozhu Meng [Tue, 10 Jan 2012 20:13:27 +0000 (14:13 -0600)]
fix some build and crash problems on ppc32_linux:

fix a bitArray index inconsistency

ScrambleRegistersExpr does nothing on ppc;

change the key of liveness cache from address of blocks and functions to address of pointers

8 years agoFixes compile error and Merge branch 'Defensive' of ssh://coriander.cs.wisc.edu/u...
Kevin Roundy [Mon, 9 Jan 2012 22:19:00 +0000 (16:19 -0600)]
Fixes compile error and Merge branch 'Defensive' of ssh://coriander.cs.wisc.edu/u/r/o/roundy/devel/g0/dyninst into Defensive

Conflicts:
dyninstAPI/src/BPatch_addressSpace.C
dyninstAPI/src/block.C
patchAPI/make.module.tmpl

8 years agoFixes bug, cleans code, and Merge branch 'master' of ssh://git.dyninst.org/pub/dynins...
Kevin Roundy [Mon, 9 Jan 2012 22:13:05 +0000 (16:13 -0600)]
Fixes bug, cleans code, and Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst into Defensive

Fixes extra creation of indirect sink edge for blocks with unresolved control flow
Cleans up compiler warnings that occur on Linux and not on Windows

Conflicts:
dyninstAPI/src/Patching.C
dyninstAPI/src/Relocation/CFG/RelocGraph.C
dyninstAPI/src/Relocation/CFG/RelocGraph.h
dyninstAPI/src/Relocation/Widgets/CFWidget-x86.C
dyninstAPI/src/block.C

8 years agoMerge branch 'Defensive' of ssh://git.dyninst.org/pub/dyninst into Defensive
Kevin Roundy [Mon, 9 Jan 2012 17:22:45 +0000 (11:22 -0600)]
Merge branch 'Defensive' of ssh://git.dyninst.org/pub/dyninst into Defensive

8 years agoStable defensive branch
Kevin Roundy [Mon, 9 Jan 2012 16:45:46 +0000 (10:45 -0600)]
Stable defensive branch

Fixes bugs in:
- New function parsing (we were reporting failure for new function
  parsing that didn't add new blocks to the CFG, as when we find a
  new entry point in an existing function)
- Lazy reconstruction of unresolved function edges

Also removes debugging statements

8 years agoMerge sierra:~/tools/dyninst/githead/dyninst
Matthew P. Legendre [Tue, 3 Jan 2012 21:00:02 +0000 (13:00 -0800)]
Merge sierra:~/tools/dyninst/githead/dyninst

8 years agoMerge branch 'master' of legendre@git.dyninst.org:/pub/dyninst
Matthew P. Legendre [Tue, 3 Jan 2012 20:53:28 +0000 (12:53 -0800)]
Merge branch 'master' of legendre@git.dyninst.org:/pub/dyninst

8 years agoDon't add versioning numbers on components built with as static archives
Matthew P. Legendre [Tue, 3 Jan 2012 20:50:41 +0000 (12:50 -0800)]
Don't add versioning numbers on components built with as static archives

8 years agoCompilation fix for Elf_X on BlueGene first party StackwalkerAPI
Matthew P. Legendre [Tue, 3 Jan 2012 20:50:18 +0000 (12:50 -0800)]
Compilation fix for Elf_X on BlueGene first party StackwalkerAPI

8 years agoFixes for walking through signal frames found on Cray
legendre1 [Tue, 3 Jan 2012 19:12:13 +0000 (11:12 -0800)]
Fixes for walking through signal frames found on Cray

8 years agoFix for stackwalking out of certain parts of non-returning functions.
legendre1 [Tue, 3 Jan 2012 18:50:35 +0000 (10:50 -0800)]
Fix for stackwalking out of certain parts of non-returning functions.

8 years agoCleanup for Elf_X sharing between SymtabAPI, StackwalkerAPI and ProcControlAPI
legendre1 [Tue, 3 Jan 2012 17:57:14 +0000 (09:57 -0800)]
Cleanup for Elf_X sharing between SymtabAPI, StackwalkerAPI and ProcControlAPI

8 years agoFix for StackwalkerAPI lazy parsing
legendre1 [Tue, 3 Jan 2012 17:54:21 +0000 (09:54 -0800)]
Fix for StackwalkerAPI lazy parsing

8 years agoWas removing instrumentation from indirect jumps, cleanup
Kevin Roundy [Fri, 23 Dec 2011 16:44:31 +0000 (10:44 -0600)]
Was removing instrumentation from indirect jumps, cleanup

- Renamed target cache variable from width to length, which makes more sense
- changed comments, removed stuff

8 years agofix logic of isExitBlock: should ignore CATCH edge.
Xiaozhu Meng [Thu, 22 Dec 2011 21:18:03 +0000 (15:18 -0600)]
fix logic of isExitBlock: should ignore CATCH edge.

add intraproc() predicate for Block in ParseAPI

8 years agoFix a pile of warning messages.
Andrew Bernat [Wed, 21 Dec 2011 17:56:20 +0000 (11:56 -0600)]
Fix a pile of warning messages.

8 years agofix ABI assumption on x86-64 function call: rax should be read
Xiaozhu Meng [Wed, 21 Dec 2011 17:51:40 +0000 (11:51 -0600)]
fix ABI assumption on x86-64 function call: rax should be read

8 years agoMerge branch 'DataflowAPI-Liveness' of xmeng@git.dyninst.org:/pub/dyninst into Datafl...
Xiaozhu Meng [Tue, 20 Dec 2011 18:08:05 +0000 (12:08 -0600)]
Merge branch 'DataflowAPI-Liveness' of xmeng@git.dyninst.org:/pub/dyninst into DataflowAPI-Liveness

8 years agoFixed BPatch_frame::findFunctionInt() to look up function by call address
Emily Jacobson [Mon, 19 Dec 2011 15:39:58 +0000 (09:39 -0600)]
Fixed BPatch_frame::findFunctionInt() to look up function by call address
rather than return address.