dyninst.git
9 years agoMerge branch 'NewInstpoint' into dyn_pc_integration
Daniel McNulty [Fri, 13 May 2011 14:52:44 +0000 (09:52 -0500)]
Merge branch 'NewInstpoint' into dyn_pc_integration

Conflicts:
autodyninst/make.config.local.in
configure
configure.in
dyninstAPI/i386-unknown-linux2.4/Makefile
dyninstAPI/ppc64_linux/Makefile
dyninstAPI/src/BPatch_parRegion.C
dyninstAPI/src/BPatch_process.C
dyninstAPI/src/BPatch_snippet.C
dyninstAPI/src/InstrucIter-Function.C
dyninstAPI/src/aix.C
dyninstAPI/src/baseTramp.C
dyninstAPI/src/dyn_lwp.h
dyninstAPI/src/dynamiclinking.C
dyninstAPI/src/dynamiclinking.h
dyninstAPI/src/linux-x86.C
dyninstAPI/src/linuxDL.C
dyninstAPI/src/process.C
dyninstAPI/src/process.h
dyninstAPI/src/rpcMgr-thr.C
dyninstAPI/src/sol_proc.C
dyninstAPI/src/solaris.C
dyninstAPI/src/templates0.C
dyninstAPI/src/unix.C
dyninstAPI/src/writeBackXCOFF.h
testsuite/amd64-unknown-freebsd7.2/tuples
testsuite/i386-unknown-freebsd7.2/tuples
testsuite/i386-unknown-linux2.4/tuples
testsuite/i386-unknown-nt4.0/tuples
testsuite/ppc32_bgp/tuples
testsuite/ppc32_linux/tuples
testsuite/ppc64_linux/tuples
testsuite/rs6000-ibm-aix5.1/tuples
testsuite/sparc-sun-solaris2.8/Makefile
testsuite/sparc-sun-solaris2.8/dyninst_group_test_group.c
testsuite/sparc-sun-solaris2.8/make.mutators.gen
testsuite/sparc-sun-solaris2.8/make.solo_mutatee.gen
testsuite/sparc-sun-solaris2.8/test_info_new.gen.C
testsuite/sparc-sun-solaris2.8/tuples
testsuite/sparc-sun-solaris2.9/dyninst_group_test_group.c
testsuite/sparc-sun-solaris2.9/make.mutators.gen
testsuite/sparc-sun-solaris2.9/make.solo_mutatee.gen
testsuite/sparc-sun-solaris2.9/test_info_new.gen.C
testsuite/sparc-sun-solaris2.9/tuples
testsuite/src/dyninst/test6.h
testsuite/src/dyninst/test_mem_4.C
testsuite/src/dyninst/test_mem_5.C
testsuite/src/dyninst/test_mem_6.C
testsuite/src/dyninst/test_mem_7.C
testsuite/src/dyninst/test_mem_8.C
testsuite/src/dyninst/test_stack_2.C
testsuite/src/dyninst/test_stack_2_mutatee.c
testsuite/src/specification/spec-grouped.pl
testsuite/x86_64-unknown-linux2.4/tuples

9 years agoMerge branch 'dyn_pc_integration' of ssh://git.dyninst.org/pub/dyninst into dyn_pc_in...
Daniel McNulty [Thu, 12 May 2011 19:52:46 +0000 (14:52 -0500)]
Merge branch 'dyn_pc_integration' of ssh://git.dyninst.org/pub/dyninst into dyn_pc_integration

9 years agoi386-linux fixes
Andrew Bernat [Thu, 12 May 2011 19:50:48 +0000 (14:50 -0500)]
i386-linux fixes

9 years agoMerge branch 'dyn_pc_integration' of ssh://wasabi.cs.wisc.edu/p/paradyn/development...
Dan McNulty [Thu, 12 May 2011 19:15:21 +0000 (14:15 -0500)]
Merge branch 'dyn_pc_integration' of ssh://wasabi.cs.wisc.edu/p/paradyn/development/mcnulty/d0/dyninst into dyn_pc_integration

9 years agoFix bugs in Dyninst's use of control transfer breakpoints.
Dan McNulty [Thu, 12 May 2011 19:12:03 +0000 (14:12 -0500)]
Fix bugs in Dyninst's use of control transfer breakpoints.

When a trap-based control transfer was changed, the corresponding
ProcControlAPI breakpoint wasn't updated. This change adds code
to remove the old breakpoint and insert a new breakpoint.

This commit also includes code to re-enable DYNINST_DEBUG_DISASS,
as this debugging printf was lost in the merge.

9 years agoFix two bugs: long branhces and getPC
Andrew Bernat [Thu, 12 May 2011 19:11:34 +0000 (14:11 -0500)]
Fix two bugs: long branhces and getPC

