paradyn.git
10 years agoThis includes a set of modifications made with the intent of restoring the build... master
James Waskiewicz [Wed, 12 Nov 2008 18:18:48 +0000 (13:18 -0500)]
This includes a set of modifications made with the intent of restoring the build-ability of paradyn after the git transition and split of the dyninst/paradyn makefiles.  I worked through all problems up to paradynd, but building paradyn was just too broken -- largely by what appears to be significant API incompatibilities with newer versions of mrnet, including bad code generation by igen.

10 years agoget rid of .cvsignore
James Waskiewicz [Fri, 24 Oct 2008 05:01:15 +0000 (01:01 -0400)]
get rid of .cvsignore

10 years agoremove nmake* files
James Waskiewicz [Fri, 24 Oct 2008 04:48:28 +0000 (00:48 -0400)]
remove nmake* files

10 years agoRemove non-paradyn targets and other non relevant code from Makefile
James Waskiewicz [Fri, 24 Oct 2008 04:05:09 +0000 (00:05 -0400)]
Remove non-paradyn targets and other non relevant code from Makefile

10 years agoRevert "-"
James Waskiewicz [Fri, 24 Oct 2008 04:02:34 +0000 (00:02 -0400)]
Revert "-"

Forgot commit message, probably some other way to deal with this.

This reverts commit d1301d3fcd9e8174c12c7cfda4ba1a2a8ceebea3.

10 years ago-
James Waskiewicz [Fri, 24 Oct 2008 03:53:13 +0000 (23:53 -0400)]
-

10 years agoremove non-paradyn files and directories from core dyninst/paradyn repository
James Waskiewicz [Fri, 24 Oct 2008 03:10:32 +0000 (23:10 -0400)]
remove non-paradyn files and directories from core dyninst/paradyn repository

10 years agoreference global network, since static functions
mjbrim [Fri, 10 Oct 2008 21:42:22 +0000 (21:42 +0000)]
reference global network, since static functions

10 years agoreference internal _network, not global network
mjbrim [Fri, 10 Oct 2008 21:21:28 +0000 (21:21 +0000)]
reference internal _network, not global network

10 years agoremove old ClassImpl files
mjbrim [Fri, 10 Oct 2008 21:16:35 +0000 (21:16 +0000)]
remove old ClassImpl files

10 years agoremove developer README, supplanted by top-level TODO
mjbrim [Fri, 10 Oct 2008 20:38:47 +0000 (20:38 +0000)]
remove developer README, supplanted by top-level TODO

