dyninst.git
20 years agoRestructuring of declararations required because of include conflicts when
schendel [Tue, 17 Oct 2000 17:26:34 +0000 (17:26 +0000)]
Restructuring of declararations required because of include conflicts when
declarations were included in the paradyn daemon.

20 years agoDisable debugging message on AIX because of failures caused by
zandy [Fri, 13 Oct 2000 19:04:14 +0000 (19:04 +0000)]
Disable debugging message on AIX because of failures caused by
calling getCurrentPC.

20 years agoFixed lost SIGTRAP bug during detach-on-the-fly reattach.
zandy [Fri, 6 Oct 2000 20:25:42 +0000 (20:25 +0000)]
Fixed lost SIGTRAP bug during detach-on-the-fly reattach.
Added new detach-on-the-fly variable `pendingSig' to track
this signal.

20 years agoComplete implementation of test 19.
zandy [Thu, 21 Sep 2000 20:14:43 +0000 (20:14 +0000)]
Complete implementation of test 19.

20 years agoNew interfaces for `usesTrap' and `canUseExtraSlot'.
zandy [Thu, 21 Sep 2000 20:14:02 +0000 (20:14 +0000)]
New interfaces for `usesTrap' and `canUseExtraSlot'.
Call `checkInstructions' at only one place.
Fix detach-on-the-fly detection of 2-byte trap points.
Cleanup `generateBranchToTramp'.
Add new member `bonusbytes' to x86 instPoint for unused bytes following
  function exit points.
Use `bonusbytes' instead of add those bytes to `insnAfterPt'.
Disable bonus bytes on NT.
Restore formerly broken asserts.
Tidy: constness, revised comments, dead code removal.

20 years agoComment out unused function
zandy [Thu, 21 Sep 2000 20:01:17 +0000 (20:01 +0000)]
Comment out unused function

20 years agouse V_dyninstRT_MT instead of V_dyninstRT when MT_THREAD is defined
zhichen [Wed, 20 Sep 2000 19:10:21 +0000 (19:10 +0000)]
use V_dyninstRT_MT instead of  V_dyninstRT when MT_THREAD is defined

20 years agoI moved templates.C from the directory common/src to pdutil/src. This file
schendel [Mon, 11 Sep 2000 18:08:21 +0000 (18:08 +0000)]
I moved templates.C from the directory common/src to pdutil/src.  This file
has dependencies on files in pdutil and also was unused by the dyninst
library.

20 years agomoved templates.C from directory common/src to pdutil/src and updated
schendel [Mon, 11 Sep 2000 17:49:45 +0000 (17:49 +0000)]
moved templates.C from directory common/src to pdutil/src and updated
associated make files

20 years agoAdded a closing brace.
bernat [Fri, 1 Sep 2000 17:04:36 +0000 (17:04 +0000)]
Added a closing brace.

20 years agoTwo part commit
bernat [Thu, 31 Aug 2000 21:17:04 +0000 (21:17 +0000)]
Two part commit

1) Build libdyninstAPI.a as a shared library instead of a static library.
  Causes some (harmless) warning messages when linking mutators. Saves
  a large amount of space and relink time.

2) Relink mutatees if necessary to include the runtime libraries, for
  both Paradyn and Dyninst. Imitates dynamically loading a library.

20 years ago+ Accept a full path to mpirun
mirg [Thu, 31 Aug 2000 20:27:59 +0000 (20:27 +0000)]
+ Accept a full path to mpirun
+ Show a message box on mpich-related errors

20 years agoAdjust boundaries of runtime heap to prevent allocation near user heap.
zandy [Mon, 28 Aug 2000 20:41:09 +0000 (20:41 +0000)]
Adjust boundaries of runtime heap to prevent allocation near user heap.

20 years agoFixed setsid to not be called on AIX. Release3_1
hollings [Thu, 24 Aug 2000 20:26:10 +0000 (20:26 +0000)]
Fixed setsid to not be called on AIX.

20 years agoUpdated usage info to report number of subtests
paradyn [Wed, 23 Aug 2000 19:23:37 +0000 (19:23 +0000)]
Updated usage info to report number of subtests

20 years agoUpdated Tcl library reference
paradyn [Wed, 23 Aug 2000 19:18:38 +0000 (19:18 +0000)]
Updated Tcl library reference

