dyninst.git
25 years agoMinor change to compile on nt - naim
naim [Fri, 22 Aug 1997 16:03:48 +0000 (16:03 +0000)]
Minor change to compile on nt - naim

25 years agoAdding support to dynamically load libsocket.so.1 - naim
naim [Fri, 22 Aug 1997 15:05:57 +0000 (15:05 +0000)]
Adding support to dynamically load libsocket.so.1 - naim

25 years agoFixing problem when using cc and -MM - naim
naim [Thu, 21 Aug 1997 18:57:25 +0000 (18:57 +0000)]
Fixing problem when using cc and -MM - naim

25 years agoCheck case when PARADYN_LIB is not defined - naim
naim [Thu, 21 Aug 1997 14:37:50 +0000 (14:37 +0000)]
Check case when PARADYN_LIB is not defined - naim

25 years agoFixing another problem with my previous commit - naim
naim [Wed, 20 Aug 1997 22:23:10 +0000 (22:23 +0000)]
Fixing another problem with my previous commit - naim

25 years agoFixing a small error with my previous commit - naim
naim [Wed, 20 Aug 1997 22:08:29 +0000 (22:08 +0000)]
Fixing a small error with my previous commit - naim

25 years agoAdding support to dynamically link libdyninstRT by using dlopen on sparc-
naim [Tue, 19 Aug 1997 19:50:20 +0000 (19:50 +0000)]
Adding support to dynamically link libdyninstRT by using dlopen on sparc-
solaris - naim

25 years agoPorted the Dyninst API to Windows NT.
buck [Mon, 18 Aug 1997 01:34:08 +0000 (01:34 +0000)]
Ported the Dyninst API to Windows NT.

25 years agoNow base trampolines are reconstructed from a process' instPoint's, instead
ssuen [Fri, 15 Aug 1997 23:18:59 +0000 (23:18 +0000)]
Now base trampolines are reconstructed from a process' instPoint's, instead
of from its instInstances.

25 years agoCorrected mistake of reconstructing base trampolines from instInstance's.
ssuen [Fri, 15 Aug 1997 23:17:48 +0000 (23:17 +0000)]
Corrected mistake of reconstructing base trampolines from instInstance's.
Now base trampolines are reconstructed from instPoint's.

25 years agoAdded instantiation of vector<const instPoint *>
ssuen [Fri, 15 Aug 1997 23:16:04 +0000 (23:16 +0000)]
Added instantiation of  vector<const instPoint *>

25 years agoAdded support of MPI programs using `US' network interface on SP2.
ssuen [Sat, 9 Aug 1997 20:26:07 +0000 (20:26 +0000)]
Added support of MPI programs using `US' network interface on SP2.

25 years agoAdded test to catch case where process::walkStack is not moving up stack.
ssuen [Wed, 6 Aug 1997 20:47:17 +0000 (20:47 +0000)]
Added test to catch case where process::walkStack is not moving up stack.

25 years agoFixing problem with inferiorRPC, non-shared memory sampling and sigalrm - naim
naim [Tue, 29 Jul 1997 14:35:55 +0000 (14:35 +0000)]
Fixing problem with inferiorRPC, non-shared memory sampling and sigalrm - naim

25 years agoAdded recovery of base trampolines after an AIX load.
ssuen [Sat, 26 Jul 1997 21:21:58 +0000 (21:21 +0000)]
Added recovery of base trampolines after an AIX load.

25 years agoFixing problem with fork/exec on aix - naim
naim [Fri, 25 Jul 1997 21:16:03 +0000 (21:16 +0000)]
Fixing problem with fork/exec on aix - naim

25 years agoFixing for/exec on aix + various fixes for forc/exec on other platforms - naim
naim [Fri, 25 Jul 1997 21:10:01 +0000 (21:10 +0000)]
Fixing for/exec on aix + various fixes for forc/exec on other platforms - naim

25 years agohanges so that mini trampolines now live in the data segment heap.
ssuen [Thu, 24 Jul 1997 05:31:35 +0000 (05:31 +0000)]
hanges so that mini trampolines now live in the data segment heap.

25 years agoChanges so that mini trampolines now live in the data segment heap.
ssuen [Thu, 24 Jul 1997 05:30:44 +0000 (05:30 +0000)]
Changes so that mini trampolines now live in the data segment heap.