9 years agoAdjust StackwalkerAPI heuristics for FreeBSD
Todd Frederick [Thu, 12 May 2011 19:10:24 +0000 (14:10 -0500)]
Adjust StackwalkerAPI heuristics for FreeBSD

9 years agoBuild fixes for Linux/ppc32 and Linux/ppc64.
Daniel McNulty [Thu, 12 May 2011 17:56:31 +0000 (12:56 -0500)]
Build fixes for Linux/ppc32 and Linux/ppc64.

Fixes a bug in ProcControlAPI fork handling on Linux/ppc64.

9 years agoFix a bug in bounds checking of SymtabAPI Regions when creating symbols.
Dan McNulty [Thu, 12 May 2011 15:59:58 +0000 (10:59 -0500)]
Fix a bug in bounds checking of SymtabAPI Regions when creating symbols.

9 years agoBugfixes related to merge
Andrew Bernat [Thu, 12 May 2011 15:14:28 +0000 (10:14 -0500)]
Bugfixes related to merge

9 years agoMerge branch 'master' into NewInstpoint
Andrew Bernat [Thu, 12 May 2011 14:59:46 +0000 (09:59 -0500)]
Merge branch 'master' into NewInstpoint

Conflicts:
common/h/arch-x86.h
dataflowAPI/h/stackanalysis.h
dyninstAPI/dyninstAPI.vcproj
dyninstAPI/src/BPatch_basicBlock.C
dyninstAPI/src/BPatch_function.C
dyninstAPI/src/BPatch_point.C
dyninstAPI/src/InstrucIter-Function.C
dyninstAPI/src/InstrucIter-Function.h
dyninstAPI/src/Parsing-arch.C
dyninstAPI/src/Parsing.h
dyninstAPI/src/addressSpace.C
dyninstAPI/src/ast.C
dyninstAPI/src/baseTramp.C
dyninstAPI/src/baseTramp.h
dyninstAPI/src/function.C
dyninstAPI/src/function.h
dyninstAPI/src/inst-sparc.C
dyninstAPI/src/inst.C
dyninstAPI/src/instPoint.C
dyninstAPI/src/instPoint.h
dyninstAPI/src/mapped_object.C
dyninstAPI/src/mapped_object.h
dyninstAPI/src/multiTramp.C
dyninstAPI/src/multiTramp.h
dyninstAPI/src/parse-cfg.C
dyninstAPI/src/parse-cfg.h
dyninstAPI/src/reloc-func.C
dyninstAPI/src/solaris.C
dyninstAPI/src/templates0.C
parseAPI/src/Parser.C
parseAPI/src/ParserDetails.C
testsuite/src/comptester.h
testsuite/src/dyninst/test1_35.C
testsuite/src/proccontrol/pc_breakpoint.c

9 years agoPPC64 fixes:
Andrew Bernat [Thu, 12 May 2011 02:33:59 +0000 (21:33 -0500)]
PPC64 fixes:
  1) Fix liveness missing PPC64 register definitions
  2) Work around all PPC64 instructions being labeled as PPC32
  3) Fix various inter-module call generation code snippets

9 years agoRe-use Symtab objects between Dyninst/Stackwalker
Todd Frederick [Wed, 11 May 2011 19:06:10 +0000 (14:06 -0500)]
Re-use Symtab objects between Dyninst/Stackwalker

9 years agoMissed a change to FreeBSD/x86
Dan McNulty [Wed, 11 May 2011 20:10:01 +0000 (15:10 -0500)]
Missed a change to FreeBSD/x86

9 years agoBuild fix for Linux/x86.
Daniel McNulty [Wed, 11 May 2011 19:51:25 +0000 (14:51 -0500)]
Build fix for Linux/x86.

9 years agoBuild fixes for NewInstpoint merge on FreeBSD.
Dan McNulty [Wed, 11 May 2011 19:49:11 +0000 (14:49 -0500)]
Build fixes for NewInstpoint merge on FreeBSD.

9 years agoMerge branch 'dyn_pc_integration' of ssh://git.dyninst.org/pub/dyninst into dyn_pc_in...
Daniel McNulty [Wed, 11 May 2011 17:22:06 +0000 (12:22 -0500)]
Merge branch 'dyn_pc_integration' of ssh://git.dyninst.org/pub/dyninst into dyn_pc_integration

9 years agoFix bug in ForceTerminate on Linux/ppc
Daniel McNulty [Wed, 11 May 2011 17:12:17 +0000 (12:12 -0500)]
Fix bug in ForceTerminate on Linux/ppc

