dyninst.git
12 years agoAdded boost file
bernat [Tue, 4 Dec 2007 21:58:18 +0000 (21:58 +0000)]
Added boost file

12 years agoAdd new boost dependencies
bernat [Tue, 4 Dec 2007 21:47:18 +0000 (21:47 +0000)]
Add new boost dependencies

12 years agoUse "" instead of <> for Boost includes
bernat [Tue, 4 Dec 2007 21:47:11 +0000 (21:47 +0000)]
Use "" instead of <> for Boost includes

12 years agoAdd registerSpace.h as include
legendre [Tue, 4 Dec 2007 21:10:17 +0000 (21:10 +0000)]
Add registerSpace.h as include

12 years agoRemove bitArray.C
legendre [Tue, 4 Dec 2007 21:10:16 +0000 (21:10 +0000)]
Remove bitArray.C

12 years agoFix bug in error handling for failed process stops
legendre [Tue, 4 Dec 2007 18:07:28 +0000 (18:07 +0000)]
Fix bug in error handling for failed process stops

12 years agoFix Windows build errors
legendre [Tue, 4 Dec 2007 18:07:26 +0000 (18:07 +0000)]
Fix Windows build errors

12 years agoAllow builds to progress without libdwarf, libelf, or libunwind, useful for building
legendre [Tue, 4 Dec 2007 18:07:24 +0000 (18:07 +0000)]
Allow builds to progress without libdwarf, libelf, or libunwind, useful for building
components.

12 years agoRemove debuging code that may have been causing failures
legendre [Tue, 4 Dec 2007 18:05:59 +0000 (18:05 +0000)]
Remove debuging code that may have been causing failures

12 years agoAdd 'Region' lookup to find regions of the binary mapped into the address space
legendre [Tue, 4 Dec 2007 18:05:50 +0000 (18:05 +0000)]
Add 'Region' lookup to find regions of the binary mapped into the address space

12 years agoFix windows compile issues
legendre [Tue, 4 Dec 2007 18:05:49 +0000 (18:05 +0000)]
Fix windows compile issues

12 years agoAdd AddrLookup component
legendre [Tue, 4 Dec 2007 18:05:39 +0000 (18:05 +0000)]
Add AddrLookup component

12 years agoAdd build commands for new AddrLookup component
legendre [Tue, 4 Dec 2007 18:05:31 +0000 (18:05 +0000)]
Add build commands for new AddrLookup component

12 years agoFix compilation issue with new gcc versions
legendre [Tue, 4 Dec 2007 18:05:29 +0000 (18:05 +0000)]
Fix compilation issue with new gcc versions

12 years agoRemove debugging print
legendre [Tue, 4 Dec 2007 18:05:28 +0000 (18:05 +0000)]
Remove debugging print

12 years agoFix problem where we'd allow operations on unloaded modules
legendre [Tue, 4 Dec 2007 18:05:27 +0000 (18:05 +0000)]
Fix problem where we'd allow operations on unloaded modules

12 years agoMove /proc/PID/auxv parsing to common area
legendre [Tue, 4 Dec 2007 18:05:13 +0000 (18:05 +0000)]
Move /proc/PID/auxv parsing to common area

12 years agoAdd PtraceBulkRead to common
legendre [Tue, 4 Dec 2007 18:05:12 +0000 (18:05 +0000)]
Add PtraceBulkRead to common

12 years agoUse new 'Address' type from dynutil
legendre [Tue, 4 Dec 2007 18:05:10 +0000 (18:05 +0000)]
Use new 'Address' type from dynutil

12 years agoFix compiler warnings
legendre [Tue, 4 Dec 2007 18:05:06 +0000 (18:05 +0000)]
Fix compiler warnings

12 years agoFix build issue stemming from code coverage including internal Dyninst headers.
legendre [Tue, 4 Dec 2007 18:05:05 +0000 (18:05 +0000)]
Fix build issue stemming from code coverage including internal Dyninst headers.