25 years agoMinor cleanup change - naim
naim [Tue, 22 Jul 1997 21:57:17 +0000 (21:57 +0000)]
Minor cleanup change - naim

25 years agoChanges to make fork work on aix. Also, some change to make exec work on
naim [Tue, 22 Jul 1997 19:09:54 +0000 (19:09 +0000)]
Changes to make fork work on aix. Also, some change to make exec work on
solaris. Althought it works now, there are still some things to be done
for exec related to the visis - naim

25 years agobug fix to my previous commit
newhall [Sat, 19 Jul 1997 19:35:09 +0000 (19:35 +0000)]
bug fix to my previous commit

25 years agofix to instrumenting leaf entry point with the following instruction
newhall [Thu, 17 Jul 1997 22:51:38 +0000 (22:51 +0000)]
fix to instrumenting leaf entry point with the following instruction
sequence: (mov  %o7, %g2, call  <func+12>, sethi)...can't relocate mov
insn in this case

25 years agoEliminated the need to link dyninst API with -lkvm on SunOS,
buck [Thu, 17 Jul 1997 16:53:04 +0000 (16:53 +0000)]
Eliminated the need to link dyninst API with -lkvm on SunOS,
and added a check for the failure of the "attach" constructor for
process.

25 years agoMinor change to my previous commit - naim
naim [Wed, 16 Jul 1997 19:24:08 +0000 (19:24 +0000)]
Minor change to my previous commit - naim

25 years agoFixing fork on sunos - naim
naim [Wed, 16 Jul 1997 19:13:48 +0000 (19:13 +0000)]
Fixing fork on sunos - naim

25 years agoFixing problem with fork on x86 - naim
naim [Mon, 14 Jul 1997 20:43:23 +0000 (20:43 +0000)]
Fixing problem with fork on x86 - naim

25 years agoFixing problem with fork - naim
naim [Mon, 14 Jul 1997 18:30:36 +0000 (18:30 +0000)]
Fixing problem with fork - naim

25 years agoFix to problem with fork - naim
naim [Mon, 14 Jul 1997 18:29:23 +0000 (18:29 +0000)]
Fix to problem with fork - naim

25 years agobug fix to VISIthreadchooseMetRes to check for 'Cancel' case. removed warnings
newhall [Sun, 13 Jul 1997 03:31:50 +0000 (03:31 +0000)]
bug fix to VISIthreadchooseMetRes to check for 'Cancel' case. removed warnings
from trace data code

25 years agoremoved obsolete files
tamches [Fri, 11 Jul 1997 22:03:34 +0000 (22:03 +0000)]
removed obsolete files

25 years agoremoved obsolete files
tamches [Fri, 11 Jul 1997 21:31:12 +0000 (21:31 +0000)]
removed obsolete files

25 years agoremoved hp files
tamches [Fri, 11 Jul 1997 21:26:25 +0000 (21:26 +0000)]
removed hp files

25 years agoEliminated warning when a process was created but not registered as a
buck [Fri, 11 Jul 1997 17:43:43 +0000 (17:43 +0000)]
Eliminated warning when a process was created but not registered as a
thread; made the API version of showErrorCallback call the API error
callback function.

25 years agoAdded BPatch_retExpr test case
hollings [Thu, 10 Jul 1997 21:45:19 +0000 (21:45 +0000)]
Added BPatch_retExpr test case
Added test case 17 for return values from func calls

25 years agoAdded BPatch_retExpr
hollings [Thu, 10 Jul 1997 21:44:51 +0000 (21:44 +0000)]
Added BPatch_retExpr
Added null type for returnOp and paramOp

25 years agoAdded BPatch_retExpr
hollings [Thu, 10 Jul 1997 21:44:21 +0000 (21:44 +0000)]
Added BPatch_retExpr

25 years agoDyninst API library now uses fork() instead of vfork() when creating
buck [Thu, 10 Jul 1997 19:59:40 +0000 (19:59 +0000)]
Dyninst API library now uses fork() instead of vfork() when creating
a new process.

25 years agoFixing minor problem that was causing fork to fail - naim
naim [Wed, 9 Jul 1997 21:57:15 +0000 (21:57 +0000)]
Fixing minor problem that was causing fork to fail - naim

