dyninst.git
9 years agoRemove stackanalysis_printf from Dyninst; it's a DataflowAPI debug method.
Andrew Bernat [Wed, 22 Sep 2010 21:33:57 +0000 (16:33 -0500)]
Remove stackanalysis_printf from Dyninst; it's a DataflowAPI debug method.

9 years agoUse SymtabAPI's demangled names for functions in the ParseAPI
Nathan Rosenblum [Wed, 22 Sep 2010 15:50:24 +0000 (10:50 -0500)]
Use SymtabAPI's demangled names for functions in the ParseAPI

This has no impact on the function names used in Dyninst; Dyninst
looks up names directly through the SymtabAPI.

9 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Tue, 21 Sep 2010 16:41:49 +0000 (11:41 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

9 years agoExplicitly clear return vector from instruction cracker before it's filled in.
Andrew Bernat [Tue, 21 Sep 2010 16:41:32 +0000 (11:41 -0500)]
Explicitly clear return vector from instruction cracker before it's filled in.

9 years agoCheck for catch blocks after non-returning call instructions
Nathan Rosenblum [Fri, 17 Sep 2010 15:47:31 +0000 (10:47 -0500)]
Check for catch blocks after non-returning call instructions

9 years agoIncorrect type passed to WIFSTOPPED macro (pointer rather than value)
Nathan Rosenblum [Thu, 26 Aug 2010 18:21:57 +0000 (13:21 -0500)]
Incorrect type passed to WIFSTOPPED macro (pointer rather than value)

9 years agoFix i386-unknown-linux2.4 and x86_64-unknown-linux2.4 at UMD.
Ray Chen [Mon, 20 Sep 2010 04:15:57 +0000 (00:15 -0400)]
Fix i386-unknown-linux2.4 and x86_64-unknown-linux2.4 at UMD.

Explicitly name system include files to satisfy stricter GCC 4.4.3.

9 years agoFix ppc32_linux at UMD.
Ray Chen [Mon, 20 Sep 2010 04:10:53 +0000 (00:10 -0400)]
Fix ppc32_linux at UMD.

Allow Class IA_IAPI's _isrc member to hold children other than Class CodeSource.

9 years agoFixes for rewriting stripped, static binaries (bug 1113).
Daniel McNulty [Fri, 17 Sep 2010 19:14:03 +0000 (14:14 -0500)]
Fixes for rewriting stripped, static binaries (bug 1113).

When rewriting stripped static binaries, heuristics are used to find the
functions that execute constructors and destructors for global objects.  These
functions are replaced with functions in the Dyninst RT library so additional
constructors and destructors in newly linked static libraries can also be
executed at initialization and finalization. The code to do this was broken.

Also, fixed error reporting for link-time errors when rewriting
static binaries.

9 years agoInvalidate the cache of all functions whose extents contain the location of a block...
Bill Williams [Thu, 16 Sep 2010 16:37:09 +0000 (11:37 -0500)]
Invalidate the cache of all functions whose extents contain the location of a block split.  This ensures that even if they've been finalized, they will re-check blocks, find the split block, and re-finalize when they are next queried for blocks etc.

9 years agoFix stack frame preamble heuristic:
Bill Williams [Thu, 16 Sep 2010 16:35:52 +0000 (11:35 -0500)]
Fix stack frame preamble heuristic:

* only reg-reg moves esp->ebp
* only moves of the same size as platform address width

9 years agoPower rewriter liveness bug fixes
Madhavi Krishnan [Fri, 17 Sep 2010 18:18:26 +0000 (13:18 -0500)]
Power rewriter liveness bug fixes

This commit fixes liveness bugs related to power special registers.
We save special registers only if they are live.
For isConservative case, we still save all the special registers.

Outstanding issues:
1) We do not track liveness for exception register (xer)
and floating point status and control register (fpscr)
2) Saving only some special registers cause some holes in
the stack as we use fixed offsets for
saving special register.

