dyninst.git
9 years agoAdded support for "callpath sensitive" backward slicing.
Emily Jacobson [Tue, 19 Oct 2010 16:51:18 +0000 (11:51 -0500)]
Added support for "callpath sensitive" backward slicing.

Various backward slicing bug fixes.

Added 2 new EdgePredicates: Interproc and SingleContextOrInterproc.

9 years agoBug 1139 fix
Madhavi Krishnan [Mon, 18 Oct 2010 17:23:56 +0000 (12:23 -0500)]
Bug 1139 fix

Test1_33 was failing in rewriter mode because
test1_33_globalVariable1 was initialized in the
bss section. The rewriter cannot modify variables
in the bss section. This commit initializes the
global variable to a non-zero value so that it
is not initialized in the bss section. This commit
fixes bug 1139

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Todd Frederick [Mon, 18 Oct 2010 16:33:01 +0000 (11:33 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoWorkarounds for old buggy versions of PGF (for ParseAPI manual front page)
Nathan Rosenblum [Mon, 18 Oct 2010 15:40:47 +0000 (10:40 -0500)]
Workarounds for old buggy versions of PGF (for ParseAPI manual front page)

9 years agoMerge branch 'master' into devel
Todd Frederick [Mon, 18 Oct 2010 15:36:17 +0000 (10:36 -0500)]
Merge branch 'master' into devel

9 years agodataflowAPI: allow stack analysis to be disabled for AssignmentConverter
Todd Frederick [Mon, 18 Oct 2010 15:34:36 +0000 (10:34 -0500)]
dataflowAPI: allow stack analysis to be disabled for AssignmentConverter

9 years agoPPC64 Linux PLT call stack fix
Ray Chen [Mon, 18 Oct 2010 04:32:01 +0000 (00:32 -0400)]
PPC64 Linux PLT call stack fix

We must store the caller's TOC into 40(r1) when replacing function calls
because the original call (to a PLT stub) would have stored the TOC there,
and subsequent code may expect to restore it.

Also removes an unnecessary dynamic_cast from parsing code.

9 years agoFixes an off-by-one error in Power decoder.
Ray Chen [Mon, 18 Oct 2010 04:29:42 +0000 (00:29 -0400)]
Fixes an off-by-one error in Power decoder.

9 years agoVarious documentation updates to the ParseAPI manual
Kevin Roundy [Fri, 15 Oct 2010 23:49:41 +0000 (18:49 -0500)]
Various documentation updates to the ParseAPI manual

9 years agoTestsuite changes
Madhavi Krishnan [Fri, 15 Oct 2010 21:09:25 +0000 (16:09 -0500)]
Testsuite changes

Added rewriter mode to test1_28, test1_33, test1_34 and init_fini_callback
on power, x86 and x86_64 linux platforms.

9 years agoModify ParseThat to return non-zero on mutator failure (or crash).
Andrew Bernat [Thu, 14 Oct 2010 21:44:45 +0000 (16:44 -0500)]
Modify ParseThat to return non-zero on mutator failure (or crash).

9 years agoMark CodeObjects unparseable when no valid code regions exist
Nathan Rosenblum [Thu, 14 Oct 2010 15:14:22 +0000 (10:14 -0500)]
Mark CodeObjects unparseable when no valid code regions exist

9 years agoUpdated ParseAPI manual
Nathan Rosenblum [Tue, 12 Oct 2010 19:16:06 +0000 (14:16 -0500)]
Updated ParseAPI manual

9 years agoPrevent duplicate return edge creation in Function::blocks_int
Nathan Rosenblum [Tue, 12 Oct 2010 22:00:50 +0000 (17:00 -0500)]
Prevent duplicate return edge creation in Function::blocks_int

9 years agoImplement PPC/Linux trap handler.
Andrew Bernat [Tue, 12 Oct 2010 15:26:12 +0000 (10:26 -0500)]
Implement PPC/Linux trap handler.

9 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Mon, 11 Oct 2010 22:33:03 +0000 (17:33 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

Conflicts:
dataflowAPI/src/Absloc.C

9 years agoFix stack comparison bug.
Andrew Bernat [Mon, 11 Oct 2010 22:31:11 +0000 (17:31 -0500)]
Fix stack comparison bug.

9 years agoFix stack comparison bug.
Andrew Bernat [Mon, 11 Oct 2010 22:30:10 +0000 (17:30 -0500)]
Fix stack comparison bug.

Conflicts:

dataflowAPI/h/slicing.h
dataflowAPI/src/slicing.C

9 years agoRearranged code for better ordering of if statements.
Emily Jacobson [Mon, 11 Oct 2010 18:14:50 +0000 (13:14 -0500)]
Rearranged code for better ordering of if statements.

9 years agojumpSize() fix: take the absolute value of a signed value, not an unsigned. This...
Bill Williams [Fri, 8 Oct 2010 20:48:42 +0000 (16:48 -0400)]
jumpSize() fix: take the absolute value of a signed value, not an unsigned.  This was breaking backwards branching on POWER.

9 years agoRemove assert.
Bill Williams [Thu, 7 Oct 2010 15:53:52 +0000 (11:53 -0400)]
Remove assert.

9 years agoTreat blrl as a return, rather than a call, since in practice it is used as a linking...
Bill Williams [Thu, 7 Oct 2010 15:53:17 +0000 (11:53 -0400)]
Treat blrl as a return, rather than a call, since in practice it is used as a linking return.

9 years agoIgnore regions with zero memory size cross-platform.
Bill Williams [Thu, 7 Oct 2010 15:52:50 +0000 (11:52 -0400)]
Ignore regions with zero memory size cross-platform.

9 years agoAllow jump tables to use add-with-carry as well as add.
Bill Williams [Thu, 7 Oct 2010 15:52:25 +0000 (11:52 -0400)]
Allow jump tables to use add-with-carry as well as add.

9 years agoMake syscall read/write sets correct, rather than overapproximated.
Bill Williams [Thu, 7 Oct 2010 15:50:26 +0000 (11:50 -0400)]
Make syscall read/write sets correct, rather than overapproximated.

9 years agoStackwalkerAPI compilation fixes on BlueGene
Matthew Legendre [Fri, 8 Oct 2010 19:12:38 +0000 (14:12 -0500)]
StackwalkerAPI compilation fixes on BlueGene

9 years agoCompilation fix for VS 2010
Matthew Legendre [Fri, 8 Oct 2010 18:47:39 +0000 (13:47 -0500)]
Compilation fix for VS 2010

9 years agoHandle tail calls to incompletely parsed functions correctly.
Andrew Bernat [Fri, 8 Oct 2010 15:22:56 +0000 (10:22 -0500)]
Handle tail calls to incompletely parsed functions correctly.

9 years agoBuild fix for windows: don't explicitly instantiate a template with an explicit speci...
Bill Williams [Thu, 7 Oct 2010 19:53:21 +0000 (14:53 -0500)]
Build fix for windows: don't explicitly instantiate a template with an explicit specialization.

9 years agoAdd xmm8-xmm15 liveness information/decoding.
Bill Williams [Wed, 6 Oct 2010 16:21:28 +0000 (11:21 -0500)]
Add xmm8-xmm15 liveness information/decoding.

9 years agoAdd missing instructionAPI makefile for VxWorks/ppc.
Ray Chen [Thu, 7 Oct 2010 04:40:40 +0000 (00:40 -0400)]
Add missing instructionAPI makefile for VxWorks/ppc.

9 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
Andrew Bernat [Wed, 6 Oct 2010 20:12:57 +0000 (15:12 -0500)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

9 years agoChange parseThat instrumentation levels to be non-cumulative.
Andrew Bernat [Wed, 6 Oct 2010 20:12:23 +0000 (15:12 -0500)]
Change parseThat instrumentation levels to be non-cumulative.

9 years agoReimplement trap handler to avoid clobbering XMM registers
Andrew Bernat [Wed, 6 Oct 2010 20:11:27 +0000 (15:11 -0500)]
Reimplement trap handler to avoid clobbering XMM registers

9 years agoFix error that caused us to incorrectly compute incoming edge types in int_basicBlocks.
Andrew Bernat [Wed, 6 Oct 2010 20:10:49 +0000 (15:10 -0500)]
Fix error that caused us to incorrectly compute incoming edge types in int_basicBlocks.

9 years agoCreate an ordered-by-address comparison for BPatch_Sets of BPatch_basicBlocks.
Andrew Bernat [Wed, 6 Oct 2010 20:10:30 +0000 (15:10 -0500)]
Create an ordered-by-address comparison for BPatch_Sets of BPatch_basicBlocks.

9 years agofix handling of calls to invalid addresses
Kevin Roundy [Wed, 6 Oct 2010 18:03:44 +0000 (13:03 -0500)]
fix handling of calls to invalid addresses

Call instructions to invalid addresses were previously thrown out as not being real call instructions, meaning that they did not terminate blocks and were considered not to return.  We now treat such call instructions in the same way as indirect calls; we end the block, parse at the fallthrough address, adding an unresolved call edge to the sink block.

9 years agoFix bugs 1108 and 1099
Todd Frederick [Tue, 5 Oct 2010 17:09:04 +0000 (12:09 -0500)]
Fix bugs 1108 and 1099

9 years agoProcControl: createProcess: assume the executable name is the first element in argv
Todd Frederick [Mon, 4 Oct 2010 18:12:11 +0000 (13:12 -0500)]
ProcControl: createProcess: assume the executable name is the first element in argv

9 years agoBring VxWorks platform up to speed with GIT HEAD.
Ray Chen [Fri, 1 Oct 2010 22:02:56 +0000 (18:02 -0400)]
Bring VxWorks platform up to speed with GIT HEAD.

This commit gets the ppc32 VxWorks platform working with parseAPI and
instructionAPI.

9 years agoAdded files to .gitignore
Kevin Roundy [Fri, 1 Oct 2010 21:16:46 +0000 (16:16 -0500)]
Added files to .gitignore

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Kevin Roundy [Fri, 1 Oct 2010 16:58:04 +0000 (11:58 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoAdd new parseAPI files to Windows project.
Bill Williams [Thu, 30 Sep 2010 17:37:17 +0000 (12:37 -0500)]
Add new parseAPI files to Windows project.

9 years agoFix for bug 1115: recognize call/pop/LEA thunk sequence
Bill Williams [Wed, 29 Sep 2010 19:20:35 +0000 (14:20 -0500)]
Fix for bug 1115: recognize call/pop/LEA thunk sequence

9 years agoRefactoring to separate jump table parsing from the rest of InstructionAdapter code...
Bill Williams [Thu, 23 Sep 2010 18:12:01 +0000 (13:12 -0500)]
Refactoring to separate jump table parsing from the rest of InstructionAdapter code, and heuristics for parsing PIC jump tables on PPC/Linux

9 years agoMerge branch 'master' of ssh://git.dyninst.org/pub/dyninst
Kevin Roundy [Mon, 27 Sep 2010 21:25:53 +0000 (16:25 -0500)]
Merge branch 'master' of ssh://git.dyninst.org/pub/dyninst

9 years agoMissed to commit a file in my previous commit
Madhavi Krishnan [Mon, 27 Sep 2010 15:12:31 +0000 (10:12 -0500)]
Missed to commit a file in my previous commit

9 years agoMore ppc32 rewriter fixes
Madhavi Krishnan [Mon, 27 Sep 2010 15:02:56 +0000 (10:02 -0500)]
More ppc32 rewriter fixes

This commit fixes a bug in creating a new stack
frame if there are not sufficient free registers
for isThunk (getPC) operation. "exclude registers"
in the getScratchRegister was not updated correctly.
Fixed.

9 years agowrong realloc call in SymLite-elf library
Aishwarya Kumar [Thu, 23 Sep 2010 22:13:05 +0000 (17:13 -0500)]
wrong realloc call in SymLite-elf library

A erroneous realloc call in Symlite-elf library caused a bug in STAT and it has been fixed.

9 years agoProcControl: correctly destroy async responses when readMemory fails
Todd Frederick [Thu, 23 Sep 2010 18:14:35 +0000 (13:14 -0500)]
ProcControl: correctly destroy async responses when readMemory fails

9 years agoMerge branch 'master' into devel
Todd Frederick [Thu, 23 Sep 2010 13:33:54 +0000 (08:33 -0500)]
Merge branch 'master' into devel

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 agoProcControl: fix return value of breakpoint uninstaller
Todd Frederick [Wed, 22 Sep 2010 17:34:11 +0000 (12:34 -0500)]
ProcControl: fix return value of breakpoint uninstaller

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' into devel
Todd Frederick [Wed, 22 Sep 2010 15:54:07 +0000 (10:54 -0500)]
Merge branch 'master' into devel

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 agoMerge branch 'master' into devel
Todd Frederick [Mon, 20 Sep 2010 20:10:06 +0000 (15:10 -0500)]
Merge branch 'master' into devel

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 agoMerge branch 'master' into devel
Todd Frederick [Fri, 17 Sep 2010 21:30:10 +0000 (16:30 -0500)]
Merge branch 'master' into devel

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 agoNop changes to nmake.module.tmpl
Kevin Roundy [Tue, 14 Sep 2010 19:49:15 +0000 (14:49 -0500)]
Nop changes to nmake.module.tmpl

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 agoMerge branch 'master' into devel
Todd Frederick [Thu, 9 Sep 2010 19:57:13 +0000 (14:57 -0500)]
Merge branch 'master' into devel

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