25 years agoFixing race condition between inferiorRPC waiting for a system call to
naim [Wed, 9 Jul 1997 20:41:36 +0000 (20:41 +0000)]
Fixing race condition between inferiorRPC waiting for a system call to
finish and an enable request comming from paradyn - naim

25 years agoleaf --> noStackFrame and isLeafFunc() --> hasNoStackFrame()
tamches [Wed, 9 Jul 1997 19:31:39 +0000 (19:31 +0000)]
leaf --> noStackFrame and isLeafFunc() --> hasNoStackFrame()

25 years agoisLeafFunc() --> hasNoStackFrame()
tamches [Wed, 9 Jul 1997 19:30:14 +0000 (19:30 +0000)]
isLeafFunc() --> hasNoStackFrame()

25 years agohasNoStackFrame() replaces leaf, which is not kept here anymore;
tamches [Wed, 9 Jul 1997 19:29:53 +0000 (19:29 +0000)]
hasNoStackFrame() replaces leaf, which is not kept here anymore;
instead, we use func's hasNoStackFrame()

25 years agoisLeaf() --> hasNoStackFrame() for instPoint and pd_Function
tamches [Wed, 9 Jul 1997 19:29:12 +0000 (19:29 +0000)]
isLeaf() --> hasNoStackFrame() for instPoint and pd_Function
no leaf vrble kept in instPoint anymore; we use func's hasNoStackFrame()

25 years agoisLeaf() --> hasNoStackFrame() for instPoint and pd_Function.
tamches [Wed, 9 Jul 1997 19:28:24 +0000 (19:28 +0000)]
isLeaf() --> hasNoStackFrame() for instPoint and pd_Function.
No leaf flag kept in instPoint anymore; we use func's hasNoStackFrame()

25 years agoAdded support for the x86 Solaris platform.
buck [Tue, 8 Jul 1997 19:18:21 +0000 (19:18 +0000)]
Added support for the x86 Solaris platform.

25 years agoAdded support for the x86 Solaris platform and dynamically linked
buck [Tue, 8 Jul 1997 19:14:00 +0000 (19:14 +0000)]
Added support for the x86 Solaris platform and dynamically linked
executables to the dyninst API library.

25 years agoMinor fix to cleanup_drn. We should only use it when computingCost is
naim [Thu, 3 Jul 1997 21:49:08 +0000 (21:49 +0000)]
Minor fix to cleanup_drn. We should only use it when computingCost is
false - naim

25 years agoFixing EXIT_NAME symbol - naim
naim [Thu, 3 Jul 1997 21:45:55 +0000 (21:45 +0000)]
Fixing EXIT_NAME symbol - naim

25 years agoFixed hang due to us not handling the case in which we send a SIGSTOP to
ssuen [Thu, 3 Jul 1997 20:03:12 +0000 (20:03 +0000)]
Fixed hang due to us not handling the case in which we send a SIGSTOP to
a process to stop it, but it has *already* stopped due to another signal,
such as a SIGTRAP.

25 years agodummy set_breakpoint_for_syscall_completion
tamches [Tue, 1 Jul 1997 16:54:56 +0000 (16:54 +0000)]
dummy set_breakpoint_for_syscall_completion

25 years agocode to defer an inferior rpc until syscall is complete
tamches [Tue, 1 Jul 1997 16:54:42 +0000 (16:54 +0000)]
code to defer an inferior rpc until syscall is complete

25 years agocode to defer an inferiorRPC until a syscall is complete
tamches [Tue, 1 Jul 1997 16:54:20 +0000 (16:54 +0000)]
code to defer an inferiorRPC until a syscall is complete

25 years agocode to defer an inferior rpc until syscall is completed
tamches [Tue, 1 Jul 1997 16:53:48 +0000 (16:53 +0000)]
code to defer an inferior rpc until syscall is completed

25 years agoadded define of NULL
tamches [Tue, 1 Jul 1997 16:53:14 +0000 (16:53 +0000)]
added define of NULL

25 years agodummy set_breakpoint_for_syscall_completion()
tamches [Tue, 1 Jul 1997 16:52:54 +0000 (16:52 +0000)]
dummy set_breakpoint_for_syscall_completion()

25 years agoextra arg to launchRPCifAppropriate
tamches [Tue, 1 Jul 1997 16:52:26 +0000 (16:52 +0000)]
extra arg to launchRPCifAppropriate