20 years agoUpdated Tcl/Tk references
paradyn [Wed, 23 Aug 2000 19:16:42 +0000 (19:16 +0000)]
Updated Tcl/Tk references
Moved XFLAGS "-fpermissive" hack to Solaris/Openwin hack section

20 years agoUpdate RELEASE_NUM to 3.1
paradyn [Wed, 23 Aug 2000 19:12:41 +0000 (19:12 +0000)]
Update RELEASE_NUM to 3.1
Removed obsolete tclStuff/tcl2c
Updated Tcl/Tk references

20 years agoTidy (removed XFLAGS)
paradyn [Wed, 23 Aug 2000 19:10:30 +0000 (19:10 +0000)]
Tidy (removed XFLAGS)

20 years agoTidy (NO_IMPLICIT_TEMPLATES)
paradyn [Wed, 23 Aug 2000 19:09:30 +0000 (19:09 +0000)]
Tidy (NO_IMPLICIT_TEMPLATES)

20 years agoAdded flag so that permissive flag would be given to g++, so that builds
pcroth [Wed, 23 Aug 2000 14:32:50 +0000 (14:32 +0000)]
Added flag so that permissive flag would be given to g++, so that builds
would not fail when using the headers from /usr/openwin/include/X11.

20 years agoUpdate release number
hollings [Wed, 23 Aug 2000 00:29:09 +0000 (00:29 +0000)]
Update release number

20 years agoUpdated RELEASE_NUM to 3.1
paradyn [Tue, 22 Aug 2000 22:10:00 +0000 (22:10 +0000)]
Updated RELEASE_NUM to 3.1
Removed tclStuff reference for tcl2c

20 years agoSet RELEASE_NUM to 2.2
wylie [Tue, 22 Aug 2000 20:59:16 +0000 (20:59 +0000)]
Set RELEASE_NUM to 2.2