On bruckner, a ForceTerminate will cause pre-Exit and pre-LWP destroy
events to be created in response to the terminate. Due to some
OS-level race condition, the OS will deliver a post-Exit for the
process but it will still exist in a stopped state. Continues do
not cause the process to exit.

The workaround for this bug is unset ptrace event options for
the process before terminate so we will not get the pre-Exit and
pre-LWP destroy events. This appears to avoid the case where the
process will be stopped following a ForceTerminate.

9 years agoSome fixes for changes introduced by NewInstpoint merge.
Daniel McNulty [Wed, 11 May 2011 14:34:17 +0000 (09:34 -0500)]
Some fixes for changes introduced by NewInstpoint merge.

* BPatch_basicBlock destructor now only deletes outgoing edges to
  avoid double deletes.
* Remove creation of rtdump.txt
* Fix creation of Symtab object for in-memory backing

9 years agoPPC fixes; PPC64 prototype.
Andrew Bernat [Tue, 10 May 2011 21:32:38 +0000 (16:32 -0500)]
PPC fixes; PPC64 prototype.

9 years agoWindows fixes for NewInstpoint branch.
unknown [Tue, 10 May 2011 18:08:26 +0000 (13:08 -0500)]
Windows fixes for NewInstpoint branch.

9 years agoBuild fix for stackwalking changes.
Daniel McNulty [Mon, 9 May 2011 20:00:04 +0000 (15:00 -0500)]
Build fix for stackwalking changes.

9 years agoMerge branch 'dyn_pc_integration' of ssh://git.dyninst.org/pub/dyninst into dyn_pc_in...
Daniel McNulty [Mon, 9 May 2011 19:53:26 +0000 (14:53 -0500)]
Merge branch 'dyn_pc_integration' of ssh://git.dyninst.org/pub/dyninst into dyn_pc_integration

9 years agoFixes for bugs introduced by previous merge.
Daniel McNulty [Mon, 9 May 2011 19:45:18 +0000 (14:45 -0500)]
Fixes for bugs introduced by previous merge.

Besides compilation bugs and quelling compiler warnings, the
following changes were made:

- fixed access to BPatchStopThreadCallbacks and BPatch_libInfo
- added creation function to baseTramp for iRPCs -- we use
  baseTramps to perform the saves for and restores for iRPCs
- modified AddressSpace::relocateInt to use PCThread objects instead
  of dyn_thread

9 years agoFixes: missing stdio.h, duplicate Windows filenames.
Bill Williams [Mon, 9 May 2011 17:17:43 +0000 (12:17 -0500)]
Fixes: missing stdio.h, duplicate Windows filenames.

