dyninst.git
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

25 years agoAdded comments to checkAndInstallInstrumentation()
tamches [Mon, 16 Jun 1997 18:11:10 +0000 (18:11 +0000)]
Added comments to checkAndInstallInstrumentation()

25 years agoChanged iPgetFunction and iPgetCallee to return const function_base *
ssuen [Sun, 15 Jun 1997 19:19:42 +0000 (19:19 +0000)]
Changed iPgetFunction and iPgetCallee to return const function_base *

25 years agoadded support for parsing relocation entries and procedure_linkage_table
newhall [Sun, 15 Jun 1997 18:38:50 +0000 (18:38 +0000)]
added support for parsing relocation entries and procedure_linkage_table
entries from elf file format dynamic executables and shared objects

25 years agoadded support for parsing relocation entries and procedure_linkage_table
newhall [Sun, 15 Jun 1997 18:37:54 +0000 (18:37 +0000)]
added support for parsing relocation entries and procedure_linkage_table
entries from elf file format dynamic executables and shared objects
added Object.C

25 years agoIncluded following new public access functions in class instPoint.
ssuen [Sun, 15 Jun 1997 00:02:41 +0000 (00:02 +0000)]
Included following new public access functions in class instPoint.

        function_base *iPgetFunction() const { ... }
        function_base *iPgetCallee()   const { ... }
        const image   *iPgetOwner()    const { ... }
        Address        iPgetAddress()  const { ... }

25 years agoAdded following standard definitions to public section of class instPoint
ssuen [Sat, 14 Jun 1997 21:23:22 +0000 (21:23 +0000)]
Added following standard definitions to public section of class instPoint

  function_base *iPgetFunction() const { ... }
  function_base *iPgetCallee()   const { ... }
  const image   *iPgetOwner()    const { ... }
  Address        iPgetAddress()  const { ... }

25 years agoMoved these variables back into the private section of class instPoint
ssuen [Sat, 14 Jun 1997 18:37:32 +0000 (18:37 +0000)]
Moved these variables back into the private section of class instPoint
  Address addr_;
  pd_Function *func_;
  pd_Function *callee_;

25 years agoMoved class instPoint from inst-x86.C to inst-x86.h and added/moved the following
ssuen [Sat, 14 Jun 1997 18:26:26 +0000 (18:26 +0000)]
Moved class instPoint from inst-x86.C to inst-x86.h and added/moved the following
standard definitions to the public section

  Address addr_;
  pd_Function *func_;
  pd_Function *callee_;

  function_base *iPgetFunction() const { ... }
  function_base *iPgetCallee()   const { ... }
  const image   *iPgetOwner()    const { ... }
  Address        iPgetAddress()  const { ... }

25 years agofixing purify error
newhall [Wed, 11 Jun 1997 22:34:33 +0000 (22:34 +0000)]
fixing purify error

25 years agoFixes the problem of not being able to find the "main" function when another
ssuen [Wed, 11 Jun 1997 21:28:29 +0000 (21:28 +0000)]
Fixes the problem of not being able to find the "main" function when another
function listed earlier in the symbol table has the name function address
as the "main" function.

25 years agoadded dependency for target
mjrg [Wed, 11 Jun 1997 18:32:05 +0000 (18:32 +0000)]
added dependency for target

25 years agoSimple script for compiling on NT
mjrg [Wed, 11 Jun 1997 17:27:26 +0000 (17:27 +0000)]
Simple script for compiling on NT

25 years agoremoved send_funcs send_no_funcs
newhall [Sat, 7 Jun 1997 21:01:58 +0000 (21:01 +0000)]
removed send_funcs send_no_funcs

25 years agoreplaced exclude_func and exclude_lib with exclude_node
newhall [Sat, 7 Jun 1997 21:00:19 +0000 (21:00 +0000)]
replaced exclude_func and exclude_lib with exclude_node

25 years agoAdded option for manual daemon start-up
mjrg [Fri, 6 Jun 1997 22:02:32 +0000 (22:02 +0000)]
Added option for manual daemon start-up