9 years agoAdds support for ppc64_linux linker stubs (SecurePLT)
Ray Chen [Mon, 13 Sep 2010 18:38:52 +0000 (14:38 -0400)]
Adds support for ppc64_linux linker stubs (SecurePLT)

The PPC64 architecture is limited to a 24-bit branch instruction.  To
circumvent this limitation, binutils linkers generate "stub" code close
to the original branch which, using multiple instructions, jump to the
actual target.

This confuses our current parsing scheme, causing it to generate a number of
unwanted "targXXXXX" functions.  While technically correct, this prevents the
ability to do callsite instrumentation.

This commit allows our parser to correctly recognize these targets as stubs,
determine their true target, and return it to the parser as if it were a
normal call.

9 years agoProperly guard region lookups in findMain code.
Andrew Bernat [Thu, 16 Sep 2010 15:50:39 +0000 (10:50 -0500)]
Properly guard region lookups in findMain code.

9 years agoMissed line from patch in last commit.
Emily Jacobson [Wed, 15 Sep 2010 22:26:02 +0000 (17:26 -0500)]
Missed line from patch in last commit.

9 years agoSymEval fix for circular dependencies during substitution.
Emily Jacobson [Wed, 15 Sep 2010 22:07:34 +0000 (17:07 -0500)]
SymEval fix for circular dependencies during substitution.

9 years agoPick up any non-standard libiberty location from make.config.local as well.
Bill Williams [Wed, 15 Sep 2010 17:07:28 +0000 (12:07 -0500)]
Pick up any non-standard libiberty location from make.config.local as well.

9 years agoWarning cleanup.
Bill Williams [Fri, 10 Sep 2010 21:30:16 +0000 (16:30 -0500)]
Warning cleanup.

9 years agoparseThat Makefile updated to build config args piecewise, and to include the possibl...
Bill Williams [Fri, 10 Sep 2010 21:30:07 +0000 (16:30 -0500)]
parseThat Makefile updated to build config args piecewise, and to include the possible need for -liberty as a link flag.

9 years agoMinor fixes for FreeBSD ProcControlAPI.
Dan McNulty [Mon, 13 Sep 2010 14:26:31 +0000 (09:26 -0500)]
Minor fixes for FreeBSD ProcControlAPI.

The last merge exposed a problem with the workaround for
bug_freebsd_change_pc. This commit fixes the problem.

9 years agoLinux fixes after FreeBSD/Async merge
Matthew Legendre [Fri, 10 Sep 2010 22:55:13 +0000 (17:55 -0500)]
Linux fixes after FreeBSD/Async merge

9 years agoMerge branch 'bsd_work'
Matthew Legendre [Fri, 10 Sep 2010 22:10:35 +0000 (17:10 -0500)]
Merge branch 'bsd_work'

9 years agoFreeBSD fixes for ProcControlAPI with Async handling
Matthew Legendre [Fri, 10 Sep 2010 21:56:33 +0000 (16:56 -0500)]
FreeBSD fixes for ProcControlAPI with Async handling

9 years agoMerge branch 'master' of legendre@git.dyninst.org:/pub/dyninst
Matthew Legendre [Fri, 10 Sep 2010 18:30:08 +0000 (13:30 -0500)]
Merge branch 'master' of legendre@git.dyninst.org:/pub/dyninst

9 years agoFixes for FreeBSD ProccontrolAPI
Matthew Legendre [Fri, 10 Sep 2010 18:04:36 +0000 (13:04 -0500)]
Fixes for FreeBSD ProccontrolAPI

9 years agoBug fix for indirect conditional branches on POWER (lack of fallthrough edge).
Bill Williams [Fri, 10 Sep 2010 16:27:04 +0000 (11:27 -0500)]
Bug fix for indirect conditional branches on POWER (lack of fallthrough edge).