25 years agosmall fix to prev commit
tamches [Fri, 27 Jun 1997 22:22:15 +0000 (22:22 +0000)]
small fix to prev commit

25 years agoremoved some warnings
tamches [Fri, 27 Jun 1997 18:21:20 +0000 (18:21 +0000)]
removed some warnings

25 years agoadded a template
tamches [Fri, 27 Jun 1997 18:19:32 +0000 (18:19 +0000)]
added a template

25 years agoseveralResourceInfoCallback
tamches [Fri, 27 Jun 1997 18:18:51 +0000 (18:18 +0000)]
severalResourceInfoCallback

25 years agooptimized newResource. optimized some memory ops when parsing.
tamches [Fri, 27 Jun 1997 18:17:41 +0000 (18:17 +0000)]
optimized newResource.  optimized some memory ops when parsing.

25 years agooptimizations
tamches [Fri, 27 Jun 1997 18:16:33 +0000 (18:16 +0000)]
optimizations

25 years agonew template
tamches [Fri, 27 Jun 1997 18:15:51 +0000 (18:15 +0000)]
new template

25 years agooptimized newResource w.r.t. its igen behavior
tamches [Fri, 27 Jun 1997 18:15:39 +0000 (18:15 +0000)]
optimized newResource w.r.t. its igen behavior

25 years agonew param to newResource. send_now() is new.
tamches [Fri, 27 Jun 1997 18:15:08 +0000 (18:15 +0000)]
new param to newResource.  send_now() is new.

25 years agonew param to newResource
tamches [Fri, 27 Jun 1997 18:14:08 +0000 (18:14 +0000)]
new param to newResource

25 years agomk_list() is new. Code to exclude call sites from metric
tamches [Tue, 24 Jun 1997 19:59:23 +0000 (19:59 +0000)]
mk_list() is new.  Code to exclude call sites from metric
instantiation, as appropriate.

25 years agodummy mk_list()
tamches [Tue, 24 Jun 1997 19:57:25 +0000 (19:57 +0000)]
dummy mk_list()

25 years agomk_list() is new
tamches [Tue, 24 Jun 1997 19:56:52 +0000 (19:56 +0000)]
mk_list() is new

25 years agochanged msg for error #86
newhall [Tue, 24 Jun 1997 18:18:03 +0000 (18:18 +0000)]
changed msg for error #86

25 years agochanged exclude_node to exclude
newhall [Tue, 24 Jun 1997 17:13:19 +0000 (17:13 +0000)]
changed exclude_node to exclude

25 years agoAdded features to the dyninst API library, including an optional "else"
buck [Mon, 23 Jun 1997 19:15:33 +0000 (19:15 +0000)]
Added features to the dyninst API library, including an optional "else"
in a BPatch_ifExpr; the BPatch_setMutationsActive call to temporarily
disable all snippets; and the replaceFunctionCall and removeFunctionCall
member functions of BPatch_thread to retarget or NOOP out a function
call.

25 years agonil static member as an optimization
tamches [Mon, 23 Jun 1997 17:17:58 +0000 (17:17 +0000)]
nil static member as an optimization

25 years agoclass instPoint now in its own .h file
tamches [Mon, 23 Jun 1997 17:15:26 +0000 (17:15 +0000)]
class instPoint now in its own .h file

25 years agosome additional hash functions
tamches [Mon, 23 Jun 1997 17:13:40 +0000 (17:13 +0000)]
some additional hash functions

25 years agouse of dictionary find() as an optimization. Use of improved
tamches [Mon, 23 Jun 1997 17:13:25 +0000 (17:13 +0000)]
use of dictionary find() as an optimization.  Use of improved
hash functions (util.h) as an optimization

25 years agochanged some string params to references, as an optimization
tamches [Mon, 23 Jun 1997 17:11:37 +0000 (17:11 +0000)]
changed some string params to references, as an optimization

25 years agoinclude of instPoint is new
tamches [Mon, 23 Jun 1997 17:11:05 +0000 (17:11 +0000)]
include of instPoint is new

25 years agocheckReturnInstance takes a reference param; slight optimization
tamches [Mon, 23 Jun 1997 17:10:41 +0000 (17:10 +0000)]
checkReturnInstance takes a reference param; slight optimization