9 years agoKill various save_the_world related functions (that were not hidden by cap_save_the_w...
Bill Williams [Mon, 9 May 2011 15:40:45 +0000 (10:40 -0500)]
Kill various save_the_world related functions (that were not hidden by cap_save_the_world).

9 years agoAdd missing genfiles. Why are these being .gitignored?
Bill Williams [Mon, 9 May 2011 15:35:47 +0000 (10:35 -0500)]
Add missing genfiles. Why are these being .gitignored?

9 years agoAdd missing genfiles. Why are these being .gitignored?
Bill Williams [Mon, 9 May 2011 15:35:10 +0000 (10:35 -0500)]
Add missing genfiles. Why are these being .gitignored?

9 years agoFix BSD build error: 86_64 rather than x86_64 not a valid architecture.
Bill Williams [Mon, 9 May 2011 15:29:38 +0000 (10:29 -0500)]
Fix BSD build error: 86_64 rather than x86_64 not a valid architecture.

9 years agoConverted Dyninst Stackwalker helpers to use new instrumentation interface.
Todd Frederick [Mon, 9 May 2011 15:46:18 +0000 (10:46 -0500)]
Converted Dyninst Stackwalker helpers to use new instrumentation interface.

9 years agoFixes an x86_64 bug in emission code
Kevin Roundy [Fri, 6 May 2011 22:56:26 +0000 (17:56 -0500)]
Fixes an x86_64 bug in emission code

Emitter::getInterModuleFuncAddr assumed inter-module
function addresses are always 4-bytes long, fixed.

9 years agoSeparated out relocation graph transformations into their own file and cleaned up...
Andrew Bernat [Fri, 6 May 2011 21:00:50 +0000 (16:00 -0500)]
Separated out relocation graph transformations into their own file and cleaned up significantly.

9 years agoProgress integrating new instpoint with dyn_pc_integration
Todd Frederick [Fri, 6 May 2011 19:48:00 +0000 (14:48 -0500)]
Progress integrating new instpoint with dyn_pc_integration

9 years agoFix more busted genfiles.
Bill Williams [Fri, 6 May 2011 17:05:32 +0000 (12:05 -0500)]
Fix more busted genfiles.

9 years agoMerge branch 'NewInstpoint' into dyn_pc_integration
Todd Frederick [Fri, 6 May 2011 16:21:32 +0000 (11:21 -0500)]
Merge branch 'NewInstpoint' into dyn_pc_integration

Conflicts:
Makefile
dataflowAPI/h/SymEval.h
dataflowAPI/h/stackanalysis.h
dataflowAPI/src/Visitors.C
dataflowAPI/src/slicing.C
dataflowAPI/src/stackanalysis.C
dyninstAPI/h/BPatch.h
dyninstAPI/h/BPatch_binaryEdit.h
dyninstAPI/h/BPatch_flowGraph.h
dyninstAPI/h/BPatch_function.h
dyninstAPI/make.module.tmpl
dyninstAPI/ppc32_linux/Makefile
dyninstAPI/src/BPatch.C
dyninstAPI/src/BPatch_addressSpace.C
dyninstAPI/src/BPatch_asyncEventHandler.C
dyninstAPI/src/BPatch_asyncEventHandler.h
dyninstAPI/src/BPatch_basicBlock.C
dyninstAPI/src/BPatch_function.C
dyninstAPI/src/BPatch_image.C
dyninstAPI/src/BPatch_module.C
dyninstAPI/src/BPatch_process.C
dyninstAPI/src/BPatch_snippet.C
dyninstAPI/src/BPatch_thread.C
dyninstAPI/src/EventHandler.C
dyninstAPI/src/EventHandler.h
dyninstAPI/src/RegisterConversion.h
dyninstAPI/src/Relocation/patchapi_debug.h
dyninstAPI/src/addressSpace.h
dyninstAPI/src/aix.C
dyninstAPI/src/baseTramp.C
dyninstAPI/src/baseTramp.h
dyninstAPI/src/callbacks.C
dyninstAPI/src/callbacks.h
dyninstAPI/src/codegen-x86.C
dyninstAPI/src/codegen.C
dyninstAPI/src/codegen.h
dyninstAPI/src/debug.C
dyninstAPI/src/debuggerinterface.h
dyninstAPI/src/dyn_lwp.C
dyninstAPI/src/dyn_lwp.h
dyninstAPI/src/dyn_thread.C
dyninstAPI/src/dyn_thread.h
dyninstAPI/src/dynamiclinking.C
dyninstAPI/src/dynamiclinking.h
dyninstAPI/src/emit-x86.C
dyninstAPI/src/eventgate.C
dyninstAPI/src/frame.C
dyninstAPI/src/frame.h
dyninstAPI/src/freebsd.C
dyninstAPI/src/function.C
dyninstAPI/src/function.h
dyninstAPI/src/hybridCallbacks.C
dyninstAPI/src/hybridInstrumentation.C
dyninstAPI/src/hybridOverwrites.C
dyninstAPI/src/inferiorRPC.h
dyninstAPI/src/inst-power.C
dyninstAPI/src/inst-winnt.C
dyninstAPI/src/inst-x86.C
dyninstAPI/src/inst.h
dyninstAPI/src/instPoint.C
dyninstAPI/src/instPoint.h
dyninstAPI/src/linux-power.C
dyninstAPI/src/linux-x86.C
dyninstAPI/src/linux.C
dyninstAPI/src/linuxDL.C
dyninstAPI/src/mailbox.h
dyninstAPI/src/mapped_object.C
dyninstAPI/src/mapped_object.h
dyninstAPI/src/miniTramp.C
dyninstAPI/src/miniTramp.h
dyninstAPI/src/multiTramp.C
dyninstAPI/src/multiTramp.h
dyninstAPI/src/pdwinnt.C
dyninstAPI/src/process.C
dyninstAPI/src/process.h
dyninstAPI/src/procfs.C
dyninstAPI/src/reloc-func.C
dyninstAPI/src/replacedInstruction.C
dyninstAPI/src/rpcMgr-lwp.C
dyninstAPI/src/rpcMgr-thr.C
dyninstAPI/src/rpcMgr.C
dyninstAPI/src/rpcMgr.h
dyninstAPI/src/signalgenerator-unix.h
dyninstAPI/src/signalgenerator-winnt.h
dyninstAPI/src/signalgenerator.C
dyninstAPI/src/signalgenerator.h
dyninstAPI/src/signalhandler.C
dyninstAPI/src/signalhandler.h
dyninstAPI/src/solaris.C
dyninstAPI/src/stackwalk-x86.C
dyninstAPI/src/symtab.h
dyninstAPI/src/syscall-linux.C
dyninstAPI/src/unix.C
dyninstAPI/src/vxworks.C
dyninstAPI/x86_64-unknown-linux2.4/Makefile
dyninstAPI_RT/src/RTthread-index.c
dyninstAPI_RT/src/RTthread.c
instructionAPI/src/Operation.C
instructionAPI/src/Register.C
parseThat/Makefile.in
proccontrol/amd64-unknown-freebsd7.2/Makefile
proccontrol/i386-unknown-freebsd7.2/Makefile
proccontrol/i386-unknown-linux2.4/Makefile
proccontrol/src/linux.C
proccontrol/x86_64-unknown-linux2.4/Makefile
stackwalk/i386-unknown-linux2.4/Makefile
stackwalk/src/catamount-swk.C
stackwalk/src/dbginfo-stepper.C
stackwalk/src/linux-ppc-swk.C
stackwalk/src/linux-swk.C
stackwalk/x86_64-unknown-linux2.4/Makefile
stackwalk/x86_64_cnl/Makefile
testsuite/amd64-unknown-freebsd7.2/tuples
testsuite/i386-unknown-freebsd7.2/tuples
testsuite/i386-unknown-linux2.4/tuples
testsuite/i386-unknown-nt4.0/tuples
testsuite/make.module.tmpl
testsuite/src/test_driver.C
testsuite/x86_64-unknown-linux2.4/tuples

9 years agoBuild fixes for Windows.
unknown [Fri, 6 May 2011 16:21:17 +0000 (11:21 -0500)]
Build fixes for Windows.

9 years agoFix bad merge/rebase. Again.
Bill Williams [Fri, 6 May 2011 15:27:51 +0000 (10:27 -0500)]
Fix bad merge/rebase. Again.

9 years agoMerge branch 'dyn_pc_integration' of ssh://wasabi.cs.wisc.edu/p/paradyn/development...
Dan McNulty [Fri, 6 May 2011 14:24:24 +0000 (09:24 -0500)]
Merge branch 'dyn_pc_integration' of ssh://wasabi.cs.wisc.edu/p/paradyn/development/mcnulty/d0/dyninst into dyn_pc_integration

9 years agoMerge branch 'dyn_pc_integration' of ssh://git.dyninst.org/pub/dyninst into dyn_pc_in...
Daniel McNulty [Fri, 6 May 2011 14:22:05 +0000 (09:22 -0500)]
Merge branch 'dyn_pc_integration' of ssh://git.dyninst.org/pub/dyninst into dyn_pc_integration

9 years agoOne more genfile missed
Bill Williams [Thu, 5 May 2011 22:36:37 +0000 (17:36 -0500)]
One more genfile missed

9 years agoAdd missing genfiles
Bill Williams [Thu, 5 May 2011 22:20:23 +0000 (17:20 -0500)]
Add missing genfiles

9 years agoMerge branch 'dyn_pc_integration' of ssh://wasabi.cs.wisc.edu/p/paradyn/development...
Dan McNulty [Thu, 5 May 2011 22:04:45 +0000 (17:04 -0500)]
Merge branch 'dyn_pc_integration' of ssh://wasabi.cs.wisc.edu/p/paradyn/development/mcnulty/d0/dyninst into dyn_pc_integration

9 years agoImplement mutatee traps on FreeBSD.
Dan McNulty [Thu, 5 May 2011 22:03:10 +0000 (17:03 -0500)]
Implement mutatee traps on FreeBSD.

9 years agoFix bugs in handling user thread destruction on Linux
Daniel McNulty [Thu, 5 May 2011 20:59:02 +0000 (15:59 -0500)]
Fix bugs in handling user thread destruction on Linux

We now postpone calling into thread_db until the process is stopped to avoid a
race where thread_db will modify an internal libc data structure as running
threads are modifying the same data structure.

This race condition manifests itself as not retrieving corresponding events for
thread destruction event breakpoints.

9 years agoAdd NT genfiles.
Bill Williams [Thu, 5 May 2011 20:49:46 +0000 (15:49 -0500)]
Add NT genfiles.

9 years agoTuple file cleanup.
Bill Williams [Thu, 5 May 2011 15:53:50 +0000 (10:53 -0500)]
Tuple file cleanup.

9 years agoInitialize bool correctly.
Bill Williams [Thu, 14 Apr 2011 20:45:56 +0000 (15:45 -0500)]
Initialize bool correctly.

9 years agoUndo realloc changes that introduced bug.
Bill Williams [Wed, 13 Apr 2011 20:57:29 +0000 (15:57 -0500)]
Undo realloc changes that introduced bug.

9 years agoMore style cleanup (const value => const ref, pre-increment iterators, initialize...
Bill Williams [Wed, 13 Apr 2011 16:15:09 +0000 (11:15 -0500)]
More style cleanup (const value => const ref, pre-increment iterators, initialize buffers)

9 years agoInterface cleanup: const-value changed to const-ref
Bill Williams [Tue, 12 Apr 2011 15:41:54 +0000 (10:41 -0500)]
Interface cleanup: const-value changed to const-ref

9 years agoRemoved cap_relocation conditionals; all platforms support relocation.
Bill Williams [Mon, 11 Apr 2011 20:54:20 +0000 (15:54 -0500)]
Removed cap_relocation conditionals; all platforms support relocation.

9 years agoRemoved more old save the world code.
Bill Williams [Tue, 5 Apr 2011 16:50:20 +0000 (11:50 -0500)]
Removed more old save the world code.

9 years agoFull purge of os_solaris defines.
Bill Williams [Mon, 4 Apr 2011 16:30:52 +0000 (11:30 -0500)]
Full purge of os_solaris defines.

9 years agoSearch for libraries in build locations, not install locations.
Bill Williams [Thu, 31 Mar 2011 20:47:27 +0000 (15:47 -0500)]
Search for libraries in build locations, not install locations.

9 years agoRemoval of:
Bill Williams [Thu, 31 Mar 2011 20:31:40 +0000 (15:31 -0500)]
Removal of:

* SPARC
* solaris
* IA64
* cap_save_the_world
* old dyninst test suite
* various dead platform defines in tests (e.g. alpha, irix, x86/solaris

9 years agoPoint includes at the build directory, not the install directory.
Bill Williams [Thu, 31 Mar 2011 20:30:10 +0000 (15:30 -0500)]
Point includes at the build directory, not the install directory.

9 years agoFix x86 wanderer frame stepper and disable Dyninst use of AnalysisStepper for now
Todd Frederick [Wed, 4 May 2011 21:23:57 +0000 (16:23 -0500)]
Fix x86 wanderer frame stepper and disable Dyninst use of AnalysisStepper for now

9 years agoFunction wrapping prototype and various bugfixes.
Andrew Bernat [Tue, 3 May 2011 19:39:20 +0000 (14:39 -0500)]
Function wrapping prototype and various bugfixes.

9 years agoFunction wrapping WIP at reset of devel tree
Andrew Bernat [Tue, 3 May 2011 14:47:15 +0000 (09:47 -0500)]
Function wrapping WIP at reset of devel tree

9 years agoMerge branch 'master' into NewInstpoint
Andrew Bernat [Fri, 29 Apr 2011 21:13:22 +0000 (16:13 -0500)]
Merge branch 'master' into NewInstpoint

Conflicts:
parseAPI/src/ParserDetails.C

9 years agoMerge branch 'NewInstpoint' of brie.cs.wisc.edu:/p/paradyn/development/bernat/builds...
Andrew Bernat [Fri, 29 Apr 2011 20:48:48 +0000 (15:48 -0500)]
Merge branch 'NewInstpoint' of brie.cs.wisc.edu:/p/paradyn/development/bernat/builds/dyninst into NewInstpoint

9 years agoPPC fixes for new relocation engine
Andrew Bernat [Fri, 29 Apr 2011 20:48:34 +0000 (15:48 -0500)]
PPC fixes for new relocation engine

9 years agoWindows fixes for new relocation engine.
unknown [Fri, 29 Apr 2011 20:48:16 +0000 (15:48 -0500)]
Windows fixes for new relocation engine.

9 years agoMerge branch 'dyn_pc_integration' of ssh://mcnulty@wasabi.cs.wisc.edu/p/paradyn/devel...
Dan McNulty [Thu, 28 Apr 2011 18:02:10 +0000 (13:02 -0500)]
Merge branch 'dyn_pc_integration' of ssh://mcnulty@wasabi.cs.wisc.edu/p/paradyn/development/mcnulty/d0/dyninst into dyn_pc_integration

9 years agoFix for code used to find _start on ELF platforms
Dan McNulty [Thu, 28 Apr 2011 17:58:04 +0000 (12:58 -0500)]
Fix for code used to find _start on ELF platforms

In image::findMain(), we add a symbol for _start if it doesn't
exist. When main exists, _start was mistakenly marked as
non-existent and later code adds a symbol for it. Stackwalking uses
this symbol to find the bottom of the stack and when a new process'
executable has already been parsed, the wrong _start symbol is given
to stackwalking resulting in a failure to find the bottom of the
stack.

We no longer add a _start symbol if one already exists. This allows
stackwalking to find the bottom of the stack when a binary has
already been parsed.

9 years agoFixes to ProcControlAPI on Linux for attaching to a stopped process.
Daniel McNulty [Thu, 28 Apr 2011 17:56:55 +0000 (12:56 -0500)]
Fixes to ProcControlAPI on Linux for attaching to a stopped process.

9 years agoRemove <idiotic> funcJumpExpr and associated code. Fix rewriting statically linked...
Andrew Bernat [Thu, 28 Apr 2011 15:47:51 +0000 (10:47 -0500)]
Remove <idiotic> funcJumpExpr and associated code. Fix rewriting statically linked binaries. Fix a bug allocating negative memory.

9 years agoAdd a better original/instrumentation RelocBlock tracking method
Andrew Bernat [Wed, 27 Apr 2011 19:04:56 +0000 (14:04 -0500)]
Add a better original/instrumentation RelocBlock tracking method

9 years agoAdd compatibility layer between BPatch points and instPoints
Andrew Bernat [Wed, 27 Apr 2011 18:07:35 +0000 (13:07 -0500)]
Add compatibility layer between BPatch points and instPoints

9 years agoPPC bugfixes
Andrew Bernat [Tue, 26 Apr 2011 20:55:00 +0000 (15:55 -0500)]
PPC bugfixes

9 years agoMerge branch 'master' of git.dyninst.org:/pub/dyninst
legendre1 [Tue, 26 Apr 2011 20:40:52 +0000 (13:40 -0700)]
Merge branch 'master' of git.dyninst.org:/pub/dyninst

9 years agoImplement detach-and-leave-stopped in StackwalkerAPI
legendre1 [Tue, 26 Apr 2011 20:38:10 +0000 (13:38 -0700)]
Implement detach-and-leave-stopped in StackwalkerAPI

9 years agoPrint debug error messages when using non-functional libdwarf
legendre1 [Tue, 26 Apr 2011 20:37:30 +0000 (13:37 -0700)]
Print debug error messages when using non-functional libdwarf

9 years agoFix segfault in CodeTracker caused by double-delete
Andrew Bernat [Tue, 26 Apr 2011 19:24:38 +0000 (14:24 -0500)]
Fix segfault in CodeTracker caused by double-delete

9 years agoSmall code cleanup
Nathan Rosenblum [Sun, 20 Mar 2011 19:39:14 +0000 (14:39 -0500)]
Small code cleanup

Comment out currently unused code to supress compiler warning.
Also removed debugging code.

9 years agox86 updates to correspond /w/ PPC work; initial attempt at post-call padding.
Andrew Bernat [Tue, 26 Apr 2011 16:03:46 +0000 (11:03 -0500)]
x86 updates to correspond /w/ PPC work; initial attempt at post-call padding.

9 years agoFixes for memory tests on FreeBSD/x86.
Dan McNulty [Fri, 22 Apr 2011 21:09:37 +0000 (16:09 -0500)]
Fixes for memory tests on FreeBSD/x86.

9 years agoMissed the actual test file in last commit.
Emily Jacobson [Thu, 21 Apr 2011 18:58:39 +0000 (13:58 -0500)]
Missed the actual test file in last commit.

9 years agoSegment registers were 32-bit and should have been 16-bit.
Emily Jacobson [Thu, 21 Apr 2011 15:41:49 +0000 (10:41 -0500)]
Segment registers were 32-bit and should have been 16-bit.

An associated test has been added, also.

9 years agoPPC prototype of new relocation system; still needs bugfixing
Andrew Bernat [Wed, 20 Apr 2011 21:15:22 +0000 (16:15 -0500)]
PPC prototype of new relocation system; still needs bugfixing

9 years agoAdd FreeBSD to some ifdefs for the memory tests.
Dan McNulty [Tue, 19 Apr 2011 14:59:41 +0000 (09:59 -0500)]
Add FreeBSD to some ifdefs for the memory tests.

9 years agoBuild fixes for FreeBSD x86_64 mem tests.
Dan McNulty [Mon, 18 Apr 2011 21:57:38 +0000 (16:57 -0500)]
Build fixes for FreeBSD x86_64 mem tests.

9 years agoEnable test_mem tests for FreeBSD in test sources.
Dan McNulty [Mon, 18 Apr 2011 21:51:30 +0000 (16:51 -0500)]
Enable test_mem tests for FreeBSD in test sources.

9 years agoMerge branch 'dyn_pc_integration' of ssh://mcnulty@wasabi.cs.wisc.edu/p/paradyn/devel...
Dan McNulty [Mon, 18 Apr 2011 17:14:23 +0000 (12:14 -0500)]
Merge branch 'dyn_pc_integration' of ssh://mcnulty@wasabi.cs.wisc.edu/p/paradyn/development/mcnulty/d0/dyninst into dyn_pc_integration

9 years agoFixes for handling thread destruction.
Dan McNulty [Mon, 18 Apr 2011 17:12:44 +0000 (12:12 -0500)]
Fixes for handling thread destruction.

Also, fix a race condition for test_thread_8.

9 years agoMerge branch 'dyn_pc_integration' of ssh://mcnulty@wasabi.cs.wisc.edu/p/paradyn/devel...
Dan McNulty [Mon, 18 Apr 2011 17:11:39 +0000 (12:11 -0500)]
Merge branch 'dyn_pc_integration' of ssh://mcnulty@wasabi.cs.wisc.edu/p/paradyn/development/mcnulty/d0/dyninst into dyn_pc_integration

9 years agoBuild fixes for FreeBSD/x86
Dan McNulty [Mon, 18 Apr 2011 17:11:17 +0000 (12:11 -0500)]
Build fixes for FreeBSD/x86

9 years agoFix for enabling test_mem_* on FreeBSD/x86_64.
Daniel McNulty [Mon, 18 Apr 2011 16:38:45 +0000 (11:38 -0500)]
Fix for enabling test_mem_* on FreeBSD/x86_64.

Also, enables test_write_param on FreeBSD.

9 years agoMerge branch 'dyn_pc_integration' of ssh://wasabi.cs.wisc.edu/p/paradyn/development...
Dan McNulty [Thu, 14 Apr 2011 21:46:30 +0000 (16:46 -0500)]
Merge branch 'dyn_pc_integration' of ssh://wasabi.cs.wisc.edu/p/paradyn/development/mcnulty/d0/dyninst into dyn_pc_integration

9 years agoRevert changes made to ProcControlAPI for a Dyninst bug.
Daniel McNulty [Thu, 14 Apr 2011 21:48:45 +0000 (16:48 -0500)]
Revert changes made to ProcControlAPI for a Dyninst bug.

9 years agoTweaks related to master/NewInstpoint merge.
Andrew Bernat [Thu, 14 Apr 2011 16:52:40 +0000 (11:52 -0500)]
Tweaks related to master/NewInstpoint merge.

9 years agoMerge branch 'master' into NewInstpoint
Andrew Bernat [Thu, 14 Apr 2011 16:17:14 +0000 (11:17 -0500)]
Merge branch 'master' into NewInstpoint

Conflicts:
.gitignore
common/common.vcproj
dyninstAPI/dyninstAPI.vcproj
dyninstAPI/src/codegen-x86.C
dyninstAPI/src/image-sparc.C
dyninstAPI/src/multiTramp.C
dyninstAPI/src/multiTramp.h
dyninstAPI/src/reloc-func.C
dyninstAPI/src/replacedInstruction.C
dyninstAPI_RT/DyninstAPI_RT.vcproj
instructionAPI/instructionAPI.vcproj
parseAPI/parseAPI.vcproj
parseThat/src/config.C
parseThat/src/config.h
parseThat/src/parseThat.C
symtabAPI/src/emitWin.h
symtabAPI/symtabAPI.vcproj

9 years agoFix test4_4 failure post-master-merge
Andrew Bernat [Thu, 14 Apr 2011 15:59:52 +0000 (10:59 -0500)]
Fix test4_4 failure post-master-merge

9 years agoMerge branch 'master' into NewInstpoint
Andrew Bernat [Wed, 13 Apr 2011 21:55:18 +0000 (16:55 -0500)]
Merge branch 'master' into NewInstpoint

Conflicts:
parseAPI/src/Parser.C

9 years agoMore test fixes; x86 test suite runs to completion with two failures (due to post...
Andrew Bernat [Wed, 13 Apr 2011 21:53:30 +0000 (16:53 -0500)]
More test fixes; x86 test suite runs to completion with two failures (due to post-call implementation missing)

9 years agoDisable test1_35 as it no longer has meaning; replace getSize in test1_30 with a...
Andrew Bernat [Tue, 12 Apr 2011 18:22:49 +0000 (13:22 -0500)]
Disable test1_35 as it no longer has meaning; replace getSize in test1_30 with a safe call to getAddressRange

9 years agoFix forking of baseTramps, miniTramps; fixes test_fork_*
Andrew Bernat [Tue, 12 Apr 2011 18:22:20 +0000 (13:22 -0500)]
Fix forking of baseTramps, miniTramps; fixes test_fork_*

9 years agoProvide interface to retrieve Instruction::Ptr from InstructionAdapter.
Emily Jacobson [Tue, 12 Apr 2011 15:03:53 +0000 (10:03 -0500)]
Provide interface to retrieve Instruction::Ptr from InstructionAdapter.

Fixed a few header file locations.

9 years agoFix accessing parameters
Andrew Bernat [Mon, 11 Apr 2011 22:14:59 +0000 (17:14 -0500)]
Fix accessing parameters

9 years agoMore test fixes
Andrew Bernat [Mon, 11 Apr 2011 20:44:46 +0000 (15:44 -0500)]
More test fixes