9 years agoFix the -icpc option to actually work correctly in test_driver.
Bill Williams [Tue, 7 Sep 2010 20:47:00 +0000 (15:47 -0500)]
Fix the -icpc option to actually work correctly in test_driver.

9 years agoAdd _Unwind_Resume to our list of non-returning functions (part of exception handling).
Bill Williams [Tue, 7 Sep 2010 20:46:22 +0000 (15:46 -0500)]
Add _Unwind_Resume to our list of non-returning functions (part of exception handling).

9 years agoAdd getChildren() to Expression, taking an Expression::Ptr vector, and update existin...
Bill Williams [Tue, 7 Sep 2010 20:45:30 +0000 (15:45 -0500)]
Add getChildren() to Expression, taking an Expression::Ptr vector, and update existing code to use this new interface.  This will be cleaner, faster, and generally better.

Note the using declaration of InstructionAST::getChildren in Expression, which prevents the higher-level version from being hidden.

9 years agoHandling for async memory/register reads and writes in ProcControlAPI
Matthew Legendre [Wed, 8 Sep 2010 22:12:29 +0000 (17:12 -0500)]
Handling for async memory/register reads and writes in ProcControlAPI

9 years agoHandling for async reads in libcommon library parsing
Matthew Legendre [Wed, 8 Sep 2010 22:10:09 +0000 (17:10 -0500)]
Handling for async reads in libcommon library parsing