12 years agoAdd files necessary for use of dynamic_bitset
bernat [Tue, 4 Dec 2007 18:01:43 +0000 (18:01 +0000)]
Add files necessary for use of dynamic_bitset

12 years agoAdd typedef for Boost's dynamic bitset
bernat [Tue, 4 Dec 2007 17:59:48 +0000 (17:59 +0000)]
Add typedef for Boost's dynamic bitset

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:58:28 +0000 (17:58 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Platform-independent liveness functions

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:58:26 +0000 (17:58 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Add debugging output

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:58:25 +0000 (17:58 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Use cap_32_64 instead of arch_x86_64 where appropriate

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:58:21 +0000 (17:58 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Move liveness storage to image_func

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:58:19 +0000 (17:58 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Add liveness debug print

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:58:18 +0000 (17:58 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Get rid of warning

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:58:15 +0000 (17:58 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Add flags liveness info

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:57:52 +0000 (17:57 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Add GPR/SPR/FPR register types

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:57:51 +0000 (17:57 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Reduce header file over-includes

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:57:48 +0000 (17:57 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Add x86 registers used/defined function

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:57:47 +0000 (17:57 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Add stub for power liveness function

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:57:39 +0000 (17:57 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Deprecate BPatch-level liveness info

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:57:37 +0000 (17:57 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Add liveness trigger flags

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:57:36 +0000 (17:57 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Add liveness.C to build list

12 years agoFlags liveness for IA-32 and AMD-64 - - - - - - - - - - - - - - - - - -
bernat [Tue, 4 Dec 2007 17:57:34 +0000 (17:57 +0000)]
Flags liveness for IA-32 and AMD-64  - - - - - - - - - - - - - - - - - -
Add cap_liveness and cap_32_64 to make.config

12 years agorevert back changes
giri [Tue, 4 Dec 2007 16:32:19 +0000 (16:32 +0000)]
revert back changes

12 years agochange parseTypesNow to be public
giri [Mon, 3 Dec 2007 19:29:07 +0000 (19:29 +0000)]
change parseTypesNow to be public

12 years agoRemove debugging code that was causing a hang SanDiegoDistro
legendre [Wed, 21 Nov 2007 20:06:17 +0000 (20:06 +0000)]
Remove debugging code that was causing a hang

12 years agoDisable the install of new libraries until we switch over to new testsuite
legendre [Wed, 21 Nov 2007 20:06:16 +0000 (20:06 +0000)]
Disable the install of new libraries until we switch over to new testsuite

12 years agoAdd new files to the build
giri [Mon, 19 Nov 2007 18:28:22 +0000 (18:28 +0000)]
Add new files to the build

12 years agoAdd ability to emit 32 bit files on 64 bit architectures
giri [Mon, 19 Nov 2007 18:28:17 +0000 (18:28 +0000)]
Add ability to emit 32 bit files on 64 bit architectures

12 years agoFix a problem with negative unsigned offsets causing SymtabAPI to create
bernat [Tue, 13 Nov 2007 04:10:57 +0000 (04:10 +0000)]
Fix a problem with negative unsigned offsets causing SymtabAPI to create
enormous (4GB) binaries.

12 years agoRewriter fixes - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 9 Nov 2007 20:11:02 +0000 (20:11 +0000)]
Rewriter fixes  - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Add a new "get scratch register, but not that one" call

12 years agoRewriter fixes - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 9 Nov 2007 20:10:59 +0000 (20:10 +0000)]
Rewriter fixes  - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Optimize AMD-64 function calls

12 years agoRewriter fixes - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 9 Nov 2007 20:10:57 +0000 (20:10 +0000)]
Rewriter fixes  - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Don't keep registers allocated during the body of an if statement

12 years agoRewriter fixes - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 9 Nov 2007 20:10:56 +0000 (20:10 +0000)]
Rewriter fixes  - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Enable liveness calculation for static case

12 years agoast.C: fix a problem with checking whether an operator AST node has a function call
bernat [Thu, 8 Nov 2007 18:25:38 +0000 (18:25 +0000)]
ast.C: fix a problem with checking whether an operator AST node has a function call
  as a child; due to a typo, we weren't checking all children.

binaryEdit.C, binaryEdit.h: redo how we track changes to "memory" to include variables
  as well as instrumentation. This approach is less efficient, but correct.

12 years agoFix Section Layout Issue
giri [Wed, 7 Nov 2007 16:48:26 +0000 (16:48 +0000)]
Fix Section Layout Issue

12 years agoFix Section layout issue
giri [Wed, 7 Nov 2007 16:48:10 +0000 (16:48 +0000)]
Fix Section layout issue

12 years agoFix a problem with multiTramps overriding function replacements; this was
bernat [Wed, 7 Nov 2007 02:35:28 +0000 (02:35 +0000)]
Fix a problem with multiTramps overriding function replacements; this was
a reversion to a previous version.

12 years agoM dyninstAPI/src/BPatch_binaryEdit.C
bill [Thu, 1 Nov 2007 21:41:01 +0000 (21:41 +0000)]
M dyninstAPI/src/BPatch_binaryEdit.C
  - Atomic defaults to OFF
  - Removed fprintf spam when failing to insert instrumentation
M dyninstAPI/src/BPatch_snippet.C
  - Guard against null proc before dereferencing it
M dyninstAPI/src/binaryEdit.C
  - Found that a can't happen could; removed error spam
  - Added debug output for modifications that don't go in known segments
  - Removed debug output when new symbols get added
M dyninstAPI/src/instPoint.C
  - Guard against uninstrumentable functions causing crashes
M dyninstAPI/src/multiTramp.C
  - Added instrumentation logging for why a multitramp fails
M dyninstAPI/src/reloc-func.C
  - Guard against null possibleEntry

12 years agoBPatch_addressSpace.C:
bernat [Thu, 1 Nov 2007 21:16:04 +0000 (21:16 +0000)]
BPatch_addressSpace.C:
  Update BPatchSnippetHandle for paradyn use (ensure that the returned
  BPatch_process is defined)
BPatch_process.C: Paradyn fixes
addressSpace.C: remove erroneous assert
multiTramp.C: improved debugging output

12 years agoUpdate BPatchSnippetHandle for paradyn use
bernat [Thu, 1 Nov 2007 21:15:15 +0000 (21:15 +0000)]
Update BPatchSnippetHandle for paradyn use

12 years agoDon't use traps in static case.
bernat [Tue, 30 Oct 2007 19:03:10 +0000 (19:03 +0000)]
Don't use traps in static case.

12 years agoFixed up relocation of functions with jump tables.
bernat [Tue, 30 Oct 2007 19:03:08 +0000 (19:03 +0000)]
Fixed up relocation of functions with jump tables.

12 years agoAdd a "canUseTraps" virtual function, defaults to true for dynamic and false for...
bernat [Tue, 30 Oct 2007 19:03:04 +0000 (19:03 +0000)]
Add a "canUseTraps" virtual function, defaults to true for dynamic and false for static.

12 years agoFix incorrect debugging statement.
bernat [Fri, 26 Oct 2007 21:30:58 +0000 (21:30 +0000)]
Fix incorrect debugging statement.

12 years agoBetter debugging.
bernat [Fri, 26 Oct 2007 21:25:21 +0000 (21:25 +0000)]
Better debugging.

12 years agoMake sure we can write multiTramps into relocated functions.
bernat [Fri, 26 Oct 2007 21:24:52 +0000 (21:24 +0000)]
Make sure we can write multiTramps into relocated functions.

12 years agoFix a problem with overwriting part of a inter-function branch with
bernat [Fri, 26 Oct 2007 21:24:20 +0000 (21:24 +0000)]
Fix a problem with overwriting part of a inter-function branch with
multiTramps.

12 years agoCode split bug fixes - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 26 Oct 2007 17:17:53 +0000 (17:17 +0000)]
Code split bug fixes  - - - - - - - - - - - - - - - - - - - - - - - - - -
Fix memory leak in destructor code

12 years agoCode split bug fixes - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 26 Oct 2007 17:17:50 +0000 (17:17 +0000)]
Code split bug fixes  - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux/POWER fixes

12 years agoCode split bug fixes - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 26 Oct 2007 17:17:48 +0000 (17:17 +0000)]
Code split bug fixes  - - - - - - - - - - - - - - - - - - - - - - - - - -
Fix typo that caused parseThat failures

12 years agoCode split bug fixes - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 26 Oct 2007 17:17:47 +0000 (17:17 +0000)]
Code split bug fixes  - - - - - - - - - - - - - - - - - - - - - - - - - -
Implement debugging code for a "don't call this" default function

12 years agoCode split bug fixes - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 26 Oct 2007 17:17:46 +0000 (17:17 +0000)]
Code split bug fixes  - - - - - - - - - - - - - - - - - - - - - - - - - -
Implement readValue and writeValue at address space level

12 years agoCode split bug fixes - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 26 Oct 2007 17:17:43 +0000 (17:17 +0000)]
Code split bug fixes  - - - - - - - - - - - - - - - - - - - - - - - - - -
Remove some BPatch_process dependencies

12 years agoCode split bug fixes - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 26 Oct 2007 17:17:42 +0000 (17:17 +0000)]
Code split bug fixes  - - - - - - - - - - - - - - - - - - - - - - - - - -
Remove dependence on BPFlowGraph-ll_proc

12 years agoCode split bug fixes - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Fri, 26 Oct 2007 17:17:40 +0000 (17:17 +0000)]
Code split bug fixes  - - - - - - - - - - - - - - - - - - - - - - - - - -
Remove unused ll_proc method

12 years agoChecking platform before trying to build newtestsuite
cooksey [Thu, 18 Oct 2007 15:54:35 +0000 (15:54 +0000)]
Checking platform before trying to build newtestsuite

12 years agoConsistency check instrumentation for a valid process
bernat [Tue, 16 Oct 2007 17:04:10 +0000 (17:04 +0000)]
Consistency check instrumentation for a valid process

Remove unused BPatch_process *

12 years agoRemove unused BPatch_process *
bernat [Tue, 16 Oct 2007 17:03:58 +0000 (17:03 +0000)]
Remove unused BPatch_process *

12 years agoRefactor callback calls
rutar [Tue, 16 Oct 2007 02:20:54 +0000 (02:20 +0000)]
Refactor callback calls

12 years agoFix build issues for newtestsuite in Maryland
cooksey [Mon, 15 Oct 2007 16:41:45 +0000 (16:41 +0000)]
Fix build issues for newtestsuite in Maryland

12 years agoupdate section number for new symbols
giri [Fri, 5 Oct 2007 21:21:59 +0000 (21:21 +0000)]
update section number for new symbols

12 years agoRemoved newtestsuite from DyninstAPI target while build problems are
cooksey [Fri, 5 Oct 2007 21:10:08 +0000 (21:10 +0000)]
Removed newtestsuite from DyninstAPI target while build problems are
being fixed

12 years agoAdd the header that defines to_lower
bernat [Fri, 5 Oct 2007 21:06:34 +0000 (21:06 +0000)]
Add the header that defines to_lower

12 years ago Needed by the default x86/linux compiler at Maryland
bernat [Fri, 5 Oct 2007 21:06:26 +0000 (21:06 +0000)]
 Needed by the default x86/linux compiler at Maryland

12 years ago Correctly generate symbols that get ignored by GDB anyway.
bernat [Fri, 5 Oct 2007 21:06:20 +0000 (21:06 +0000)]
 Correctly generate symbols that get ignored by GDB anyway.

12 years agoBuild fixes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
giri [Fri, 5 Oct 2007 16:34:36 +0000 (16:34 +0000)]
Build fixes  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fix undefined function error on windows & AIX

12 years agoPass a flag to emit call
giri [Thu, 4 Oct 2007 22:04:49 +0000 (22:04 +0000)]
Pass a flag to emit call

12 years agoChange to include new files
giri [Thu, 4 Oct 2007 22:04:47 +0000 (22:04 +0000)]
Change to include new files

12 years agoAdd ability to add dynamic symbols
giri [Thu, 4 Oct 2007 22:04:36 +0000 (22:04 +0000)]
Add ability to add dynamic symbols

12 years agoFix a symbol emit bug
giri [Thu, 4 Oct 2007 22:04:34 +0000 (22:04 +0000)]
Fix a symbol emit bug

12 years agoChange call to openBinary
rutar [Thu, 4 Oct 2007 19:31:23 +0000 (19:31 +0000)]
Change call to openBinary

12 years agoFix Wisconsin build issue for test_mem in newtestsuite; add .cvsignore
cooksey [Thu, 4 Oct 2007 16:09:34 +0000 (16:09 +0000)]
Fix Wisconsin build issue for test_mem in newtestsuite; add .cvsignore
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fix Wisconsin build error

12 years agoFix Wisconsin build issue for test_mem in newtestsuite; add .cvsignore
cooksey [Thu, 4 Oct 2007 16:09:32 +0000 (16:09 +0000)]
Fix Wisconsin build issue for test_mem in newtestsuite; add .cvsignore
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Clean up CVS output in newtestsuite

12 years agoextended parseThat to use new addressSpace abstraction
rutar [Wed, 3 Oct 2007 22:38:33 +0000 (22:38 +0000)]
extended parseThat to use new addressSpace abstraction

12 years agoContinue separation between process control and instrumentation - - - -
bernat [Wed, 3 Oct 2007 21:18:19 +0000 (21:18 +0000)]
Continue separation between process control and instrumentation  - - - -
Implement required get_local_ptr method

12 years agoContinue separation between process control and instrumentation - - - -
bernat [Wed, 3 Oct 2007 21:18:17 +0000 (21:18 +0000)]
Continue separation between process control and instrumentation  - - - -
Implement output of modified code

12 years agoContinue separation between process control and instrumentation - - - -
bernat [Wed, 3 Oct 2007 21:18:16 +0000 (21:18 +0000)]
Continue separation between process control and instrumentation  - - - -
Remove extraneous record of an address leading to duplication of records

12 years agoContinue separation between process control and instrumentation - - - -
bernat [Wed, 3 Oct 2007 21:18:15 +0000 (21:18 +0000)]
Continue separation between process control and instrumentation  - - - -
Rewrite instrumentation to remove NULL checks

12 years agoContinue separation between process control and instrumentation - - - -
bernat [Wed, 3 Oct 2007 21:18:14 +0000 (21:18 +0000)]
Continue separation between process control and instrumentation  - - - -
Initialize member vrbles to NULL

12 years agoContinue separation between process control and instrumentation - - - -
bernat [Wed, 3 Oct 2007 21:18:13 +0000 (21:18 +0000)]
Continue separation between process control and instrumentation  - - - -
Implement openBinary

12 years agoContinue separation between process control and instrumentation - - - -
bernat [Wed, 3 Oct 2007 21:18:12 +0000 (21:18 +0000)]
Continue separation between process control and instrumentation  - - - -
Add "creation error" member vrble

12 years agoContinue separation between process control and instrumentation - - - -
bernat [Wed, 3 Oct 2007 21:18:11 +0000 (21:18 +0000)]
Continue separation between process control and instrumentation  - - - -
Comment out unused member vrble

12 years agoContinue separation between process control and instrumentation - - - -
bernat [Wed, 3 Oct 2007 21:18:10 +0000 (21:18 +0000)]
Continue separation between process control and instrumentation  - - - -
Add "openBinary" method to BPatch

12 years agoRefactoring of symtab code - - - - - - - - - - - - - - - - - - - - - - -
giri [Wed, 3 Oct 2007 19:51:08 +0000 (19:51 +0000)]
Refactoring of symtab code  - - - - - - - - - - - - - - - - - - - - - - -
Add new files to the builds