10 years agoremove very old MC files
mjbrim [Fri, 10 Oct 2008 20:36:19 +0000 (20:36 +0000)]
remove very old MC files

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:54:14 +0000 (19:54 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
move implementation to own file

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:54:06 +0000 (19:54 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
check for NULL data

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:54:05 +0000 (19:54 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
renamed XPLAT_RSH and XPLAT_REMCMD, windows compatibility

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:54:04 +0000 (19:54 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
support XPLAT_USE_CANONICAL_NAMES

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:54:03 +0000 (19:54 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
fix GetAdaptersInfo() use

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:59 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
indentation fix

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:58 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
added debug perror

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:56 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
added socket include

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:53 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
added Cancel()

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:52 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
added GetHandle()

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:51 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
windows compatibility updates

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:37 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
add new tests

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:17 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
update tests for API changes

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:15 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
added Timer class, mrn_dbg_func_begin/end macros, MRNET_DEBUG_LOG_DIRECTORY support

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:14 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
use PDR_ENCODE, not XDR_ENCODE

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:13 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
support multiple networks, single-node networks

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:12 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
support knomial tree

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:10 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
new packet routing

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:08 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
future home for performance data handling

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:06 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
replacement for RemoteNode

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:53:01 +0000 (19:53 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
new topology graph representations

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:57 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
new filter args for reverse output and configuration

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:55 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
unified transformation and synchronization filter class

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:53 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
new failure manager

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:51 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
new event detection thread

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:49 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
new network topology class

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:48 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
fail() renamed to has_Error()

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:46 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
move implementation out of header

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:29 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
remove old implementation artifacts

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:29 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
core implementation overhaul

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:19 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
compartmentalize some API classes

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:52:16 +0000 (19:52 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
new top-level include dir replaces h

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:50:25 +0000 (19:50 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
update boost dependencies

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:50:16 +0000 (19:50 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
added examples

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:50:07 +0000 (19:50 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
update configure to support shared libs

10 years agomerge mrnet-2-0-development branch - - - - - - - - - - - - - - - - - - -
mjbrim [Thu, 9 Oct 2008 19:49:49 +0000 (19:49 +0000)]
merge mrnet-2-0-development branch  - - - - - - - - - - - - - - - - - - -
updated docs for release 2.0

10 years agoatt
legendre [Fri, 3 Oct 2008 21:12:39 +0000 (21:12 +0000)]
att

10 years agoFixed InstructionAPI build on new ginger (AMD64); cleaned up several type warnings
bill [Fri, 3 Oct 2008 19:54:24 +0000 (19:54 +0000)]
Fixed InstructionAPI build on new ginger (AMD64); cleaned up several type warnings

10 years agowindows build fix,
jaw [Sat, 20 Sep 2008 03:56:08 +0000 (03:56 +0000)]
windows build fix,
also splits Module and Region out of Symtab.C/h and gives them their own files

10 years agomore serialization stuff, still disabled under the cap_serialization flag. Other...
jaw [Fri, 19 Sep 2008 00:56:08 +0000 (00:56 +0000)]
more serialization stuff, still disabled under the cap_serialization flag.  Other smaller fixes.

10 years ago- regular makefile shouldn't be in CVS
mlam [Tue, 16 Sep 2008 20:42:54 +0000 (20:42 +0000)]
- regular makefile shouldn't be in CVS
R Makefile
- added -lcommon so that parseThat builds
M Makefile.in

10 years agofixes for gcc 4
jaw [Mon, 15 Sep 2008 18:37:49 +0000 (18:37 +0000)]
fixes for gcc 4
It is absolutely amazing what gcc 3.3 will let you get away with inside
template code (that gcc 4x will not)

10 years agoThis adds some basic infrastructure to allow for varying the
jaw [Mon, 15 Sep 2008 17:38:17 +0000 (17:38 +0000)]
This adds some basic infrastructure to allow for varying the
underlying implementation of annotations by providing a template
parameter.  The template parameter is referred to as IMPL in the
Annotatable.h file and is presently an enum:

typedef enum {
   anno_impl_static_sparse,
   anno_impl_static_dense,
   anno_impl_local_dense,
} annotation_implementation_t;

The implementations that I put together are schematic at best, except
for the static_sparse one, which should be functionally the same as
what we had before. The
last one may not strictly be an "annotation" scheme since all storage
used by it is local to the annotatee, not static, and not really tied into
the annotation naming scheme.

10 years agoThis commit adds a requested optional parameter to the creation of
mlam [Thu, 11 Sep 2008 20:14:13 +0000 (20:14 +0000)]
This commit adds a requested optional parameter to the creation of
binary edit objects that turns off shared library loading. This can save
some time if the user does not need them.

I've also fixed the recently-added routines to do code emission for
shared library calls with PC-relative addresses for the jump slots
rather than absolute addresses.

-- mike lam

- new optional parameter to disable shared library loading for binary
  edit objects
M dyninstAPI/h/BPatch.h
M dyninstAPI/h/BPatch_binaryEdit.h
M dyninstAPI/src/BPatch.C
M dyninstAPI/src/BPatch_binaryEdit.C
M dyninstAPI/src/binaryEdit.C
M dyninstAPI/src/binaryEdit.h

- changed shared library relocation jumps to use relative addresses
M dyninstAPI/src/emit-x86.C
M dyninstAPI/src/emit-x86.h
M dyninstAPI/src/inst-x86.C
M dyninstAPI/src/inst-x86.h

10 years agoAdded config.status
bill [Wed, 10 Sep 2008 18:29:12 +0000 (18:29 +0000)]
Added config.status

10 years agoAdded config.sub
bill [Wed, 10 Sep 2008 18:27:24 +0000 (18:27 +0000)]
Added config.sub

10 years agoRemoved configure.wisc from CVS and moved it to /p/paradyn/utilities
bill [Wed, 10 Sep 2008 16:40:11 +0000 (16:40 +0000)]
Removed configure.wisc from CVS and moved it to /p/paradyn/utilities

10 years agoConfigure script for autoconf
bill [Tue, 9 Sep 2008 20:52:11 +0000 (20:52 +0000)]
Configure script for autoconf

10 years agoInitial autoconf commit
bill [Tue, 9 Sep 2008 20:35:14 +0000 (20:35 +0000)]
Initial autoconf commit

10 years agoRelocation fix, - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Mon, 8 Sep 2008 16:44:05 +0000 (16:44 +0000)]
Relocation fix,  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Removed unused code

10 years agoRelocation fix, - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Mon, 8 Sep 2008 16:44:03 +0000 (16:44 +0000)]
Relocation fix,  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Go to a richer set of return codes for instrumentation

10 years agoRelocation fix, - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Mon, 8 Sep 2008 16:44:00 +0000 (16:44 +0000)]
Relocation fix,  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Add "performInstrumentation" method that organizes instrumentation

10 years agoRelocation fix, - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bernat [Mon, 8 Sep 2008 16:43:57 +0000 (16:43 +0000)]
Relocation fix,  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Update to use new int_function method

10 years agoanother gcc 4.2.2. fix -- apparently friend class declarations no longer also serve as
jaw [Sat, 6 Sep 2008 00:57:56 +0000 (00:57 +0000)]
another gcc 4.2.2. fix -- apparently friend class declarations no longer also serve as
forward references to classes as well.

10 years agowindows build fix ... Also get rid of common/h/Types.h
jaw [Fri, 5 Sep 2008 04:06:08 +0000 (04:06 +0000)]
windows build fix ... Also get rid of common/h/Types.h
dependency in dynutil/h.

10 years agoInstructionAPI migration and bugfixes - - - - - - - - - - - - - - - - -
bill [Thu, 4 Sep 2008 21:06:24 +0000 (21:06 +0000)]
InstructionAPI migration and bugfixes  - - - - - - - - - - - - - - - - -
InstructionAPI bugfixes re: liveness; license information also added to all files

10 years agoInstructionAPI migration and bugfixes - - - - - - - - - - - - - - - - -
bill [Thu, 4 Sep 2008 21:06:22 +0000 (21:06 +0000)]
InstructionAPI migration and bugfixes  - - - - - - - - - - - - - - - - -
Updated instructionAPI manual configuration

10 years agoInstructionAPI migration and bugfixes - - - - - - - - - - - - - - - - -
bill [Thu, 4 Sep 2008 21:06:18 +0000 (21:06 +0000)]
InstructionAPI migration and bugfixes  - - - - - - - - - - - - - - - - -
Fixed assorted liveness bugs

10 years agoInstructionAPI migration and bugfixes - - - - - - - - - - - - - - - - -
bill [Thu, 4 Sep 2008 21:06:17 +0000 (21:06 +0000)]
InstructionAPI migration and bugfixes  - - - - - - - - - - - - - - - - -
Migrated block splitting during parse to InstructionAPI

10 years agoInstructionAPI migration and bugfixes - - - - - - - - - - - - - - - - -
bill [Thu, 4 Sep 2008 21:06:16 +0000 (21:06 +0000)]
InstructionAPI migration and bugfixes  - - - - - - - - - - - - - - - - -
Fixed build/link problem on non-instructionAPI platforms

10 years agoInstructionAPI migration and bugfixes - - - - - - - - - - - - - - - - -
bill [Thu, 4 Sep 2008 21:06:13 +0000 (21:06 +0000)]
InstructionAPI migration and bugfixes  - - - - - - - - - - - - - - - - -
Fixed failure to get stackwalks on IA32 (test 8)

10 years agoInstructionAPI migration and bugfixes - - - - - - - - - - - - - - - - -
bill [Thu, 4 Sep 2008 21:06:08 +0000 (21:06 +0000)]
InstructionAPI migration and bugfixes  - - - - - - - - - - - - - - - - -
Migrated relocation to use InstructionAPI

10 years agoInstructionAPI migration and bugfixes - - - - - - - - - - - - - - - - -
bill [Thu, 4 Sep 2008 21:06:07 +0000 (21:06 +0000)]
InstructionAPI migration and bugfixes  - - - - - - - - - - - - - - - - -
Added include for register IDs from InstructionAPI

10 years agoInstructionAPI migration and bugfixes - - - - - - - - - - - - - - - - -
bill [Thu, 4 Sep 2008 21:06:04 +0000 (21:06 +0000)]
InstructionAPI migration and bugfixes  - - - - - - - - - - - - - - - - -
Updated instruction API library name to libinstructionAPI

10 years agomore fixes for gcc4
jaw [Thu, 4 Sep 2008 01:30:28 +0000 (01:30 +0000)]
more fixes for gcc4

10 years agomore gcc4.0 template error fixes
jaw [Wed, 3 Sep 2008 21:05:33 +0000 (21:05 +0000)]
more gcc4.0 template error fixes

10 years agosome small changes to accommodate gcc4.0's stricter template checking
jaw [Wed, 3 Sep 2008 20:19:09 +0000 (20:19 +0000)]
some small changes to accommodate gcc4.0's stricter template checking

10 years agoFix compilation error
legendre [Wed, 3 Sep 2008 18:57:57 +0000 (18:57 +0000)]
Fix compilation error

10 years agofix deps for MUTATEES_CXX_GNU_ONLY
jaw [Wed, 3 Sep 2008 17:02:03 +0000 (17:02 +0000)]
fix deps for MUTATEES_CXX_GNU_ONLY

10 years agoFor the most part all the changes here are behind-the-scenes and disabled
jaw [Wed, 3 Sep 2008 06:08:43 +0000 (06:08 +0000)]
For the most part all the changes here are behind-the-scenes and disabled
in the code (part of the build, but excluded from runtime).

Some notable changes:
(1)  pdvector is now almost fully deprecated -- it can be re-enabled by
activating the build flag -Dcap_use_pdvector.  Still active on AIX systems
since making the change to std::vector causes segfaults and our AIX
toolchain currently lacks a reasonably operational debugger...

(2)  I'm staging some new tests in what I'm calling "test0", in the
middle, not the newest testsuite.  I needed to bring some new tests online
and didn't want to step on any toes vis a vis the new testsuite, which as
I gather, is still in transition.  I consider test0 to be a temporary home
until we resolve issues regarding how we want to move forward with testing
sublibraries....  in this case elements of libcommon and libsymtabAPI, but
I suppose that all sublibs should be part of the consideration.

Like the majority of this commit, the contents of test0 are not really
relevant yet since most of the tested functionality is disabled -- though
I eventually will have some basic non-serialization-related tests of
symtabAPI running there in the nightlies.

10 years agoInitialize logging class variable, use correct mechanism for creating tmpfile on
legendre [Tue, 2 Sep 2008 22:34:16 +0000 (22:34 +0000)]
Initialize logging class variable, use correct mechanism for creating tmpfile on
Windows

10 years agoChange __int32 typo to __int16
legendre [Fri, 29 Aug 2008 21:45:10 +0000 (21:45 +0000)]
Change __int32 typo to __int16

10 years agoBuild fixes for Windows
legendre [Fri, 29 Aug 2008 20:24:16 +0000 (20:24 +0000)]
Build fixes for Windows

10 years agoSurround updateDynamic calls with '#if !defined(os_solaris)'
legendre [Wed, 27 Aug 2008 22:54:31 +0000 (22:54 +0000)]
Surround updateDynamic calls with '#if !defined(os_solaris)'

10 years ago- search output of 'ldconfig -p' for library paths
mlam [Mon, 25 Aug 2008 16:21:36 +0000 (16:21 +0000)]
- search output of 'ldconfig -p' for library paths
M dyninstAPI/src/binaryEdit.C

- allocate a temporary register instead of hard-coding %eax
M dyninstAPI/src/inst-x86.C

- 64-bit version of shared object rewriter calls
M dyninstAPI/src/emit-x86.C

- new fields for relocationEntry for REL/RELA type and addend
- new fields for Symtab to track presence of REL/RELA sections
M symtabAPI/h/Symtab.h
M symtabAPI/src/Symtab.C
M symtabAPI/src/serialize.h

- properly handle REL/RELA entries
M symtabAPI/src/Object-elf.C

- temporary work-around for annotation issue
M symtabAPI/h/Symbol.h
M symtabAPI/src/Object.C

- fixed relocation section emission
- keep track of unversioned DT_NEEDED entries
- rename old dynamic sections
M symtabAPI/src/emitElf-64.C
M symtabAPI/src/emitElf-64.h
M symtabAPI/src/emitElf.C
M symtabAPI/src/emitElf.h

10 years agofixes the "nightly" target in the core Makefile - - - - - - - - - - - -
carl [Tue, 12 Aug 2008 15:50:40 +0000 (15:50 +0000)]
fixes the "nightly" target in the core Makefile  - - - - - - - - - - - -

10 years agoFixes two SymtabAPI bugs on XCOFF binaries.
roundy [Thu, 7 Aug 2008 22:05:02 +0000 (22:05 +0000)]
Fixes two SymtabAPI bugs on XCOFF binaries.
Parsing of XCOFF for AIX was not setting the .text and .data
ctions as loadable, which caused them not to be entered into the
de and data regions vectors.
Loadable AIX regions may overlap, which causes problems for the
nary search in Symtab::findEnclosingRegions, added sequential
arch for that platform.  Also improves   - - - - - - - - - - - - - - - -
Loadable AIX regions may overlap, which causes problems for the
nary search in Symtab::findEnclosingRegions, added sequential
arch for that platform.  Also improves
mtab.C

10 years agoFixes two SymtabAPI bugs on XCOFF binaries.
roundy [Thu, 7 Aug 2008 22:05:01 +0000 (22:05 +0000)]
Fixes two SymtabAPI bugs on XCOFF binaries.
Parsing of XCOFF for AIX was not setting the .text and .data
ctions as loadable, which caused them not to be entered into the
de and data regions vectors.
Loadable AIX regions may overlap, which causes problems for the
nary search in Symtab::findEnclosingRegions, added sequential
arch for that platform.  Also improves   - - - - - - - - - - - - - - - -
Parsing of XCOFF for AIX was not setting the .text and .data
ctions as loadable, which caused them not to be entered into the
de and data regions vectors.

10 years agoThis commit fixes five more issues with the 32-bit binary rewriter:
mlam [Fri, 1 Aug 2008 18:10:38 +0000 (18:10 +0000)]
This commit fixes five more issues with the 32-bit binary rewriter:

1) SymtabAPI now emits new dynamic relocations properly, as the correct
type and without overwriting the old ones.

2) SymtabAPI now updates the RELSZ entry in the .dynamic section.

3) SymtabAPI now renames the old ".rel.plt" and ".rel.dyn" sections to
avoid confusing ELF utilities.

4) DyninstAPI now emits the proper "mov" instruction for loading $eax in
preparation for making a dynamic call.

5) DyninstAPI now initializes dynamic jump table slots to zero for
correctness and to make debugging easier.

10 years agoThis code cleans up some unused variables in the image-layer and
roundy [Fri, 1 Aug 2008 17:55:20 +0000 (17:55 +0000)]
This code cleans up some unused variables in the image-layer and
moves the Symtab::image_ptr() and Symtab::data_ptr() functions that
ve been made obsolete by the Symtab::Region::getRawDataPtr()
terface.  I also made changes to
atch_module::getUnresolvedControlFlow and to its supporting
nctions in the image layer.  - - - - - - - - - - - - - - - - - - - - - -
Removed warning that crept into this file to keep Matt happy

10 years agoThis code cleans up some unused variables in the image-layer and
roundy [Fri, 1 Aug 2008 17:55:19 +0000 (17:55 +0000)]
This code cleans up some unused variables in the image-layer and
moves the Symtab::image_ptr() and Symtab::data_ptr() functions that
ve been made obsolete by the Symtab::Region::getRawDataPtr()
terface.  I also made changes to
atch_module::getUnresolvedControlFlow and to its supporting
nctions in the image layer.  - - - - - - - - - - - - - - - - - - - - - -
Removed obsolete image_ptr() and data_ptr() API, the Region
rawDataPtr's should be used instead

10 years agoThis code cleans up some unused variables in the image-layer and
roundy [Fri, 1 Aug 2008 17:55:18 +0000 (17:55 +0000)]
This code cleans up some unused variables in the image-layer and
moves the Symtab::image_ptr() and Symtab::data_ptr() functions that
ve been made obsolete by the Symtab::Region::getRawDataPtr()
terface.  I also made changes to
atch_module::getUnresolvedControlFlow and to its supporting
nctions in the image layer.  - - - - - - - - - - - - - - - - - - - - - -
Removed obsolete image_ptr() and data_ptr() API's, the Region
rawDataPtr's should be
used instead

10 years agoThis code cleans up some unused variables in the image-layer and
roundy [Fri, 1 Aug 2008 17:55:17 +0000 (17:55 +0000)]
This code cleans up some unused variables in the image-layer and
moves the Symtab::image_ptr() and Symtab::data_ptr() functions that
ve been made obsolete by the Symtab::Region::getRawDataPtr()
terface.  I also made changes to
atch_module::getUnresolvedControlFlow and to its supporting
nctions in the image layer.  - - - - - - - - - - - - - - - - - - - - - -
Removed dependency on Symtab::image_ptr()

10 years agoThis code cleans up some unused variables in the image-layer and
roundy [Fri, 1 Aug 2008 17:55:16 +0000 (17:55 +0000)]
This code cleans up some unused variables in the image-layer and
moves the Symtab::image_ptr() and Symtab::data_ptr() functions that
ve been made obsolete by the Symtab::Region::getRawDataPtr()
terface.  I also made changes to
atch_module::getUnresolvedControlFlow and to its supporting
nctions in the image layer.  - - - - - - - - - - - - - - - - - - - - - -
Updated getPtrToDataInText and getPtrToData to use the Symtab::Region
interface, they are now more in line with getPtrToInstruction. Remove
dependences on Symtab::image_ptr()

10 years agoThis code cleans up some unused variables in the image-layer and
roundy [Fri, 1 Aug 2008 17:55:15 +0000 (17:55 +0000)]
This code cleans up some unused variables in the image-layer and
moves the Symtab::image_ptr() and Symtab::data_ptr() functions that
ve been made obsolete by the Symtab::Region::getRawDataPtr()
terface.  I also made changes to
atch_module::getUnresolvedControlFlow and to its supporting
nctions in the image layer.  - - - - - - - - - - - - - - - - - - - - - -
Removed unused fields from fileDescriptor class (that I had
introduced) and unused and redundant field baseAddress() in class
image with loadAddr in class fileDescriptor.  Moved
unresolvedControlFlow vector and accessor methods from the image class
and into the pdmodule class so it could be accessed on a per-module
basis, changed it to use a set.

10 years agoThis code cleans up some unused variables in the image-layer and
roundy [Fri, 1 Aug 2008 17:55:13 +0000 (17:55 +0000)]
This code cleans up some unused variables in the image-layer and
moves the Symtab::image_ptr() and Symtab::data_ptr() functions that
ve been made obsolete by the Symtab::Region::getRawDataPtr()
terface.  I also made changes to
atch_module::getUnresolvedControlFlow and to its supporting
nctions in the image layer.  - - - - - - - - - - - - - - - - - - - - - -
Added getFuncVectorSize in order to be able to determine if a
BPatch_module function vector is of the same size as the underlying
vector.

10 years agoThis code cleans up some unused variables in the image-layer and
roundy [Fri, 1 Aug 2008 17:55:12 +0000 (17:55 +0000)]
This code cleans up some unused variables in the image-layer and
moves the Symtab::image_ptr() and Symtab::data_ptr() functions that
ve been made obsolete by the Symtab::Region::getRawDataPtr()
terface.  I also made changes to
atch_module::getUnresolvedControlFlow and to its supporting
nctions in the image layer.  - - - - - - - - - - - - - - - - - - - - - -
brought up to date with changes to fileDescriptor class

10 years agoThis code cleans up some unused variables in the image-layer and
roundy [Fri, 1 Aug 2008 17:55:11 +0000 (17:55 +0000)]
This code cleans up some unused variables in the image-layer and
moves the Symtab::image_ptr() and Symtab::data_ptr() functions that
ve been made obsolete by the Symtab::Region::getRawDataPtr()
terface.  I also made changes to
atch_module::getUnresolvedControlFlow and to its supporting
nctions in the image layer.  - - - - - - - - - - - - - - - - - - - - - -
brought up to date with changes to image class