20 years agoShifted existing tests (#1-4) to (#2-5) allowing for the addition of a new
wylie [Tue, 22 Aug 2000 20:49:17 +0000 (20:49 +0000)]
Shifted existing tests (#1-4) to (#2-5) allowing for the addition of a new
test3#1 which tests the initial case of attempting to start and then
terminate multiple processes (which is used to mop up after any following
tests which might encounter problems and therefore logically the first
multi-process test).

20 years agoRemoved test#14 (which was largely unimplemented, as as implemented
wylie [Tue, 22 Aug 2000 20:45:42 +0000 (20:45 +0000)]
Removed test#14 (which was largely unimplemented, as as implemented
redundant with the testing in test3, now test3#1)

20 years agoOn x86 solaris, setup a new stack frame during bootstrap, instead of using
zandy [Tue, 22 Aug 2000 20:07:47 +0000 (20:07 +0000)]
On x86 solaris, setup a new stack frame during bootstrap, instead of using
the current, possibly undersized one.

20 years agoRe-wrote Tcl prompt support to avoid use of functions copied from
pcroth [Tue, 22 Aug 2000 17:45:34 +0000 (17:45 +0000)]
Re-wrote Tcl prompt support to avoid use of functions copied from
Tcl/Tk sources, and of internal Tcl variables.

20 years agoRe-made the changes from version 1.40 that were reversed in 1.41 regarding
pcroth [Tue, 22 Aug 2000 16:33:25 +0000 (16:33 +0000)]
Re-made the changes from version 1.40 that were reversed in 1.41 regarding
Solaris register names.

20 years agoMade usesTrap() available to paradynd and unified code for canUseExtraSlot().
paradyn [Tue, 22 Aug 2000 01:12:38 +0000 (01:12 +0000)]
Made usesTrap() available to paradynd and unified code for canUseExtraSlot().

20 years agoCorrected build/link flags for "native" mutatees
paradyn [Tue, 22 Aug 2000 00:59:35 +0000 (00:59 +0000)]
Corrected build/link flags for "native" mutatees

20 years agoChanges to assist in the construction of DEPENDS files. Much are clean ups
schendel [Mon, 21 Aug 2000 22:03:11 +0000 (22:03 +0000)]
Changes to assist in the construction of DEPENDS files.  Much are clean ups
of various include statements.

20 years agoupdated varios NT DEPENDS files with the aid of a perl script
schendel [Mon, 21 Aug 2000 22:01:34 +0000 (22:01 +0000)]
updated varios NT DEPENDS files with the aid of a perl script

20 years agoAdd new tests for control flow graph functions, fixes for
buck [Mon, 21 Aug 2000 01:22:31 +0000 (01:22 +0000)]
Add new tests for control flow graph functions, fixes for
CFG-related code, and interface changes to BPatch_Set and
CFG-related functions.

20 years agoUpdated util -> pdutil
paradyn [Mon, 21 Aug 2000 00:32:31 +0000 (00:32 +0000)]
Updated util -> pdutil

20 years agoRemoved inappropriate/redundant references to util/h
paradyn [Mon, 21 Aug 2000 00:31:39 +0000 (00:31 +0000)]
Removed inappropriate/redundant references to util/h

20 years agoAdded check when instrumenting the entry of main during bootstrapping that
paradyn [Mon, 21 Aug 2000 00:28:42 +0000 (00:28 +0000)]
Added check when instrumenting the entry of main during bootstrapping that
a trap won't be required (since the trapHandler isn't installed yet).

20 years agoRemoved obsolete/problematic bzero kludge
paradyn [Sun, 20 Aug 2000 21:58:21 +0000 (21:58 +0000)]
Removed obsolete/problematic bzero kludge

20 years agoTidy-up
paradyn [Sun, 20 Aug 2000 21:09:25 +0000 (21:09 +0000)]
Tidy-up

20 years agoCorrected typos
paradyn [Sun, 20 Aug 2000 21:08:24 +0000 (21:08 +0000)]
Corrected typos

20 years agoAdded test5 to TARGETS
wylie [Sun, 20 Aug 2000 20:45:23 +0000 (20:45 +0000)]
Added test5 to TARGETS

20 years agoAdded test5.mmutatee_CC_n32 to TARGETS
wylie [Sun, 20 Aug 2000 20:43:29 +0000 (20:43 +0000)]
Added test5.mmutatee_CC_n32 to TARGETS

20 years agoUpdated util->common
paradyn [Sun, 20 Aug 2000 18:34:35 +0000 (18:34 +0000)]
Updated util->common

20 years agoRemoved redundant/obsolete reference to util/h
paradyn [Sun, 20 Aug 2000 18:32:07 +0000 (18:32 +0000)]
Removed redundant/obsolete reference to util/h

20 years agoAdd iostream.h to included files (needed for output operator).
buck [Sat, 19 Aug 2000 22:45:33 +0000 (22:45 +0000)]
Add iostream.h to included files (needed for output operator).

20 years agoMore aggressive exit point discovery. For functions that do not end
zandy [Sat, 19 Aug 2000 21:59:59 +0000 (21:59 +0000)]
More aggressive exit point discovery.  For functions that do not end
on 4-byte boundaries, claim the bytes upto the next 4-byte boundary.

20 years agoFix MAX_TEST to reflect the correct number of tests.
buck [Sat, 19 Aug 2000 16:14:32 +0000 (16:14 +0000)]
Fix MAX_TEST to reflect the correct number of tests.

20 years agoRemove C++ tests from test1 and put them into their own test program, test5.
buck [Sat, 19 Aug 2000 02:41:42 +0000 (02:41 +0000)]
Remove C++ tests from test1 and put them into their own test program, test5.

20 years agoAdd correct sync trace record to previous fork-related change.
zandy [Fri, 18 Aug 2000 21:08:53 +0000 (21:08 +0000)]
Add correct sync trace record to previous fork-related change.

20 years agoFork handling: don't send both a signal and trace socket message to
zandy [Fri, 18 Aug 2000 20:59:06 +0000 (20:59 +0000)]
Fork handling: don't send both a signal and trace socket message to
the daemon.  Now only send a trace socket message, by using
kill(SIGSTOP) instead of calling PARADYNBreakpoint.

20 years agoAdd variable DYNINST_mutatorPid. Its value is the pid of the mutator.
zandy [Fri, 18 Aug 2000 20:12:37 +0000 (20:12 +0000)]
Add variable DYNINST_mutatorPid.  Its value is the pid of the mutator.
DYNINST_mutatorPid replaces DYNINST_paradyndPid.  This variable now extends
to both the paradyn and dyninst runtime libraries.
Remove extra, unused definition of DYNINSTillHandler.

20 years agoAdd variable DYNINST_mutatorPid. Its value is the pid of the mutator.
zandy [Fri, 18 Aug 2000 20:11:34 +0000 (20:11 +0000)]
Add variable DYNINST_mutatorPid.  Its value is the pid of the mutator.

20 years agoClarify a comment
zandy [Fri, 18 Aug 2000 20:10:50 +0000 (20:10 +0000)]
Clarify a comment

20 years agoMade control-c stop the mutatee, not terminate it.
hollings [Fri, 18 Aug 2000 19:20:30 +0000 (19:20 +0000)]
Made control-c stop the mutatee, not terminate it.

Made exit terminate the mutatee unless it is detached first.

20 years agoadded code to make each mutatee in dyninst a seperate process group.
hollings [Fri, 18 Aug 2000 19:19:45 +0000 (19:19 +0000)]
added code to make each mutatee in dyninst a seperate process group.

20 years agoDisabled pre-runtime relinking. It's not finished yet, and should not
bernat [Fri, 18 Aug 2000 17:55:07 +0000 (17:55 +0000)]
Disabled pre-runtime relinking. It's not finished yet, and should not
be in the release.

20 years agoChanged whatis function to show output for functions that look more
hollings [Thu, 17 Aug 2000 20:48:07 +0000 (20:48 +0000)]
Changed whatis function to show output for functions that look more
like a function decl.  Also print the source file and line numbers
if available.

20 years agoAdded additional functions to query start/end lines and source file names
hollings [Thu, 17 Aug 2000 20:45:01 +0000 (20:45 +0000)]
Added additional functions to query start/end lines and source file names
for BPatch_function.

Fixed bugs in handling debug information (paramters, line numbers, types)
for Fortran programs (stab debug formar only).

20 years agoRemoved compiler warning regarding converting NULL to non-pointer type.
pcroth [Thu, 17 Aug 2000 19:43:48 +0000 (19:43 +0000)]
Removed compiler warning regarding converting NULL to non-pointer type.

20 years agoFixed problem where we did not rebuild the info about a process' allocated
pcroth [Thu, 17 Aug 2000 19:43:28 +0000 (19:43 +0000)]
Fixed problem where we did not rebuild the info about a process' allocated
heaps when the process calls exec().  Since we did not reconsider the
which memory areas were available, we had the potential to access invalid
memory locations in the newly-exec'd process.

20 years agoFixed incorrect handling of the flags that indicate whether a node has
pcroth [Thu, 17 Aug 2000 19:41:37 +0000 (19:41 +0000)]
Fixed incorrect handling of the flags that indicate whether a node has
been visited yet in an isDescendent() search.  Now passes the set of flags
by reference; before, copied flags by value leading to problems with
some types of call graphs.

20 years agoFixed stack walk functions for Alpha. Need to compute frame size,
hollings [Wed, 16 Aug 2000 19:52:20 +0000 (19:52 +0000)]
Fixed stack walk functions for Alpha.  Need to compute frame size,
and then talk back from sp rather than depending on fp.

20 years agoFixed a compiler warning on aix and made other cosmetic changes.
schendel [Tue, 15 Aug 2000 18:58:09 +0000 (18:58 +0000)]
Fixed a compiler warning on aix and made other cosmetic changes.

20 years agoinclude Types.h before headers that include inttypes.h
schendel [Mon, 14 Aug 2000 19:23:16 +0000 (19:23 +0000)]
include Types.h before headers that include inttypes.h

20 years agoinclude 64bit type limit defines and literal defining macros
schendel [Mon, 14 Aug 2000 19:23:01 +0000 (19:23 +0000)]
include 64bit type limit defines and literal defining macros

20 years agoReplaced use of cornflowerblue symbolic name with hex representation to
pcroth [Fri, 11 Aug 2000 16:32:13 +0000 (16:32 +0000)]
Replaced use of cornflowerblue symbolic name with hex representation to
avoid display problems on systems with client-side color databases
(e.g., Solaris 7).

20 years agoUpdated forkNewProcess signature
paradyn [Thu, 10 Aug 2000 17:22:28 +0000 (17:22 +0000)]
Updated forkNewProcess signature

21 years agoFixed (partially) dyninst tests dying because of parsing failures. This was
bernat [Wed, 9 Aug 2000 17:15:18 +0000 (17:15 +0000)]
Fixed (partially) dyninst tests dying because of parsing failures. This was
due to the link line which had the dyninst library before the other .o
files. The link line has been reordered.

21 years agoAdded support for on-the-fly linking on AIX. This is preliminary support
bernat [Wed, 9 Aug 2000 17:00:25 +0000 (17:00 +0000)]
Added support for on-the-fly linking on AIX. This is preliminary support
and will probably be modified soon.

21 years agoAdded support for BPatch_constExpr(void *).
buck [Wed, 9 Aug 2000 15:05:00 +0000 (15:05 +0000)]
Added support for BPatch_constExpr(void *).

21 years agoRemoved -lpdutil from make.module.tmpl. We don't want this anymore because
buck [Wed, 9 Aug 2000 15:03:21 +0000 (15:03 +0000)]
Removed -lpdutil from make.module.tmpl.  We don't want this anymore because
the parts of the old util library that we need are now included in the
dyninstAPI library.

21 years agoMissed dummy arg
wylie [Tue, 8 Aug 2000 18:19:20 +0000 (18:19 +0000)]
Missed dummy arg

21 years agoTidy-up
wylie [Tue, 8 Aug 2000 15:43:16 +0000 (15:43 +0000)]
Tidy-up

21 years agoSeparated DYNINST/PARADYN bootstrapStructs and their extraction.
wylie [Tue, 8 Aug 2000 15:41:41 +0000 (15:41 +0000)]
Separated DYNINST/PARADYN bootstrapStructs and their extraction.
Corrected installInstrRequests, removing extra removeAst calls and
various MPI and OS-specific hacks.

21 years agoAdded instMappings to protect our signal handlers by overriding any which
wylie [Tue, 8 Aug 2000 15:39:53 +0000 (15:39 +0000)]
Added instMappings to protect our signal handlers by overriding any which
the application may already have installed or will subsequently install.
At some point, probably during the "callback event unification", dyninst
will incorporate the paradynd/src/init-<os>.C files which are the standard
place to define these mappings.

21 years agoAdded instMappings to protect our signal handlers by overriding any which
wylie [Tue, 8 Aug 2000 15:36:09 +0000 (15:36 +0000)]
Added instMappings to protect our signal handlers by overriding any which
the application may already have installed or will subsequently install.

21 years agoAdded PARADYN_bootstrap_info
wylie [Tue, 8 Aug 2000 15:35:25 +0000 (15:35 +0000)]
Added PARADYN_bootstrap_info

21 years agoMake source/object restructuring/renaming
wylie [Tue, 8 Aug 2000 15:34:28 +0000 (15:34 +0000)]
Make source/object restructuring/renaming

21 years agoRenamed files to avoid conflicts with dyninstAPI_RT versions:
wylie [Tue, 8 Aug 2000 15:27:32 +0000 (15:27 +0000)]
Renamed files to avoid conflicts with dyninstAPI_RT versions:
RT<os>.c -> RTetc-<os>.c

21 years agoNew streamlined/cut-down versions of former RT<os>.c files
wylie [Tue, 8 Aug 2000 15:25:52 +0000 (15:25 +0000)]
New streamlined/cut-down versions of former RT<os>.c files
embodying Paradyn-specific OS-specific runtime library functionality
including PARADYNos_init and PARADYNbreakPoint.

21 years agoNow redundant file (use the dyninstAPI_RT version directly)
wylie [Tue, 8 Aug 2000 15:21:15 +0000 (15:21 +0000)]
Now redundant file (use the dyninstAPI_RT version directly)

21 years agoNow redundant files (use the dyninstAPI_RT versions directly)
wylie [Tue, 8 Aug 2000 15:19:10 +0000 (15:19 +0000)]
Now redundant files (use the dyninstAPI_RT versions directly)

21 years agoSuperceded by RTetc-posix.c
wylie [Tue, 8 Aug 2000 15:17:43 +0000 (15:17 +0000)]
Superceded by RTetc-posix.c

21 years agoNew streamlined/cut-down versions of former RT<os>.c files
wylie [Tue, 8 Aug 2000 15:14:38 +0000 (15:14 +0000)]
New streamlined/cut-down versions of former RT<os>.c files
embodying Paradyn-specific OS-specific runtime library functionality
including PARADYNos_init and PARADYNbreakPoint.

21 years agoParadyn-specific "DYNINSTinit/fork/exec/etc" (should probably become
wylie [Tue, 8 Aug 2000 15:09:12 +0000 (15:09 +0000)]
Paradyn-specific "DYNINSTinit/fork/exec/etc" (should probably become
"PARADYNinit/fork/exec/etc" at some point) using PARADYN_bootstrapStruct,
PARADYNos_init and PARADYNbreakPoint, etc.

21 years agoNew streamlined/cut-down versions, deriving from dyninstAPI_RT.h and
wylie [Tue, 8 Aug 2000 15:08:20 +0000 (15:08 +0000)]
New streamlined/cut-down versions, deriving from dyninstAPI_RT.h and
eliminating previous redundancy.
Former DYNINST_bootstrapStruct becomes dedicated PARADYN_bootstrapStruct.

21 years agoOptional runtime library debug/trace switch
wylie [Tue, 8 Aug 2000 15:06:19 +0000 (15:06 +0000)]
Optional runtime library debug/trace switch

21 years agoAdded RTsig
wylie [Tue, 8 Aug 2000 15:04:51 +0000 (15:04 +0000)]
Added RTsig

21 years agoStash any of the application's existing trap/ill-handlers when installing
wylie [Tue, 8 Aug 2000 15:03:43 +0000 (15:03 +0000)]
Stash any of the application's existing trap/ill-handlers when installing
our own, to be defered to for any event we don't recognise as ours.

21 years agoDYNINSTdeferSigHandler and DYNINSTresetSigHandler for instrumentation
wylie [Tue, 8 Aug 2000 15:02:55 +0000 (15:02 +0000)]
DYNINSTdeferSigHandler and DYNINSTresetSigHandler for instrumentation
of any form of sigaction() which the application might call.  Note that
the application's handlers should not be installed (even briefly) as that
would leave them exposed to our instrumentation traps or other signals.

21 years agoTypo
wylie [Mon, 7 Aug 2000 15:35:07 +0000 (15:35 +0000)]
Typo

21 years agoDYNINSTdebugPrintRT definition/initialization
wylie [Mon, 7 Aug 2000 01:00:12 +0000 (01:00 +0000)]
DYNINSTdebugPrintRT definition/initialization

21 years agoDYNINSTdebugPrintRT/RTprintf definition
wylie [Mon, 7 Aug 2000 00:59:36 +0000 (00:59 +0000)]
DYNINSTdebugPrintRT/RTprintf definition

21 years agoASTDEBUG info
wylie [Mon, 7 Aug 2000 00:56:23 +0000 (00:56 +0000)]
ASTDEBUG info

21 years agoTidy
wylie [Mon, 7 Aug 2000 00:55:35 +0000 (00:55 +0000)]
Tidy

21 years agoCorrected callback implementation messages
wylie [Mon, 7 Aug 2000 00:55:20 +0000 (00:55 +0000)]
Corrected callback implementation messages

21 years agoGeneralized tests for an arbitrary number of (identical) mutatees,
wylie [Mon, 7 Aug 2000 00:53:18 +0000 (00:53 +0000)]
Generalized tests for an arbitrary number of (identical) mutatees,
specified by the added "-plurality #" optional flag (current default 3).

21 years agoInternal reorganization to explicitly specify tests to be run in mutatee
wylie [Mon, 7 Aug 2000 00:49:06 +0000 (00:49 +0000)]
Internal reorganization to explicitly specify tests to be run in mutatee

21 years agoTidy-up
wylie [Mon, 7 Aug 2000 00:41:39 +0000 (00:41 +0000)]
Tidy-up

21 years agoInternal reorganization to explicitly specify tests to be run in mutatee
wylie [Mon, 7 Aug 2000 00:41:15 +0000 (00:41 +0000)]
Internal reorganization to explicitly specify tests to be run in mutatee