dyninst.git
22 years agoPlatform migration
wylie [Fri, 31 Mar 2000 01:57:35 +0000 (01:57 +0000)]
Platform migration

22 years agoThis is the final commit for Dyninst 2.0 release.
altinel [Fri, 31 Mar 2000 01:15:22 +0000 (01:15 +0000)]
This is the final commit for Dyninst 2.0 release.

Mehmet

22 years agoPlatform migration
wylie [Thu, 30 Mar 2000 23:45:14 +0000 (23:45 +0000)]
Platform migration

22 years agoBug fix in statement sequences.
altinel [Tue, 28 Mar 2000 21:56:32 +0000 (21:56 +0000)]
Bug fix in statement sequences.

Mehmet

22 years agosort module list
hollings [Tue, 28 Mar 2000 17:10:40 +0000 (17:10 +0000)]
sort module list

22 years agoadded attach command.
hollings [Mon, 27 Mar 2000 20:04:13 +0000 (20:04 +0000)]
added attach command.

22 years agoAdded $n option to access parameters.
hollings [Mon, 27 Mar 2000 19:30:51 +0000 (19:30 +0000)]
Added $n option to access parameters.

22 years ago+ Added killing of created processes during daemon cleanup on linux
nick [Mon, 27 Mar 2000 02:02:13 +0000 (02:02 +0000)]
+ Added killing of created processes during daemon cleanup on linux
  This is linux only as it is too close to the release to break stuff.
  This functionality should probably go into the process destructor
  after the release.

22 years ago+ Added parsing of jiffies for cpu0 on SMP systems. Previously we were
nick [Fri, 24 Mar 2000 19:15:40 +0000 (19:15 +0000)]
+ Added parsing of jiffies for cpu0 on SMP systems.  Previously we were
  looking at total jiffies, so we were always off by a factor of numCPUs.

22 years agoDefined USES_TCLTK
paradyn [Thu, 23 Mar 2000 17:17:02 +0000 (17:17 +0000)]
Defined USES_TCLTK

22 years agoStandard ignores
paradyn [Thu, 23 Mar 2000 17:16:23 +0000 (17:16 +0000)]
Standard ignores

22 years agoChanged RELEASE_NUM to 3.0
wylie [Thu, 23 Mar 2000 01:49:02 +0000 (01:49 +0000)]
Changed RELEASE_NUM to 3.0

22 years agoAdded dyner to DyninstAPI component list
wylie [Thu, 23 Mar 2000 01:47:17 +0000 (01:47 +0000)]
Added dyner to DyninstAPI component list

22 years agoImproved handling of command-line/startup arguments and
wylie [Thu, 23 Mar 2000 01:41:47 +0000 (01:41 +0000)]
Improved handling of command-line/startup arguments and
use of NetworkName instead of (local) HostName

22 years agoset pollTime to zero for Linux to provide fairer trap servicing via more
wylie [Thu, 23 Mar 2000 01:40:36 +0000 (01:40 +0000)]
set pollTime to zero for Linux to provide fairer trap servicing via more
responsive daemon, instead of Linux best-effort of 100 events/second.

22 years agoCorrection
wylie [Thu, 23 Mar 2000 01:37:13 +0000 (01:37 +0000)]
Correction

22 years agouse of NetworkName instead of (local) HostName
wylie [Thu, 23 Mar 2000 01:35:31 +0000 (01:35 +0000)]
use of NetworkName instead of (local) HostName

22 years agotidy
wylie [Thu, 23 Mar 2000 01:34:25 +0000 (01:34 +0000)]
tidy

22 years agoimproved search status message-handling
wylie [Thu, 23 Mar 2000 01:33:08 +0000 (01:33 +0000)]
improved search status message-handling

22 years agoswitch over to new callgraph-based Performance Consultant as default
wylie [Thu, 23 Mar 2000 01:30:34 +0000 (01:30 +0000)]
switch over to new callgraph-based Performance Consultant as default

22 years agoUpdated release info
wylie [Thu, 23 Mar 2000 01:30:05 +0000 (01:30 +0000)]
Updated release info

22 years agoFixed crash on open of Descriptions
wylie [Thu, 23 Mar 2000 01:29:47 +0000 (01:29 +0000)]
Fixed crash on open of Descriptions

22 years agoAdded getHostName/getDomainName/getNetworkName/getNetworkAddr
wylie [Thu, 23 Mar 2000 01:28:49 +0000 (01:28 +0000)]
Added getHostName/getDomainName/getNetworkName/getNetworkAddr

22 years agoAdded suffixed_by method
wylie [Thu, 23 Mar 2000 01:28:24 +0000 (01:28 +0000)]
Added suffixed_by method

22 years agoRe-ordered functions to preclude excessive/undesirable optimization
wylie [Thu, 23 Mar 2000 01:25:57 +0000 (01:25 +0000)]
Re-ordered functions to preclude excessive/undesirable optimization

22 years agouse of a local copy of previousTime in process/wallTimer functions to
wylie [Thu, 23 Mar 2000 01:25:20 +0000 (01:25 +0000)]
use of a local copy of previousTime in process/wallTimer functions to
avoid (spurious) rollback reports due to ketchup inferiorRPCs with such
timer updates scheduled immediately after timer access system calls.

22 years agoAnother intermediate update.
altinel [Thu, 23 Mar 2000 00:37:52 +0000 (00:37 +0000)]
Another intermediate update.

Mehmet

22 years agoAnother intermediate commit.
altinel [Thu, 23 Mar 2000 00:29:29 +0000 (00:29 +0000)]
Another intermediate commit.

Mehmet

22 years agoRemoved install of test program
hollings [Wed, 22 Mar 2000 22:59:27 +0000 (22:59 +0000)]
Removed install of test program

22 years ago*** empty log message ***
hollings [Wed, 22 Mar 2000 22:50:57 +0000 (22:50 +0000)]
*** empty log message ***

22 years ago+ Added call to sysconf to determine the nnumber of processors.
nick [Wed, 22 Mar 2000 22:37:32 +0000 (22:37 +0000)]
+ Added call to sysconf to determine the nnumber of processors.

22 years agoAdded Refs for USE_TCLTK to Makefiles
hollings [Wed, 22 Mar 2000 22:11:51 +0000 (22:11 +0000)]
Added Refs for USE_TCLTK to Makefiles

22 years agocleanedup TCL path
hollings [Wed, 22 Mar 2000 21:57:44 +0000 (21:57 +0000)]
cleanedup TCL path

22 years agoremoved dead file.
hollings [Wed, 22 Mar 2000 21:41:37 +0000 (21:41 +0000)]
removed dead file.

22 years agoRemoved hard coded g++
hollings [Wed, 22 Mar 2000 21:41:10 +0000 (21:41 +0000)]
Removed hard coded g++

22 years agoChanged TCL Path to be standard one from nmake.config
hollings [Wed, 22 Mar 2000 21:27:55 +0000 (21:27 +0000)]
Changed TCL Path to be standard one from nmake.config

22 years agoNeed to build this by hand for NT.
hollings [Wed, 22 Mar 2000 21:08:43 +0000 (21:08 +0000)]
Need to build this by hand for NT.

22 years agoRemoved file name and line number from error message in process::attach().
mihai [Wed, 22 Mar 2000 20:32:43 +0000 (20:32 +0000)]
Removed file name and line number from error message in process::attach().

22 years agoFix help message for trace
hollings [Wed, 22 Mar 2000 20:28:38 +0000 (20:28 +0000)]
Fix help message for trace

22 years agoAllow compiles on 4.2 & 4.3
hollings [Wed, 22 Mar 2000 20:11:22 +0000 (20:11 +0000)]
Allow compiles on 4.2 & 4.3

22 years agotest1.mutatee.c has been modified to skip the test30 (line info) for
tikir [Wed, 22 Mar 2000 19:09:27 +0000 (19:09 +0000)]
test1.mutatee.c has been modified to skip the test30 (line info) for
unsupported platforms

22 years agotest1 is changed to skip test for unimplemented platforms for
tikir [Wed, 22 Mar 2000 19:08:48 +0000 (19:08 +0000)]
test1 is changed to skip test for unimplemented platforms for
line information data

22 years agotest1 and test1.mutatee has been changed to
tikir [Wed, 22 Mar 2000 03:56:25 +0000 (03:56 +0000)]
test1 and test1.mutatee has been changed to
be eliminate hard coded code in it and now it is working for
solaris (sun&pc) and linux

22 years agoModification to make test30 pass on linux platform,
tikir [Wed, 22 Mar 2000 03:50:19 +0000 (03:50 +0000)]
Modification to make test30 pass on linux platform,
on sun-sparc-solaric and pc-solaris with native compiler.
Some major chnages have been done in internal data structures.

22 years agoAdded -n32; removed -attach
wylie [Wed, 22 Mar 2000 01:52:31 +0000 (01:52 +0000)]
Added -n32; removed -attach

22 years agoThe address of the guard flag (process::trampGuardFlagAddr) must be reset
mihai [Wed, 22 Mar 2000 01:26:59 +0000 (01:26 +0000)]
The address of the guard flag (process::trampGuardFlagAddr) must be reset
to 0 when a new process image is loaded as a result of an exec syscall. The
address is reset in process::handleExec().

22 years agoThe instrumentation inserted by BPatch_thread::replaceFunction() uses an
mihai [Wed, 22 Mar 2000 00:47:41 +0000 (00:47 +0000)]
The instrumentation inserted by BPatch_thread::replaceFunction() uses an
unguarded (recursive) base trampoline, because the instrumentation is
non-returning.

22 years agoThis update implements the recursive guard code for base trampoline for
mihai [Wed, 22 Mar 2000 00:44:49 +0000 (00:44 +0000)]
This update implements the recursive guard code for base trampoline for
SPARC Solaris.

22 years agoAdded guard to protect against division by zero when resizing scroll bars.
pcroth [Tue, 21 Mar 2000 23:58:39 +0000 (23:58 +0000)]
Added guard to protect against division by zero when resizing scroll bars.

22 years agoThis is a minor update related to type information system in dyninst.
altinel [Tue, 21 Mar 2000 21:45:05 +0000 (21:45 +0000)]
This is a minor update related to type information system in dyninst.

Mehmet

22 years agoThis is just an intermediate commit for dyner. But you are welcome to
altinel [Tue, 21 Mar 2000 21:37:54 +0000 (21:37 +0000)]
This is just an intermediate commit for dyner. But you are welcome to
download and play with it.

Mehmet

22 years agoFixed (I hope) the hang on OSF.
hollings [Tue, 21 Mar 2000 00:49:59 +0000 (00:49 +0000)]
Fixed (I hope) the hang on OSF.

22 years agoCleaned up code slightly.
chambrea [Mon, 20 Mar 2000 23:13:55 +0000 (23:13 +0000)]
Cleaned up code slightly.

22 years agoAdded instReqNode method triggeredInStackFrame, which calls the process
chambrea [Mon, 20 Mar 2000 22:57:58 +0000 (22:57 +0000)]
Added instReqNode method triggeredInStackFrame, which calls the process
method of the same name, but with a private variable.

22 years agoremoved platform-specific triggeredInStackFrame and relocated it to
chambrea [Mon, 20 Mar 2000 22:56:11 +0000 (22:56 +0000)]
removed platform-specific triggeredInStackFrame and relocated it to
process.C with the addition of platform-independent code evaluating
whether instrumentation should be "caught up" in the case where the pc
is located within the instrumentation at the specified instrumentation
point.

22 years agoRemoved a dependency upon the STL vector class, since NT does not support
mihai [Mon, 20 Mar 2000 22:54:48 +0000 (22:54 +0000)]
Removed a dependency upon the STL vector class, since NT does not support
STL yet.
Changed test #31 to skip on platforms which do not have non-recursive
tramp implemented.

22 years agoAdded DynInst tests 1.31 and 1.32:
mihai [Mon, 20 Mar 2000 21:01:51 +0000 (21:01 +0000)]
Added DynInst tests 1.31 and 1.32:

Test 1.31 checks whether guard code runs correctly. This test will fail on
platforms where non-recursive base tramps are not implemented.

Test 1.32 checks whether the old style (recursive) base trampoline is still
generated correctly when BPatch::setTrampRecursive( true ) is used. This test
should pass on all platforms.

22 years agoMoved BPatch_Set.h into BPATCH_LIBRARY domain
wylie [Sat, 18 Mar 2000 23:07:11 +0000 (23:07 +0000)]
Moved BPatch_Set.h into BPATCH_LIBRARY domain

22 years agoAddition of source files related to control flow graph etc
tikir [Sat, 18 Mar 2000 21:56:30 +0000 (21:56 +0000)]
Addition of source files related to control flow graph etc

22 years agoAddition of include files
tikir [Sat, 18 Mar 2000 21:55:24 +0000 (21:55 +0000)]
Addition of include files

22 years agoAddition of Control Flow Graph related implementation.
tikir [Sat, 18 Mar 2000 21:53:58 +0000 (21:53 +0000)]
Addition of Control Flow Graph related implementation.
Some small modification in implementation of LineInformation stuff.
Addition includes control flow graph, basi blocks and
basic block loops and source block implemetation

22 years agoAdded pcAtLastIRPC
paradyn [Sat, 18 Mar 2000 21:03:01 +0000 (21:03 +0000)]
Added pcAtLastIRPC

22 years agoI have done a commit that fixes the "irpc-trap" bug. This bug occurs
schendel [Fri, 17 Mar 2000 21:57:38 +0000 (21:57 +0000)]
I have done a commit that fixes the "irpc-trap" bug.  This bug occurs
both under paradyn and dyninst when an inferior rpc is launched when
the application happens to be stopped at a trap point.  The bug was
present only on the i386-solaris platform, since under x86 traps are
used for jumping to instrumentation in certain cases.  Has paradyn run
time library rpc info variable declarations and trap handler changes.

22 years agoI have done a commit that fixes the "irpc-trap" bug. This bug occurs
schendel [Fri, 17 Mar 2000 21:56:05 +0000 (21:56 +0000)]
I have done a commit that fixes the "irpc-trap" bug.  This bug occurs
both under paradyn and dyninst when an inferior rpc is launched when
the application happens to be stopped at a trap point.  The bug was
present only on the i386-solaris platform, since under x86 traps are
used for jumping to instrumentation in certain cases.  Has dyninst run
time library rpc info variable declarations and trap handler changes.

22 years agoI have done a commit that fixes the "irpc-trap" bug. This bug occurs both
schendel [Fri, 17 Mar 2000 21:53:23 +0000 (21:53 +0000)]
I have done a commit that fixes the "irpc-trap" bug.  This bug occurs both
under paradyn and dyninst when an inferior rpc is launched when the
application happens to be stopped at a trap point.  The bug was present
only on the i386-solaris platform, since under x86 traps are used for
jumping to instrumentation in certain cases.  Writes information variables
into rt library before launching an irpc.

22 years agoFixed problem with inferrior RPC in exit callbacks (really a problem
hollings [Fri, 17 Mar 2000 18:49:05 +0000 (18:49 +0000)]
Fixed problem with inferrior RPC in exit callbacks (really a problem
with abort system call for entry to system calls).

22 years agoFixed parameters to postRPCtoDo for paradyndMT
zhichen [Fri, 17 Mar 2000 14:18:29 +0000 (14:18 +0000)]
Fixed parameters to postRPCtoDo for paradyndMT

22 years agoIgnore test4[ab].mutatees
wylie [Fri, 17 Mar 2000 00:24:14 +0000 (00:24 +0000)]
Ignore test4[ab].mutatees

22 years agoenabled compilation for NT. Related to declaration
tikir [Thu, 16 Mar 2000 23:02:56 +0000 (23:02 +0000)]
enabled  compilation for NT. Related to declaration

22 years agoReplaced unnecessary assert statement with appropriate warning message.
cain [Thu, 16 Mar 2000 22:41:11 +0000 (22:41 +0000)]
Replaced unnecessary assert statement with appropriate warning message.

22 years agoAdded dynamic call site instrumentation routines for x86.
cain [Thu, 16 Mar 2000 22:39:22 +0000 (22:39 +0000)]
Added dynamic call site instrumentation routines for x86.

22 years agoRemoved Make.common.
altinel [Wed, 15 Mar 2000 23:11:39 +0000 (23:11 +0000)]
Removed Make.common.

22 years agotestDyner.C is added.
altinel [Wed, 15 Mar 2000 23:05:41 +0000 (23:05 +0000)]
testDyner.C is added.

Mehmet

22 years agoThis is an intermediary commit, not the final version of dyner.
altinel [Wed, 15 Mar 2000 23:04:22 +0000 (23:04 +0000)]
This is an intermediary commit, not the final version of dyner.
However, you are welcome to play (and crash) the dyner.

Mehmet

22 years agosome modifications for teh code to be compiled in
tikir [Wed, 15 Mar 2000 22:14:29 +0000 (22:14 +0000)]
some modifications for teh code to be compiled in
NT machines

22 years agoChanged to handle errors detected in myTclEval with the tclpanic() routine,
pcroth [Wed, 15 Mar 2000 17:43:48 +0000 (17:43 +0000)]
Changed to handle errors detected in myTclEval with the tclpanic() routine,
to consolidate error handling code and to allow errors to be reported
on Windows NT.

22 years agoFix to avoid small memory leak.
pcroth [Wed, 15 Mar 2000 17:42:56 +0000 (17:42 +0000)]
Fix to avoid small memory leak.

22 years agoAdds guard against potential division by zero in internal locate() method.
pcroth [Wed, 15 Mar 2000 17:42:30 +0000 (17:42 +0000)]
Adds guard against potential division by zero in internal locate() method.
(This problem appears to be exposed only on Windows NT when paradyn encounters
a fatal error during initialization.)

22 years agoUpdated to avoid redefinition of register name constants declared in
pcroth [Wed, 15 Mar 2000 17:41:27 +0000 (17:41 +0000)]
Updated to avoid redefinition of register name constants declared in
SPARC Solaris 7 header files.

22 years agoMade the BPatch_Set stuff conditional on BPATCH_LIBRARY
wylie [Tue, 14 Mar 2000 23:24:47 +0000 (23:24 +0000)]
Made the BPatch_Set stuff conditional on BPATCH_LIBRARY

22 years agonew test is created for line information impelementation for
tikir [Tue, 14 Mar 2000 22:33:53 +0000 (22:33 +0000)]
new test is created for line information impelementation for
sparc solaris platform

22 years agoAddition of changesand new classes for implementation of
tikir [Tue, 14 Mar 2000 22:31:25 +0000 (22:31 +0000)]
Addition of changesand new classes for implementation of
line information for sparc solaris platform. New classeses are
added and new API methods are added to the other classes to access
line information

22 years agoadditions to the header files for line information on sparc solaris platform
tikir [Tue, 14 Mar 2000 22:28:45 +0000 (22:28 +0000)]
additions to the header files for line information on sparc solaris platform
It addes the new container class BPatch_Set.

22 years agoFixed assort small hangs on Alpha.
hollings [Tue, 14 Mar 2000 00:49:21 +0000 (00:49 +0000)]
Fixed assort small hangs on Alpha.

22 years agoSeveral enhancements to dyner. Development is still in progres....
altinel [Tue, 14 Mar 2000 00:26:54 +0000 (00:26 +0000)]
Several enhancements to dyner. Development is still in progres....

Mehmet Altinel

22 years agoCorrected TARGETS
paradyn [Mon, 13 Mar 2000 16:23:57 +0000 (16:23 +0000)]
Corrected TARGETS

22 years agoCorrected test4 mutatee targetlists
paradyn [Mon, 13 Mar 2000 16:06:25 +0000 (16:06 +0000)]
Corrected test4 mutatee targetlists

22 years agoFixe compiler warning on mips.
hollings [Mon, 13 Mar 2000 04:22:34 +0000 (04:22 +0000)]
Fixe compiler warning on mips.

22 years agoRmoved extra SRCS macro.
hollings [Mon, 13 Mar 2000 00:17:48 +0000 (00:17 +0000)]
Rmoved extra SRCS macro.

22 years agoAdded stdin, stdout, stderr, file descriptors.
hollings [Sun, 12 Mar 2000 23:31:01 +0000 (23:31 +0000)]
Added stdin, stdout, stderr, file descriptors.

22 years agoAdded code for vfork tracking.
hollings [Sun, 12 Mar 2000 23:30:16 +0000 (23:30 +0000)]
Added code for vfork tracking.

22 years agoAdded test case 1.29.
hollings [Sun, 12 Mar 2000 23:28:27 +0000 (23:28 +0000)]
Added test case 1.29.
Added test cast 4.*
Added extra ignores for gcc and cc compiled files.

22 years agofork/exec/exit Callbacks.
hollings [Sun, 12 Mar 2000 23:27:14 +0000 (23:27 +0000)]
fork/exec/exit Callbacks.
New code for redirecting stdin, stdout, stderr.

22 years agoAdded srcObject and fork/exec/exit callbacks.
hollings [Sun, 12 Mar 2000 23:26:04 +0000 (23:26 +0000)]
Added srcObject and fork/exec/exit callbacks.

22 years agoUpdate error 102 (shmget/at failure)
wylie [Sun, 12 Mar 2000 22:38:02 +0000 (22:38 +0000)]
Update error 102 (shmget/at failure)

22 years agoTidy
wylie [Sun, 12 Mar 2000 22:29:47 +0000 (22:29 +0000)]
Tidy

22 years agoTidied-up shmget() error value handing.
wylie [Sun, 12 Mar 2000 22:26:56 +0000 (22:26 +0000)]
Tidied-up shmget() error value handing.

22 years agoType correction
wylie [Sun, 12 Mar 2000 22:25:17 +0000 (22:25 +0000)]
Type correction

22 years agoTidy
wylie [Sun, 12 Mar 2000 22:23:34 +0000 (22:23 +0000)]
Tidy

22 years agoMoved and updated definitions of per-process maximum number of counters and
wylie [Sun, 12 Mar 2000 22:20:45 +0000 (22:20 +0000)]
Moved and updated definitions of per-process maximum number of counters and
timers, used when determining size of paradynd's shared memory segments.
Originally 10000 (of each), and recently increased to 51200, maxima are
reduced once more to 12800 (for non-threaded case) so that segment sizes
are less than the OS-configurable default of 1MB.