25 years agouse of dictionary find() as an optimization
tamches [Mon, 23 Jun 1997 17:10:15 +0000 (17:10 +0000)]
use of dictionary find() as an optimization

25 years agoenum opCode moved to ast.h, since it really has to do with ASTs.
tamches [Mon, 23 Jun 1997 17:09:54 +0000 (17:09 +0000)]
enum opCode moved to ast.h, since it really has to do with ASTs.

25 years agoclass instPoint moved to another file
tamches [Mon, 23 Jun 1997 17:06:48 +0000 (17:06 +0000)]
class instPoint moved to another file

25 years agoinclude of instPoint.h is new
tamches [Mon, 23 Jun 1997 17:06:29 +0000 (17:06 +0000)]
include of instPoint.h is new

25 years agoopCode moved into this file
tamches [Mon, 23 Jun 1997 17:06:09 +0000 (17:06 +0000)]
opCode moved into this file

25 years agoinstPointType moved to another file
tamches [Mon, 23 Jun 1997 17:05:44 +0000 (17:05 +0000)]
instPointType moved to another file

25 years agoslight changes to #include
tamches [Mon, 23 Jun 1997 17:05:07 +0000 (17:05 +0000)]
slight changes to #include

25 years agoused dictionary find() to achieve some speedup
tamches [Mon, 23 Jun 1997 17:04:36 +0000 (17:04 +0000)]
used dictionary find() to achieve some speedup

25 years agoremoved unnecessary OBJS
tamches [Mon, 23 Jun 1997 17:01:38 +0000 (17:01 +0000)]
removed unnecessary OBJS

25 years agoMinor change to adjust to aix.C not changing the leading "." of function names
ssuen [Thu, 19 Jun 1997 21:45:16 +0000 (21:45 +0000)]
Minor change to adjust to aix.C not changing the leading "." of function names
to "_" but instead just skipping the leading "."

25 years agoChanging the leading "." in function names to "_" was causing problems, so
ssuen [Thu, 19 Jun 1997 21:43:30 +0000 (21:43 +0000)]
Changing the leading "." in function names to "_" was causing problems, so
now we just skip the leading "."

25 years agoChanging "Visi" button to the place where it was before, but as a button
naim [Tue, 17 Jun 1997 20:51:41 +0000 (20:51 +0000)]
Changing "Visi" button to the place where it was before, but as a button
instead of as a menu - naim

25 years agoAdded support to solaris platforms to find the target of call instructions that
newhall [Tue, 17 Jun 1997 20:11:24 +0000 (20:11 +0000)]
Added support to solaris platforms to find the target of call instructions that
are in dynamic executables and shared objects and that are bound after startup
by the runtime linker (delayed binding).
Added process methods: findpdFunctionIn, hasBeenBound, findCallee

25 years ago*** empty log message ***
newhall [Tue, 17 Jun 1997 19:38:56 +0000 (19:38 +0000)]
*** empty log message ***

25 years agowe are no longer removing leading underscore from function names in
newhall [Tue, 17 Jun 1997 19:37:35 +0000 (19:37 +0000)]
we are no longer removing leading underscore from function names in
image::defineFunction

25 years agoadded Object.C
mjrg [Mon, 16 Jun 1997 22:09:39 +0000 (22:09 +0000)]
added Object.C

25 years agoFixed the problem of doing `delete this' with the following (original) line
ssuen [Mon, 16 Jun 1997 22:09:07 +0000 (22:09 +0000)]
Fixed the problem of doing `delete this' with the following (original) line
in function metricDefinitionNode::removeThisInstance
  aggregators[u]->removeFromAggregate(this);

25 years agoAdded `int deleteComp = 1' to end of argument list for function
ssuen [Mon, 16 Jun 1997 22:07:15 +0000 (22:07 +0000)]
Added `int deleteComp = 1' to end of argument list for function
  metricDefinitionNode::removeFromAggregate
to control whether or not to `delete' the `comp' argument.

25 years agochanged a delete to free() to fix a purify FMM hit
tamches [Mon, 16 Jun 1997 18:46:14 +0000 (18:46 +0000)]
changed a delete to free() to fix a purify FMM hit

25 years agodelete rpcBuffers[j]; to remove a memory leak
tamches [Mon, 16 Jun 1997 18:45:31 +0000 (18:45 +0000)]
delete rpcBuffers[j];   to remove a memory leak