25 years agoadded option for manual daemon start-up
mjrg [Fri, 6 Jun 1997 22:01:38 +0000 (22:01 +0000)]
added option for manual daemon start-up

25 years agoadded sharedobject.obj
mjrg [Fri, 6 Jun 1997 19:09:46 +0000 (19:09 +0000)]
added sharedobject.obj

25 years agoChanged checkCallPoints to keep calls to shared object functions in the
mjrg [Fri, 6 Jun 1997 18:27:15 +0000 (18:27 +0000)]
Changed checkCallPoints to keep calls to shared object functions in the
list of calls for a function

25 years agoFixing assertion failure - naim
naim [Fri, 6 Jun 1997 18:17:35 +0000 (18:17 +0000)]
Fixing assertion failure - naim

25 years agoCleaning up dataReqNodes for certain cases of deletion of metricDefinitionNodes
naim [Thu, 5 Jun 1997 18:03:58 +0000 (18:03 +0000)]
Cleaning up dataReqNodes for certain cases of deletion of metricDefinitionNodes
- naim

25 years agoComplete fix to my previous commit - naim
naim [Thu, 5 Jun 1997 14:50:36 +0000 (14:50 +0000)]
Complete fix to my previous commit - naim

25 years agoadded send_funcs and send_no_funcs
newhall [Thu, 5 Jun 1997 04:32:45 +0000 (04:32 +0000)]
added send_funcs and send_no_funcs

25 years agoadded exclude_func mdl option to exclude shared object functions
newhall [Thu, 5 Jun 1997 04:29:43 +0000 (04:29 +0000)]
added exclude_func mdl option to exclude shared object functions

25 years agochanged exclude_lib to mean shared object is not instrumentable
newhall [Thu, 5 Jun 1997 04:27:04 +0000 (04:27 +0000)]
changed exclude_lib to mean shared object is not instrumentable
added exclude_func mdl option to exclude shared object functions

25 years agoRemoving warning message - naim
naim [Wed, 4 Jun 1997 21:22:24 +0000 (21:22 +0000)]
Removing warning message - naim

25 years agoChanging "delete mn" by "mn->disable()" to really delete dataReqNodes
naim [Wed, 4 Jun 1997 20:42:41 +0000 (20:42 +0000)]
Changing "delete mn" by "mn->disable()" to really delete dataReqNodes
associated with that metricDefinitionNode - naim

25 years agochange a usage of delete to delete [] (purify hit)
tamches [Wed, 4 Jun 1997 17:37:02 +0000 (17:37 +0000)]
change a usage of delete to delete [] (purify hit)

25 years agoRemoving debugging info - naim
naim [Wed, 4 Jun 1997 13:24:24 +0000 (13:24 +0000)]
Removing debugging info - naim

25 years agosmall change to data file headers
karavan [Tue, 3 Jun 1997 15:35:04 +0000 (15:35 +0000)]
small change to data file headers

25 years agocomplete file open error handling and remove debugging prints
karavan [Tue, 3 Jun 1997 15:34:51 +0000 (15:34 +0000)]
complete file open error handling and remove debugging prints

25 years agosmall cleanup to handle new button size
karavan [Tue, 3 Jun 1997 15:33:31 +0000 (15:33 +0000)]
small cleanup to handle new button size

25 years agoupdate paradyn version number
karavan [Tue, 3 Jun 1997 15:33:08 +0000 (15:33 +0000)]
update paradyn version number

25 years agonew functionality: if directory not found, create it
karavan [Tue, 3 Jun 1997 15:32:48 +0000 (15:32 +0000)]
new functionality: if directory not found, create it

25 years agoRemoving cm5d from source code - naim
naim [Tue, 3 Jun 1997 13:50:49 +0000 (13:50 +0000)]
Removing cm5d from source code - naim

25 years agochanged visi from menu to button.
karavan [Mon, 2 Jun 1997 19:43:45 +0000 (19:43 +0000)]
changed visi from menu to button.
eliminated uimpd drawStartVisiMenu command