9 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Wed, 8 Sep 2010 15:59:35 +0000 (10:59 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

9 years agoFix AST equality code
Andrew Bernat [Thu, 2 Sep 2010 18:00:40 +0000 (13:00 -0500)]
Fix AST equality code

9 years agoMerge branch 'master' of legendre@git.dyninst.org:/pub/dyninst
Matthew Legendre [Tue, 7 Sep 2010 22:46:04 +0000 (17:46 -0500)]
Merge branch 'master' of legendre@git.dyninst.org:/pub/dyninst

9 years agoFixes to go with new ProcControlAPI tests
Matthew Legendre [Tue, 7 Sep 2010 22:45:50 +0000 (17:45 -0500)]
Fixes to go with new ProcControlAPI tests

9 years agoFix bug 1061; external symbols should be undefined (no region) rather than pointing...
Andrew Bernat [Tue, 7 Sep 2010 21:47:32 +0000 (16:47 -0500)]
Fix bug 1061; external symbols should be undefined (no region) rather than pointing to the dyninstInst region.

9 years agoForgot to comment out an unnecessary increment.
Andrew Bernat [Tue, 7 Sep 2010 19:35:39 +0000 (14:35 -0500)]
Forgot to comment out an unnecessary increment.

9 years agoMerge branch 'master' of legendre@git.dyninst.org:/pub/dyninst
Matthew Legendre [Tue, 7 Sep 2010 18:30:57 +0000 (13:30 -0500)]
Merge branch 'master' of legendre@git.dyninst.org:/pub/dyninst

9 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Tue, 7 Sep 2010 17:01:42 +0000 (12:01 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

9 years agoFix off-by-one error that resulted in a non-null-terminated final string in the strin...
Andrew Bernat [Tue, 7 Sep 2010 17:01:25 +0000 (12:01 -0500)]
Fix off-by-one error that resulted in a non-null-terminated final string in the string table.

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Daniel McNulty [Tue, 7 Sep 2010 16:25:43 +0000 (11:25 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoFix for using the FreeBSD provided kernel patch for the lost signal
Dan McNulty [Tue, 7 Sep 2010 16:10:42 +0000 (11:10 -0500)]
Fix for using the FreeBSD provided kernel patch for the lost signal
kernel bug.

The patch provided by the FreeBSD developer fixed the problem for some
signals, but not all signal. Specifically, job control signals (SIGSTOP
and friends) and SIGKILL. This fix changes ProcControl to issue SIGUSR2
signals to stop threads instead of SIGSTOPs. There is no semantic
difference between using a SIGUSR2 to stop threads as compared to using
a SIGSTOP.

Also, fixes a bug in ProcControl testsuite mutatees introduced by a
previous commit. errno needs to be checked immediately after the
syscall that produced the error we care about.

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Kevin Roundy [Tue, 7 Sep 2010 15:41:54 +0000 (10:41 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoFix parsing of stripped binaries.
Andrew Bernat [Tue, 7 Sep 2010 15:35:02 +0000 (10:35 -0500)]
Fix parsing of stripped binaries.

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Kevin Roundy [Tue, 7 Sep 2010 14:34:35 +0000 (09:34 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoCode cleanup: Gap parsing flags were ignored
Kevin Roundy [Tue, 7 Sep 2010 14:33:26 +0000 (09:33 -0500)]
Code cleanup: Gap parsing flags were ignored

We use a flag to indicate whether gap parsing should be
on or off for a particular binary, but it was being ignored,
so that gap parsing was always on for platforms that implement
it.  This commit cleans up the code but shouldn't have any
practical effect, since gap parsing is still on by default for
all platforms that support it.

9 years agoMerge branch 'working'
Daniel McNulty [Tue, 7 Sep 2010 05:36:45 +0000 (00:36 -0500)]
Merge branch 'working'

9 years agoMore code cleanup for ProcControlAPI on FreeBSD.
Dan McNulty [Tue, 7 Sep 2010 04:32:49 +0000 (23:32 -0500)]
More code cleanup for ProcControlAPI on FreeBSD.

Fixes some compiler warnings. Removes some unnecessary members of
the int_thread class. Adds some special case handling which
was removed in a previous cleanup commit.

9 years agoMerge branch 'master' of legendre@git.dyninst.org:/pub/dyninst
Matthew Legendre [Tue, 7 Sep 2010 00:45:55 +0000 (19:45 -0500)]
Merge branch 'master' of legendre@git.dyninst.org:/pub/dyninst

9 years agoAdd new detach/terminate tests and appropiate fixes with these tests
Matthew Legendre [Tue, 7 Sep 2010 00:43:09 +0000 (19:43 -0500)]
Add new detach/terminate tests and appropiate fixes with these tests

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Madhavi Krishnan [Mon, 6 Sep 2010 20:54:20 +0000 (15:54 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agobug 1090: test1_20 BGP failure
Madhavi Krishnan [Mon, 6 Sep 2010 20:53:55 +0000 (15:53 -0500)]
bug 1090: test1_20 BGP failure

Floating point control and status register
is 8 bytes long on ppc32_linux. They must be
saved at 8 byte boundary on the stack (as we
use stfd instruction). Our destination on the stack
was not aligned correctly. This caused an alignment
error and hence an exception on BGP. On other machines,
this would be a performance hit.

This commit fixes the alignment.

9 years agoRevert AIX testsuite changes
Madhavi Krishnan [Mon, 6 Sep 2010 19:54:24 +0000 (14:54 -0500)]
Revert AIX testsuite changes

AIX leaves zombies behind for fork tests.
This is because it receives an extra SIGSTOP
after exit callback. Till we figure out the
bug, we put an extra continueExecution to
prevent zombies in the nightly tests.

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Madhavi Krishnan [Fri, 3 Sep 2010 20:58:12 +0000 (15:58 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agobug 1100: snip_ref_shlib_var fix
Madhavi Krishnan [Fri, 3 Sep 2010 20:58:02 +0000 (15:58 -0500)]
bug 1100: snip_ref_shlib_var fix

gcc doesn't emit stabs debug information if a program has
uninitialized static variables. This looks like a bug in gcc.

snip_ref_shlib_var_mutatee and mutatee_util.h had instances
of uninitialized static variable. This commit initializes the
static variable in mutatee_util and removes the unnecessary
static variable in the mutatee.

This commit fixes bug 1100.

9 years agoFix bug in ptrace(PTRACE_GETEVENTMSG, ...) clobbering stack
Matthew Legendre [Fri, 3 Sep 2010 20:51:12 +0000 (15:51 -0500)]
Fix bug in ptrace(PTRACE_GETEVENTMSG, ...) clobbering stack

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst into working
Daniel McNulty [Fri, 3 Sep 2010 14:13:53 +0000 (09:13 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst into working

9 years agoFurther code cleanup for ProcControlAPI
Dan McNulty [Thu, 2 Sep 2010 22:04:33 +0000 (17:04 -0500)]
Further code cleanup for ProcControlAPI

Removed special cases for FreeBSD in platform-independent code.
It appears I was unknowingly hacking around the bug_freebsd_lost_signal
bug with all these special cases.

9 years agoCode cleanup in ProcControlAPI
Dan McNulty [Thu, 2 Sep 2010 16:25:53 +0000 (11:25 -0500)]
Code cleanup in ProcControlAPI

Removed some FreeBSD-specific code in platform-independent code.
Refactored some code so it is no longer FreeBSD-specific.

9 years agoMerge branch 'master' of legendre@git.dyninst.org:/pub/dyninst
Matthew Legendre [Wed, 1 Sep 2010 20:56:05 +0000 (15:56 -0500)]
Merge branch 'master' of legendre@git.dyninst.org:/pub/dyninst

9 years agoFix for AIX test driver: post-link step to enable >256MB data space.
Bill Williams [Wed, 1 Sep 2010 20:38:35 +0000 (15:38 -0500)]
Fix for AIX test driver: post-link step to enable >256MB data space.

9 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Wed, 1 Sep 2010 19:01:25 +0000 (14:01 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

9 years agoDon't emit FP saves unless the BT makes a function call.
Bill Williams [Tue, 31 Aug 2010 21:45:32 +0000 (16:45 -0500)]
Don't emit FP saves unless the BT makes a function call.

9 years agoAdd support for AMD64 stack-based parameter passing (more than 6 arguments to a call...
Bill Williams [Tue, 31 Aug 2010 21:17:14 +0000 (16:17 -0500)]
Add support for AMD64 stack-based parameter passing (more than 6 arguments to a call snippet).

9 years agofixes IBSTree interval removal for 0-sized intervals
Kevin Roundy [Wed, 1 Sep 2010 16:44:31 +0000 (11:44 -0500)]
fixes IBSTree interval removal for 0-sized intervals

The IBSTree can contain intervals of zero length, and we weren't handling this corner case properly for interval removal.  Fixed.  We add zero-length intervals to the tree when tracking uninitialized sections of the program binary (i.e., sections that have zero-size in the binary but for which physical memory is allocated when the binary is loaded).

warning: this touches dynutil/h, so it causes just about everything to rebuild from scratch.

9 years agoChange Abslocs to use ParseAPI::Functions instead of strings for function-specificity...
Andrew Bernat [Wed, 1 Sep 2010 16:42:58 +0000 (11:42 -0500)]
Change Abslocs to use ParseAPI::Functions instead of strings for function-specificity; fix a bug in symbolic expansion.

Conflicts:

dataflowAPI/h/SymEval.h
parseAPI/src/Function.C

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Daniel McNulty [Mon, 30 Aug 2010 22:17:33 +0000 (17:17 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoWarning cleanup.
Bill Williams [Mon, 30 Aug 2010 21:26:03 +0000 (16:26 -0500)]
Warning cleanup.

9 years agoIntegration bugfix: MopUpMutatees now takes process not thread.
Bill Williams [Mon, 30 Aug 2010 21:06:45 +0000 (16:06 -0500)]
Integration bugfix: MopUpMutatees now takes process not thread.

9 years agoRemove warnings (const return-by-value is meaningless)
Bill Williams [Mon, 30 Aug 2010 21:06:21 +0000 (16:06 -0500)]
Remove warnings (const return-by-value is meaningless)

9 years agoRemove deprecated interfaces (mostly BPatch_thread->BPatch_process conversion) and...
Bill Williams [Fri, 20 Aug 2010 20:59:50 +0000 (15:59 -0500)]
Remove deprecated interfaces (mostly BPatch_thread->BPatch_process conversion) and update test suite accordingly.

9 years agoMerge branch 'master' of ssh://wasabi.cs.wisc.edu/p/paradyn/development/mcnulty/d0...
Dan McNulty [Mon, 30 Aug 2010 21:36:44 +0000 (16:36 -0500)]
Merge branch 'master' of ssh://wasabi.cs.wisc.edu/p/paradyn/development/mcnulty/d0/dyninst

9 years agoRefactor small amount of ProcControl code specific to FreeBSD.
Dan McNulty [Mon, 30 Aug 2010 21:35:09 +0000 (16:35 -0500)]
Refactor small amount of ProcControl code specific to FreeBSD.

Got rid of some unnecessary calls to plat_setStep and plat_suspend.

Factored some code in int_threadPool::cont and int_thread::cont to a
separate function.

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Daniel McNulty [Mon, 30 Aug 2010 18:11:48 +0000 (13:11 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoAllows testsuite to compile on older AIX's without a pthread_barrier_t typedef.
Ray Chen [Mon, 30 Aug 2010 17:56:10 +0000 (13:56 -0400)]
Allows testsuite to compile on older AIX's without a pthread_barrier_t typedef.

If ProcControlAPI is ported to AIX, another solution must be found.

9 years agoFix for configure on FreeBSD/x86_64
Daniel McNulty [Mon, 30 Aug 2010 15:31:43 +0000 (10:31 -0500)]
Fix for configure on FreeBSD/x86_64

Adds the -fPIC option when checking if the libiberty library can
be linked into a shared library, g++ was complaining about not
have the -fPIC option on FreeBSD.

9 years agoChanges to configure.in for FreeBSD.
Daniel McNulty [Mon, 30 Aug 2010 02:08:34 +0000 (21:08 -0500)]
Changes to configure.in for FreeBSD.

Changes the == comparison to =, FreeBSD's sh is a bit picky.

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Daniel McNulty [Mon, 30 Aug 2010 01:52:31 +0000 (20:52 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoMerge branch 'master' of ssh://mcnulty@wasabi.cs.wisc.edu/p/paradyn/development/mcnul...
Dan McNulty [Mon, 30 Aug 2010 01:51:24 +0000 (20:51 -0500)]
Merge branch 'master' of ssh://mcnulty@wasabi.cs.wisc.edu/p/paradyn/development/mcnulty/d0/dyninst

9 years agoFixes for ProcControlAPI on FreeBSD
Dan McNulty [Mon, 30 Aug 2010 01:50:59 +0000 (20:50 -0500)]
Fixes for ProcControlAPI on FreeBSD

Specifically, the fixes address problems with running iRPCs in multithreaded
debuggees. These changes are specific to FreeBSD, and mainly handle corner cases
exposed by the pc_irpc test.

As of this commit, all the ProcControlAPI tests that apply to FreeBSD pass.

9 years agoAIX testsuite changes.\n Removing extra continueExecution from fork tests. Also clean...
Madhavi Krishnan [Sun, 29 Aug 2010 03:24:02 +0000 (22:24 -0500)]
AIX testsuite changes.\n Removing extra continueExecution from fork tests. Also cleaning up test3_7 and printf in Object-elf.

9 years agoThis commit gets ppc32_linux building at Maryland.
Ray Chen [Fri, 27 Aug 2010 19:50:02 +0000 (15:50 -0400)]
This commit gets ppc32_linux building at Maryland.

9 years agoRemove liberty from parseAPI makefile
Matthew Legendre [Fri, 27 Aug 2010 18:20:27 +0000 (13:20 -0500)]
Remove liberty from parseAPI makefile

9 years agoFixes for StackwalkerAPI detach on BlueGene/P with static binaries
Matthew Legendre [Fri, 27 Aug 2010 16:49:50 +0000 (11:49 -0500)]
Fixes for StackwalkerAPI detach on BlueGene/P with static binaries

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Daniel McNulty [Fri, 27 Aug 2010 14:07:01 +0000 (09:07 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Kevin Roundy [Thu, 26 Aug 2010 20:25:05 +0000 (15:25 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoFixes to DataflowAPI's backwards slicing code
Kevin Roundy [Thu, 26 Aug 2010 20:24:09 +0000 (15:24 -0500)]
Fixes to DataflowAPI's backwards slicing code

Fixes backwards slicing's getPredecessors function so that it doesn't traverse block edges that leave the function; this bad case could arise when there is shared code and we're traversing the CFG backwards, passing from a shared-code block into non-shared blocks.

Also fixes the popad instruction's InstructionAPI to Rose translation.

9 years agoMerge branch 'master' of legendre@git.dyninst.org:/pub/dyninst
Matthew Legendre [Thu, 26 Aug 2010 20:20:00 +0000 (15:20 -0500)]
Merge branch 'master' of legendre@git.dyninst.org:/pub/dyninst

9 years agoFix bugs in stack height calculation, which was causing faulting instrumentation...
Matthew Legendre [Thu, 26 Aug 2010 20:14:34 +0000 (15:14 -0500)]
Fix bugs in stack height calculation, which was causing faulting instrumentation on x86

9 years agoFixed case in which an element was pushed onto the worklist even if
Emily Jacobson [Thu, 26 Aug 2010 17:27:30 +0000 (12:27 -0500)]
Fixed case in which an element was pushed onto the worklist even if
call that updated element failed.

Added missing "return false" to the end of handleReturnBackward.

9 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Thu, 26 Aug 2010 16:43:47 +0000 (11:43 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

9 years agoAllow for adding 1 or 2 (static or static/dynamic symbol table) symbols in test.
Andrew Bernat [Thu, 26 Aug 2010 16:43:14 +0000 (11:43 -0500)]
Allow for adding 1 or 2 (static or static/dynamic symbol table) symbols in test.

9 years agoMerge branch 'master' of legendre@git.dyninst.org:/pub/dyninst
Matthew Legendre [Wed, 25 Aug 2010 22:56:06 +0000 (17:56 -0500)]
Merge branch 'master' of legendre@git.dyninst.org:/pub/dyninst

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Kevin Roundy [Wed, 25 Aug 2010 22:45:03 +0000 (17:45 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoFixes problem with container iterators used by ParseAPI
Kevin Roundy [Wed, 25 Aug 2010 22:43:59 +0000 (17:43 -0500)]
Fixes problem with container iterators used by ParseAPI

Eliminates a case in which performing an equality comparison
on the iterators used by ParseAPI's container wrappers could
return a wrong result.

9 years agoFix issue where we wouldn't correctly read /proc/PID/maps
Matthew Legendre [Wed, 25 Aug 2010 22:09:19 +0000 (17:09 -0500)]
Fix issue where we wouldn't correctly read /proc/PID/maps

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Daniel McNulty [Wed, 25 Aug 2010 21:35:21 +0000 (16:35 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoWhen adding a name, add a symbol to both the static and dynamic symbol tables (as...
Andrew Bernat [Wed, 25 Aug 2010 21:32:03 +0000 (16:32 -0500)]
When adding a name, add a symbol to both the static and dynamic symbol tables (as appropriate)

9 years agoCorrectly remove test_add_symbols from non-rewriter platforms
Andrew Bernat [Wed, 25 Aug 2010 20:21:18 +0000 (15:21 -0500)]
Correctly remove test_add_symbols from non-rewriter platforms

9 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Wed, 25 Aug 2010 19:58:12 +0000 (14:58 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst