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

21 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.

21 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

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

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

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

21 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

21 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.

21 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().

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

21 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

21 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

21 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

21 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

21 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.

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

21 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().

21 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.

21 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.

21 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.

21 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

21 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

21 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.

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

21 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.

21 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.

21 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.

21 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.

21 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

21 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

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

21 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

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

21 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.

21 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.

21 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.

21 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).

21 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

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

21 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

21 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.

21 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.

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

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

Mehmet

21 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

21 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

21 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.

21 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.

21 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.)

21 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.

21 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

21 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

21 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

21 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.

21 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.

21 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

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

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

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

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

21 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.

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

21 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.

21 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.

21 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.

21 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)

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

21 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.

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

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

21 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.

21 years agoTidy
wylie [Sun, 12 Mar 2000 22:11:40 +0000 (22:11 +0000)]
Tidy

21 years agoIgnore the mutatees and libtests
paradyn [Thu, 9 Mar 2000 17:02:54 +0000 (17:02 +0000)]
Ignore the mutatees and libtests

21 years agoAdd a save of the stack pointer to provide access to local variables
hollings [Thu, 9 Mar 2000 16:31:27 +0000 (16:31 +0000)]
Add a save of the stack pointer to provide access to local variables
from either gcc or DEC compiler.

21 years agoFix alpha bugs related to attach and naitive compile use.
hollings [Thu, 9 Mar 2000 16:30:31 +0000 (16:30 +0000)]
Fix alpha bugs related to attach and naitive compile use.

21 years agoAdded dependencies for Types.obj file.
pcroth [Wed, 8 Mar 2000 17:20:16 +0000 (17:20 +0000)]
Added dependencies for Types.obj file.

21 years agoExorcised obsolete/inappropriate blizzard_memory.h dependencies
paradyn [Tue, 7 Mar 2000 17:41:37 +0000 (17:41 +0000)]
Exorcised obsolete/inappropriate blizzard_memory.h dependencies

21 years agoAdded (missing) Types module
paradyn [Tue, 7 Mar 2000 16:19:15 +0000 (16:19 +0000)]
Added (missing) Types module

21 years agoObsolete
wylie [Tue, 7 Mar 2000 00:33:30 +0000 (00:33 +0000)]
Obsolete

21 years agoAdded Id
wylie [Tue, 7 Mar 2000 00:27:52 +0000 (00:27 +0000)]
Added Id

21 years agoSeparated interfaces to remote warnings
wylie [Tue, 7 Mar 2000 00:20:13 +0000 (00:20 +0000)]
Separated interfaces to remote warnings

21 years agoMoved /Process hierarchy to /Machine hierarchy.
zhichen [Mon, 6 Mar 2000 21:41:10 +0000 (21:41 +0000)]
Moved /Process hierarchy to /Machine hierarchy.

21 years agoNew variable, DYNINSThasInitialized. For checking presence of pre-linked
zandy [Mon, 6 Mar 2000 21:30:35 +0000 (21:30 +0000)]
New variable, DYNINSThasInitialized.  For checking presence of pre-linked
runtime inst library in inferior process during parsing.

21 years agoCheck for presence of pre-linked runtime inst library in inferior process
zandy [Mon, 6 Mar 2000 21:30:07 +0000 (21:30 +0000)]
Check for presence of pre-linked runtime inst library in inferior process
during parsing.

21 years agoRemoved extraneous load instruction in trampoline guard.
bernat [Mon, 6 Mar 2000 17:34:55 +0000 (17:34 +0000)]
Removed extraneous load instruction in trampoline guard.

21 years agoMade MT_THREAD and non-MT_THREAD calls consistent for postRPCtoDo, etc.
paradyn [Mon, 6 Mar 2000 16:46:53 +0000 (16:46 +0000)]
Made MT_THREAD and non-MT_THREAD calls consistent for postRPCtoDo, etc.

21 years agoNew files for x86 dynamic heaps.
zandy [Sun, 5 Mar 2000 15:44:25 +0000 (15:44 +0000)]
New files for x86 dynamic heaps.

21 years agoDynamic heaps for x86 solaris and linux. Isolate SVR4 specific heap code
zandy [Sat, 4 Mar 2000 01:30:26 +0000 (01:30 +0000)]
Dynamic heaps for x86 solaris and linux.  Isolate SVR4 specific heap code
from RTheap.c.

21 years agoDynamic heaps for x86 Solaris and Linux, bug fixes
zandy [Sat, 4 Mar 2000 01:29:21 +0000 (01:29 +0000)]
Dynamic heaps for x86 Solaris and Linux, bug fixes

21 years agoNew dynamic heap features and bug fixes
zandy [Sat, 4 Mar 2000 01:26:22 +0000 (01:26 +0000)]
New dynamic heap features and bug fixes

21 years agoMore aggressive dynamic heap testing in test 12
zandy [Sat, 4 Mar 2000 01:25:42 +0000 (01:25 +0000)]
More aggressive dynamic heap testing in test 12

21 years agoEnable dynamic heaps on x86-Solaris and Linux
zandy [Sat, 4 Mar 2000 01:25:20 +0000 (01:25 +0000)]
Enable dynamic heaps on x86-Solaris and Linux
Add low memory heap buffer for inferiorRPCs of DYNINSTos_malloc
Dynamic heap bugs fixes

21 years agoEnable dynamic heaps on x86-Solaris and Linux
zandy [Sat, 4 Mar 2000 01:24:16 +0000 (01:24 +0000)]
Enable dynamic heaps on x86-Solaris and Linux

21 years ago - DYNINSTfork did not send one field(ptr_size) over the
mirg [Fri, 3 Mar 2000 22:09:53 +0000 (22:09 +0000)]
- DYNINSTfork did not send one field(ptr_size) over the
  tracelink, while the daemon expected to receive it.
- DYNINSTexecFailed reset errno back to zero. Now it is saved and
  restored.

21 years ago - Added an alias for the initial instrumentation of fork
mirg [Fri, 3 Mar 2000 22:09:09 +0000 (22:09 +0000)]
- Added an alias for the initial instrumentation of fork

21 years ago - Added several aliases for the initial instrumentation of
mirg [Fri, 3 Mar 2000 22:08:53 +0000 (22:08 +0000)]
- Added several aliases for the initial instrumentation of
  fork and execve
- Created new AstNodes for each instrumentation request

21 years ago - baseTable::addRows did not increment the numberOfRows for the
mirg [Fri, 3 Mar 2000 22:08:30 +0000 (22:08 +0000)]
- baseTable::addRows did not increment the numberOfRows for the
  non-threaded version.

21 years ago - The process structure for a child did not copy a thread structure
mirg [Fri, 3 Mar 2000 22:06:57 +0000 (22:06 +0000)]
- The process structure for a child did not copy a thread structure
  from the parent.
- Unlike other platforms i386_unknown_solaris2_5 did not
  instrument the main entry point. It used RPC to call DYNINSTinit, but
  failed to stop at the beginning of main. Changed to use the same
  mechanism as on other platforms. The dyninst library is not affected.
- Do not close the ioLink upon a process termination since it
  might be used by its children. Hope that the operating system
  will close this link when no processes are left around
- execlp() may call execve() repeatedly until it succeeds. We could
  not handle the second exec due to the failing assertion.

21 years ago - Properly handled the case when we read less than we expected
mirg [Fri, 3 Mar 2000 22:06:23 +0000 (22:06 +0000)]
- Properly handled the case when we read less than we expected
  from /proc/$pid/mem

21 years agoChange for place holder for new semantics of pre/post insn inst at function
hollings [Thu, 2 Mar 2000 23:49:24 +0000 (23:49 +0000)]
Change for place holder for new semantics of pre/post insn inst at function
entry and exit.