US5946486A - Apparatus and method for tracing entries to or exits from a dynamic link library - Google Patents

Apparatus and method for tracing entries to or exits from a dynamic link library Download PDF

Info

Publication number
US5946486A
US5946486A US08763136 US76313696A US5946486A US 5946486 A US5946486 A US 5946486A US 08763136 US08763136 US 08763136 US 76313696 A US76313696 A US 76313696A US 5946486 A US5946486 A US 5946486A
Authority
US
Grant status
Grant
Patent type
Prior art keywords
software module
exit
entry
return address
recited
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
US08763136
Inventor
Raymond Paul Pekowski
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis

Abstract

An apparatus and method for tracing events occurring upon entries to or exits from a dynamic link library (DLL) without accessing or modifying the source code of the DLL is disclosed. The method includes generating a shadow dynamic link library which intercepts calls from a calling application program executable.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

APPARATUS AND METHOD FOR DEMAND LOAD ANALYSIS, Ser. No. 08/763,135, incorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates in general to information handling systems and more particularly to an apparatus and method for tracing entries to or exits from a software module utilized in a computer program. Specifically, the present invention relates to an apparatus and method for tracing entries to or exits from a dynamic link library (DLL).

BACKGROUND OF THE INVENTION

A computer application program usually includes a number of separate routines. Typically, the routines include a main program and several subsidiary routines referred to as objects, modules, or resources. Execution of the application program begins with the main program with calls being made to the subsidiary routines. To operate as a complete program, prior to execution these routines are linked together using a linker such as 386 link. The linker copies each of the routines into an executable file for the application program. The linker also provides each of the routines with information identifying the locations of other routines so that the routines can access each other. The executable file can then be loaded into the memory of a computer such that the application program can be executed by the computer according to the instructions in the routines.

A dynamic link library (DLL) is an executable module or routine containing services that application programs can call to perform useful tasks, e.g., directory searches, login commands, searching functions, character string manipulations, etc. DLLs exist primarily to provide services to application programs. These libraries play an important role in operating systems such as Windows and OS/2, which use them to make their services and resources available to application programs.

DLLs are similar to run-time libraries. The main difference between DLLs and run-time libraries is that DLLs are linked with the application program at run time, that is, when the computer is executing the application program, not when the application program files are linked with the linker. Linking a library with an application program at run time is referred to as dynamic linking; linking a library with an application program by using the linker is referred to as static linking. The discussion below focuses on the OS/2 operating system, but those of ordinary skill in the art will understand that the following discussion applies equally to other operating systems, such as Windows, which utilize DLLs.

To access a DLL at run time, the application program must be able to obtain information indicating where to find the DLL. One method provided by operating systems utilizing DLLs is to use an import library, or reference library, which contains information regarding where to locate the DLL at run time. During linking, the linker uses statically linked reference libraries to resolve references to external services. As noted above, when an application program desires a service from a static link library, the linker copies the code for that service into the application program's executable file. When the application program desires a service run from a DLL, however, the linker does not copy any code from the DLL. Instead, the linker searches all defined import or reference libraries to find one that contains the necessary information regarding location of the DLL. The linker copies the necessary information from the reference or import library to create a dynamic link between the executing application program and the DLL.

Performance analysis of a large software system with many DLLs can be very difficult. Many kinds of information are needed for the OS/2 operating system (OS/2 is a trademark of International Business Machines Corporation). A dekko hook/trace tool provides some, but not all of the needed information. The dekko hook/trace tool provides timing information on both operating system events as well as user-written events. The dekko hook/trace tool searches the syntax of a C source file for the entry and exits of routines and automatically inserts dekko hooks. One of the problems with the dekko hook/trace tool, and the suite of utilities that thus far have been written for it, is a mechanism to easily and automatically apply dekko hooks to new code has not been provided.

Other non-dekko based performance tools have tried to solve the automatic and ease of use hooking problem, but each is lacking in some respect. One particular problem is that prior art tools, including dekko, require some level of access to the source files used to build the executable of interest. Another problem is the processing overhead which prior art tools introduce in the software being analyzed. For example, the dekko hook/trace tool requires access to source code so it can be temporarily modified and recompiled. The IBMCPP Performance Analysis Tool requires a recompile of the source code with a compiler switch indicating to enable tracing. The IBMCPP Performance Analysis Tool is a tool which automatically hooks the entry and exits of routines and uses its own private trace log. MTrace is an instruction level trace tool which counts the number of instructions executed and accounts them to routine names. The MTrace tool does not require access to the source code, but does require a symbol table generated when the executable of interest was built and thus cannot be applied to off-the-shelf products. It is also difficult to set up and generates too much detail for some long-running scenarios. It does not provide real timing information, just instruction counts, and introduces a large amount of overhead. Each tool, dekko, IBMCPP, and MTrace, provide tracing of entries and exits of routines but exhibit common problems as identified above.

What is needed is a source code independent solution to the problem of automatic and easy hooking of new code, specifically addressing the hooking of entry and exit points of DLLs. What is also needed is a source code independent solution which does not introduce substantial processing overhead to the code being hooked.

The present invention may be utilized to perform analysis of DLL execution such as set forth in U.S. patent application Ser. No. 08/763,135, of common assignee herewith, to provide software routine timing information, to provide useful debugging information such as the status of certain parameters upon entry to or exit from software routines or to provide other similar information for program execution analysis.

SUMMARY OF THE INVENTION

Accordingly, the present invention provides a method and apparatus for automatically tracing new code in a software module without accessing or modifying the source code of the software module.

The present invention provides a method, implemented in an information handling system, for tracing events occurring upon entries to or exits from a named software module. The method comprises the steps of providing a software module having a name; generating a shadow software module having the same name as the software module for tracing events occurring upon entry to or exit from the software module and renaming the software module, thereby avoiding modifications to the software module.

The present invention also includes a method, implemented in an information handling system, for generating a shadow software module for tracing events occurring upon entry to and exit from a software module. The method comprises the steps of generating program code for an entry hook routine for performing a common entry processing function; and generating program code for an exit hook routine for performing a common exit processing function.

The present invention also includes a method, implemented in an information handling system, for generating a shadow software module for tracing events occurring upon entry to or exit from a named software module. The method comprises the steps of inputting the named software module; renaming the software module; generating a shadow software module having the same name as the software module by performing the following steps: generating program code for an entry hook routine for performing a common entry processing function; generating program code for an exit hook routine for performing a common exit processing function; generating a return address table having addressable entries for storing the address of a calling module and hook value for the called entry point; and generating a return address function table having an exit function for each entry in the return address table. The method also includes the step of outputting the shadow software module.

The present invention also includes a computer program product which implements the methods set forth above in a program of instructions stored on a program storage device readable by a computer system.

The present invention also provides an information handling system comprising at least one processor, memory operably associated with the processor, and an application program stored in the memory, wherein the application program includes a software module. The information handling system is characterized by a shadow software module stored in the memory for tracing events occurring upon entries to or exits from the software module without modifying the software module.

The main advantage of the present invention is providing tracing of entries to or exits from a software module without modification to the software module.

Another advantage of the present invention is providing an apparatus and method that is a tracing tool which automatically generates a shadow software module for tracing events occurring upon entry to or exit from a software module without modifying any code to the software module and without adding substantial processing overhead to the software module.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating an application program executable which utilizes a dynamic link library wherein no tracing is performed according to the present invention.

FIG. 2 is an information handling system embodying the present invention.

FIG. 3 is a block diagram illustrating an application program executable which utilizes a dynamic link library and tracing according to the present invention.

FIGS. 4A-4I illustrate a detailed flow chart of the present invention.

FIGS. 5A-5F illustrate system or program stack and return address table contents according to the present invention.

FIG. 6 illustrates an example of the contents of a calling application program executable, a shadow dynamic link library, and a target dynamic link library according to the present invention.

DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT OF THE INVENTION

In the following description, for purposes of explanation, specific program procedures, APIs, and configurations are set forth to provide a thorough understanding of the present invention. The preferred embodiment described herein is implemented with an OS/2 operating system created by IBM (OS/2 and IBM are registered trademarks of International Business Machines Corporation). However, it will be apparent to one skilled in the art that the present invention may be practiced without the specific details and may be implemented in various computer systems utilizing various operating systems and in various configurations or makes or models of tightly coupled processors or in various configurations of loosely coupled multiprocessor systems. The procedural descriptions and representations which follow are the means used by those skilled in the art to convey the substance of their work to others skilled in the art.

FIG. 1 illustrates an application executable 50 containing a call to a target DLL 60. After target DLL 60 completes its service, it then returns to application executable 50.

The detailed descriptions which follow are presented in terms of program procedures executed on or in an information handling system generically referred to as a computer or a network of computers. A representative hardware environment for practicing the present invention is depicted in FIG. 2, which illustrates a typical hardware configuration of a computer or information handling system in accordance with the subject invention, having at least one central processing unit (CPU) 10. CPU 10 is interconnected via system bus 12 to random access memory (RAM) 14, read only memory (ROM) 16, and input/output (I/O) adapter 18 for connecting peripheral devices such as disc units 20 and tape drives 40 to bus 12, user interface adapter 22 for connecting keyboard 24, mouse 26 having button 17, speaker 28, microphone 32, and/or other user interfaced devices such as a touch screen device (not shown) to bus 12, communication adapter 34 for connecting the information handling system to a data processing network, and display adapter 36 for connecting bus 12 to display device 38.

Referring now to FIG. 3, reference numerals which are like or similar to the reference numerals of FIG. 1 are intended to indicate like or similar steps. FIG. 3 illustrates a method and apparatus which is implemented in an information handling system having an operating system for tracing events occurring upon entries to or exits from a software module; specifically, a DLL. According to the present invention, a shadow DLL is generated in step 155. The shadow DLL is generated by an apparatus or method according to the present invention and has the same name as the original target DLL from step 160. The target DLL in step 160 is renamed so that the target DLL and the DLL do not conflict. In this manner, the shadow DLL acts as an interceptor of all calls being made to the target DLL, and thus each call to the target DLL and return from the target DLL passes through the shadow DLL. The shadow DLL can thereby trace events occurring upon entries to or exits from the target DLL. The shadow DLL is generated or built from information that is taken from the target DLL's linear EXE header. The format of the linear EXE header is documented in IBM OS/2 16/32-bit module format (OMF) and linear executable module (LX). Thus, the first step in generating or building the shadow DLL is finding all entry points into the dynamic link library as listed in the EXE header. For each DLL entry point listed in the EXE header, the following information is extracted: name of the DLL, the ordinal of the DLL, and the type of the DLL, that is whether it is 16-bit or 32-bit. The name, ordinal, and type are used to automatically generate assembly language routines which act as the resolution point for calls to the DLL by a calling executable from an application program. The details of building or generating a shadow DLL will be explained further in connection with the description of FIGS. 4A-4I. It will be appreciated that, although FIGS. 4A-4I specifically describe the method of building or generating a shadow DLL, the present invention is equally applicable to software modules other than DLLs. The assembly language routines are assembled into object code and then packaged together along with some initialization routines to produce a shadow DLL to perform program execution code tracing.

Referring now to FIGS. 4A-4I, a flowchart illustrating the present invention is shown. The process starts in step 200 as illustrated in FIG. 4A. The process first renames the original DLL, and then it creates a shadow DLL with the same name as the original DLL. Externally, the shadow DLL looks just like the original or target DLL. It has the same DLL name and the same name and number of external interfaces or exports as the original. The original DLL is renamed so that the shadow DLL can be given its name. All references to the original DLL get resolved to the shadow DLL. When called, the shadow DLL performs the entry hook processing and performs the call on the original DLL. When the original DLL returns from the call, the shadow DLL performs the exit hook processing and returns to the original caller.

Renaming the original DLL requires both the external and internal DLL names to be changed. The DLLRNANE tool from the IBMCPP compiler can be used, but does not work for lower case internal names. The present invention utilizes a similar utility to rename DLLs with both upper and lower case internal names. The OS/2 executable module format makes it difficult to rename a DLL to a name with a different length; therefore, in OS/2, the present invention uses a new name with the same length as the original. Name conflicts must be avoided. The name selection and conflict avoidance algorithm is illustrated in FIG. 4A. In step 210, the last character in the original DLL name is replaced with a tilde () character. In step 220, the process determines whether there is a naming conflict between the renamed target DLL and any other software modules utilized in or by the application program executable. If no conflict exists, the process proceeds to step 230 wherein the target DLL is renamed to the non-conflicting name. If a conflict does exist, the process proceeds to step 224 wherein the character replaced with the tilde is restored. The process proceeds from step 224 to step 226 wherein the next character in the DLL name is replaced with a tilde. After the first iteration, the second to last character is changed, and the process proceeds in a similar manner until the last iteration wherein the first character of the name is changed. The process proceeds from step 226 and loops back to step 220 where it is determined whether a conflict exists. If there is still a name conflict after each character of the DLL name has been replaced with the tilde character, other special characters, like pound sign (#) and underscore (--) characters may be utilized in a similar fashion. The process then proceeds to step 240 wherein a shadow DLL with the same name as the original DLL and with options specified on a list of DLLs to be traced or hooked, is created in step 240. The process then proceeds to step 250 where it is determined whether there are any more DLLs to be hooked or traced. If there are more DLLs to be hooked or traced, the process returns to step 210. If there are no more DLLs to be hooked or traced, the process ends in step 260.

Referring now to FIG. 4B, step 240 includes the following substeps. In step 270, it is determined whether a beginning hook value is specified. If a beginning hook value is specified, the process proceeds to step 280. If a beginning hook value is not specified, the process proceeds to step 275. In step 275, it is determined whether a beginning hook value file exists. If no beginning hook value file exists, the process ends in step 276 with an error. If the beginning hook value file does exist, the process proceeds to step 277 wherein the beginning hook value file is read to find the next hook value to use. The process then proceeds to step 280. In step 280, a determination is made to determine if an entry point only file exists. If an entry point only file does not exist, the process proceeds to step 290. If an entry point only file does exist, the process proceeds to step 285. In step 285, the entry point only file is read, and a list of entry points to be hooked on entry only is created. The entry point only file consists of DLL name and entry point name pairs. Only the pairs with a matching DLL name to the DLL being hooked have their entry points added to the list. A pair with an asterisk for the DLL name indicates it matches any DLL being hooked. After completing step 285, the process proceeds to step 290.

Referring now to FIG. 4C, the process for listing the entry points of the target DLL and creating the shadow DLL is illustrated starting with step 290. In step 300, a file containing the target DLL to be hooked is opened. In step 310, for each exported symbol of the target DLL, it is determined whether the export is a data export. If the export is not a data export, the process proceeds to step 320 where the name, type, and ordinal for the entry point is obtained and added to the list of entry points. If the export is a data export, the process proceeds to step 325 where the name and ordinal pair is saved in a list of data exports. After completing either step 320 or step 325, the process proceeds to step 330 where a determination is made whether there are any more exported symbols. If there are more exported symbols, the process returns to step 310. If there are no more exported symbols, the process proceeds to step 335 wherein a hook to text mapping file initially containing a return address table overrun hook information is created. The process then proceeds to step 340 where a determination is made whether any 32-bit entry points exist in the target DLL to be hooked. If the target DLL contains any 32-bit entry points, the process proceeds to step 345. In step 350, a determination is made whether there are any 16-bit entry points in the target DLL. If there are any 16-bit entry points in the target DLL, the process proceeds to step 345. If there are no 16-bit entry points in the target DLL, the process proceeds to step 355. In step 355, a linker definition file which identifies what symbols are imported and exported is generated. The process then proceeds to step 360 wherein the shadow DLL executable code is created by linking together the created program objects and the linker definition file from step 355.

From step 345, the process proceeds to step 365 wherein a determination is made whether an entry only option is specified (see FIG. 4D). If the entry only option is not specified, the process proceeds to step 370. In step 370, run time data for the return address table data is generated. This includes the return address table itself, a lock variable for serializing access to it, and a pointer to the next entry from which to attempt allocations. The process then proceeds to step 375 wherein run time code for the return address function table is generated. This is a table of functions having the same number of entries as the return address table and, therefore, a one-to-one correspondence with it. Each function is substantially similar in that it consists of a call to a common exit processing function. The difference is that each function is at a different memory location and thus results in a different return address on the stack when the common exit processing function is called. The common exit function makes use of the return address to correlate the return address function making the call to the corresponding return address table containing the information about the call being returned from. After completing step 375, the process proceeds to step 380. If the entry only option is not specified in step 365, the process proceeds to step 380, thereby skipping steps 370 and 375. In step 380, run time code for a common entry processing function is generated. The process proceeds from step 380 to step 385 wherein run time code for a common exit processing function is generated. In step 390, run time code for each entry point is generated. The process then proceeds to step 400.

Referring to FIG. 4E, the substeps of step 390 are illustrated. In step 410, code for the entry point is generated. The code, preferably written in assembly language, is a single jump to the common entry point processing code passing four parameters: the address of the entry point in the target DLL, the hook value, a flag indicating whether this is to be hooked on entry only, and the address of a first time called flag. The entry only designation is specified as an option, either for the entire DLL or for a specific set of entry points. After completing step 410, the process proceeds to step 415 wherein the hook to text mapping file is updated by adding an entry containing the DLL name, the current entry point name and its hook value. Also, information indicating that the hook data on entry is the return address of the caller and on exit is the return code of the called function is added. In step 420, the hook value variable is incremented. In step 430, a determination is made whether there are any more entry points. If there are more entry points, the process returns to step 410. If there are no more entry points, the process proceeds to step 435 wherein the next hook value variable is logged to a file referred to as the beginning hook value file so that subsequent hooked DLLs can start using hook values at the point where this one left off. The process then proceeds to step 440 where the substeps of process 390 are complete.

Referring now to FIG. 4F, the subprocesses of step 355 will be described. In step 445, a determination is made whether there are any data exports. If there are data exports as determined in step 445, the process proceeds to step 450 wherein linkage definition statements are generated to forward reference the data export. The statements define the export name as a symbol exported by the shadow DLL and as a symbol the shadow DLL imports from the target DLL. This makes the shadow DLL appear to export the data but, in fact, at load time the operating system loader discovers the forward reference and resolves the symbol directly to the target DLL. The list of data exports contains the information needed to generate the linkage definition statements. This includes the data's symbolic name and ordinal and the name of the target DLL. The process then proceeds to step 460 where a determination is made whether there are any more data exports. If there are any more data exports, the process returns to step 450. If there are no data exports, as determined in step 445, the process proceeds directly to step 465 wherein linkage definition statements to define the entry point as exported from the shadow DLL and to cause those references to the entry point that are internal to the shadow DLL to be resolved to the target DLL are generated. This differs from forward. referencing in that it resolves the reference to the entry point to code within the shadow DLL as opposed to the target DLL. The shadow DLL then has control to perform any processing and pass control on to the target DLL when desired. The list of entry points contains the information needed to generate the linkage definition statements. This includes the entry point's name, ordinal value and the name of the target DLL. After completing step 465, the process proceeds to step 470 where a determination is made whether there are any more entry points in the list of entry points. If there are any more entry points, the process returns to step 465. If there are no more entry points, the process proceeds to step 475 wherein the substeps of step 355 are complete and a linker definition file is ready for use.

Referring now to FIG. 4G, the substeps of step 380 will be described. In step 480, a determination is made whether a first time called parameter is on. If the first time called parameter is on, the process proceeds to step 485. In step 485, any required initialization is performed. For example, a tracing logging facility to be used is initialized. After initialization is completed in step 485, the process proceeds to step 490 where the first time called parameter is turned off wherein the process then proceeds to step 495. If it is determined that the first-time-called parameter is off in step 480, the process proceeds directly to step 495. In step 495, a determination is made whether the entry-only parameter is on. If the entry-only parameter is not on as determined in step 495, the process proceeds to step 500 wherein an element from the return address table is allocated. After completion of step 500, the process proceeds to step 505. If the entry-only parameter is on, the process proceeds directly to step 505 bypassing step 500. In step 505, an entry hook event is logged to the trace logging facility, specifically the hook value passed as an input parameter to this function, and the return address as found on the system or program stack is logged to the trace logging facility. The process then proceeds to step 510 wherein all registers are restored to their values on input to this function. The process then jumps to the corresponding entry point in the target DLL, the address of which was passed as a parameter to this function. The substeps of step 380 then end in step 515.

Referring now to FIG. 4H, the process for allocating a return address table element in step 500 will be further described with references to the sub-method steps. In step 520, a per process return address table lock is locked. In step 525, an element from the return address table is allocated. The algorithm is a simple linear search for the next unallocated element. The search starts at the next element after the last allocated element and proceeds in a circular fashion, until either an unallocated element is found or the whole table has been examined. By circular fashion, it is meant that the search wraps to the beginning of the table when the end is reached and an unallocated element is yet to be found, and there are elements yet to be examined. In step 530, the per process return address table lock is unlocked. In step 535, a determination is made whether a return address table element was allocated. If a return address table element was not allocated, the process proceeds to step 540 where a return address table overrun hook event is logged to the trace logging facility. The return address of the caller is left unchanged on the program or system stack, causing only the entry of the call to be hooked. After completion of step 540, the process proceeds to step 560 where the process for allocating a return address table element ends. If an element was allocated as determined in step 535, the process proceeds to step 542 where the following things are saved in the allocated return address table element: the return address of the caller as found on the program or system stack, and the hook value as passed on input to this function. After completion of step 542, the process proceeds to step 545 wherein the return address table element is correlated with the corresponding return function table element. The return address on the program or system stack is set to this return function table element. After completion of step 545, the process proceeds to step 560 where the process for allocating a return address table element is completed.

Referring now to FIG. 4I, the substeps of the process in step 385 for generating run time code for the common exit processing function will be described. In step 565, a determination is made which return function from the return function table called into the common exit processing code. The address of the calling return function is on the program or system stack. In step 570, the return function table element is correlated with the corresponding return address table element. The hook value to use and the original caller's return address is obtained from the return address table element. In step 575, an exit hook event is logged to the trace logging facility, specifically the hook value obtained from the previous step 570 and the exit code from the exiting entry point is logged to the trace locking facility. The process then proceeds to step 580 where all registers are restored to their original values on input to this function. The process jumps to the return address obtained from the return address table. After completion of step 580, the process for common exit processing is completed in step 585.

Referring now to FIGS. 5A-5E, the program or system stack and return address table contents will be described at various operating points of the method and apparatus of the present invention. At the shadow DLL's entry point function, the stack contains the caller's return address 600 and the caller's parameter 610 pushed onto the stack by the caller (see FIG. 5A). At the shadow DLL's common entry function, the stack contains the caller's return address 600, the caller's parameters 610, the first time called flag 602, entry only flag 604, hook value 606, and target DLL's entry point address 608. Whereas the caller's return address 600 and caller's parameters 610 are pushed by the caller onto the stack, the first time called flag 602, entry only flag 604, hook value 606, and target DLL's entry point address 608 are pushed by the entry point function onto the stack (see FIG. 5B). At the target DLL's entry point function, the stack contains the caller's parameters 610 pushed onto the stack by the caller and the return address 630 of element allocated from the return function table replaced by the common entry function (see FIG. 5C). The return address table contains the caller's return address 600 and the hook value 606 for entry point allocated by the common entry function to save caller's return address. There exists an implicit correlation between caller's return address 600 and hook value 606 in the return address table and the return address 630 of element allocated from the return function table in the stack. At the shadow DLL's return function allocated for this entry point, the stack contains the caller's parameters 610 pushed by the caller onto the stack. The return address table contains the caller's return address 600 and the hook value 606 allocated by the common entry function to save the caller's return address. Note that there is an implicit correlation between the caller's return address 600 and hook value 606 in the return address table and the DLL's return function allocated for this entry point (see FIG. 5D). At the shadow DLL's common exit function, the stack contains the caller's parameters 610 pushed onto the stack by the caller and the address 650 of the shadow DLL's return function which was allocated for this entry point pushed onto the stack by the shadow DLL's return function allocated for this entry point. The return address table contains the caller's return address 600 and the hook value 606 allocated by the common entry function to save the caller's return address. Again, there is an implicit correlation between caller's return address 600 and hook value 606 and the address 650 of the shadow DLL return function which was allocated for this entry point (see FIG. 5E). At the return to the original caller, the stack contains the caller's parameters 610 pushed onto the stack by the caller. The return address table is freed by the common exit function (see FIG. 5F).

Referring now to FIG. 6, an example of the contents of and operation of the apparatus and method of the present invention will be described. Calling application executable program 700 contains a call to a specific entry point of a target DLL 710. The entry point call 705 contains references to call parameters 715. Call 705 to the entry point to target DLL 710 calls corresponding entry point function 720 in shadow DLL 725. Entry point 720 contains programming code which contains the instruction of jumping to common entry code 730 while passing the parameters of entry point address, hook value, entry only flag, and first time flag. Shadow DLL 725 contains entry point functions 735, 740, 745 for each entry point in the target DLL 710. After jumping to the common entry code 730, the common entry then jumps to target DLL 710 which then returns to exit function 750 in shadow DLL 725. It will be appreciated that there is no relationship between the entry point called and the return function table entry used. Simply, the next available return function is used. Exit function 750 contains a call to a common exit function 755. Shadow DLL 725 contains exit functions 760, 765, and 770, one for each entry in the return address table. Common exit function 755 returns to the calling application program executable 700.

Although the present invention and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit or scope of the invention as defined in the appended claims.

Claims (54)

What is claimed is:
1. A method implemented in an information handling system for tracing events occurring upon entries to or exits from a named software module, said method comprising the steps of:
providing a software module having a name;
generating a shadow software module having the same name as the software module for tracing events occurring upon entry to or exit from the software module; and
renaming the software module, thereby avoiding modifications to the software module.
2. The method, as recited in claim 1, wherein the step of generating a shadow software module comprises the steps of:
generating program code for an entry hook routine for performing a common entry processing function; and
generating program code for an exit hook routine for performing a common exit processing function.
3. The method, as recited in claim 2, wherein the common entry processing function includes the step of logging an entry hook event to a trace logging facility and wherein the common exit processing function includes the step of logging an exit event to the trace logging facility.
4. The method, as recited in claim 2, further comprising the steps of:
determining whether said software module contains any data exports; and
bypassing, for each data export, the entry and exit routines.
5. The method, as recited in claim 2, further comprising the step of generating program code for performing the following steps for each entry point of the software module:
jumping to the entry hook routine; and
passing parameters to the entry hook routine including information for indicating whether the exit hook routine will be performed.
6. The method, as recited in claim 2, further comprising the steps of:
generating a return address table having addressable entries; and
generating a return address function table having an exit function for each entry in the return address table.
7. The method, as recited in claim 6, further comprising the steps of:
determining whether the exit hook routine will be performed; and
if the exit hook routine will be performed, then allocating an entry from the return address table.
8. The method, as recited in claim 7, further comprising the steps of:
calling, from a caller, the name of the software module to call the shadow software module; and
storing the caller's return address on a stack.
9. The method, as recited in claim 8, further comprising the steps of:
removing the caller's return address from the stack;
storing the caller's return address in the allocated entry of the return address table; and
storing, in the stack, a return address of an exit function corresponding to the allocated entry.
10. The method, as recited in claim 9, further comprising the steps of:
returning, using the return address of the exit function in the stack, to the exit function corresponding to the allocated entry of the return address table;
calling, by the exit function, the exit hook routine;
storing the return address of the exit function in the stack;
retrieving the caller's return address from the allocated entry of the return address table corresponding to the exit function; and
returning to the caller.
11. The method, as recited in claim 1, wherein the step of renaming the software module comprises the steps of:
a) renaming the software module to a new name;
b) determining whether other software modules have the same name as the new name; and
c) repeating steps a) and b) until no other software modules have the same name as the new name.
12. The method, as recited in claim 1, wherein said software module and said shadow software module are dynamic link libraries.
13. The method, as recited in claim 1, wherein said software module and said shadow software module are object modules.
14. A method, implemented in an information handling system, for generating a shadow software module for tracing events occurring upon entry to or exit from a software module, said method comprising the steps of:
generating program code for an entry hook routine for performing a common entry processing function; and
generating program code for an exit hook routine for performing a common exit processing function.
15. The method, as recited in claim 14, wherein the common entry processing function includes the step of logging an entry hook event to a trace logging facility and wherein the common exit processing function includes the step of logging an exit event to the trace logging facility.
16. The method, as recited in claim 14, further comprising the steps of:
determining whether said software module contains any data exports; and
bypassing, for each data export, the entry and exit routines.
17. The method, as recited in claim 14, further comprising the step of generating program code for performing the following steps for each entry point of the software module:
jumping to the entry hook routine; and
passing parameters to the entry hook routine including information for indicating whether the exit hook routine will be performed.
18. The method, as recited in claim 14, further comprising the steps of:
generating a return address table having addressable entries; and
generating a return address function table having an exit function for each entry of the return address table.
19. The method, as recited in claim 18, further comprising the steps of:
determining whether the exit hook routine will be performed; and
if the exit hook routine will be performed, then allocating an entry from the return address table.
20. The method, as recited in claim 19, further comprising the steps of:
calling, from a caller, the name of the software module to call the shadow software module; and
storing the caller's return address on a stack.
21. The method, as recited in claim 20, further comprising the steps of:
removing the caller's return address from the stack;
storing the caller's return address in the allocated entry of the return address table; and
storing, in the stack, a return address of an exit function corresponding to the allocated entry.
22. The method, as recited in claim 21, further comprising the steps of:
returning, using the return address of the exit function in the stack, to the exit function corresponding to the allocated entry in the return address table;
calling, by the exit function, the exit hook routine;
storing the return address of the exit function in the stack;
retrieving the caller's return address from the allocated entry of the return address table corresponding to the exit function; and
returning to the caller.
23. The method, as recited in claim 14, wherein said software module and said shadow software module are dynamic link libraries.
24. The method, as recited in claim 14, wherein said software module and said shadow software module are object modules.
25. A computer program product, comprising:
a program storage device readable by a computer system tangibly embodying a program of instructions executable by said computer system, said program of instructions including:
a software module; and
a shadow software module for tracing events occurring upon entry to or exit from the software module.
26. The method, as recited in claim 25, wherein said software module and said shadow software module are dynamic link libraries.
27. The method, as recited in claim 25, wherein said software module and said shadow software module are object modules.
28. A computer program product, comprising:
a program storage device readable by a computer system tangibly embodying a program of instructions executable by said computer system, said program of instructions including:
a software module having a name;
means for generating a shadow software module having the same name as the software module for tracing events occurring upon entry to or exit from the software module; and
means for renaming the software module to thereby avoid modifications to the software module.
29. The computer program product as recited in claim 28, wherein said software module and said shadow software module are dynamic link libraries.
30. The computer program product, as recited in claim 28, wherein said software module and said shadow software module are object modules.
31. A computer program product, comprising:
a program storage device readable by a computer system tangibly embodying a program of instructions executable by said computer system to generate a shadow software module for tracing events occurring upon entry to or exit from a named software module, said program of instructions implementing the following method:
generating program code for an entry hook routine for performing a common entry processing function; and
generating program code for an exit hook routine for performing a common exit processing function.
32. The computer program product, as recited in claim 31, wherein the common entry processing function includes the step of logging an entry hook event to a trace logging facility and wherein the common exit processing function includes the step of logging an exit event to the trace logging facility.
33. The computer program product, as recited in claim 31, further including the steps of:
determining whether said software module contains any data exports; and
bypassing, for each data export, the entry and exit routines.
34. The computer program product, as recited in claim 31, further comprising the step of generating program code for performing the following steps for each entry point of the software module:
jumping to the entry hook routine; and
passing parameters to the entry hook routine including information for indicating whether the exit hook routine will be performed.
35. The computer program product, as recited in claim 31, further comprising the steps of:
generating a return address table having addressable entries; and
generating a return address function table having an exit function for each entry in the return address table.
36. The computer program product, as recited in claim 35, further comprising the steps of:
determining whether the exit hook routine will be performed; and
if the exit hook routine will be performed, then allocating an entry from the return address table.
37. The computer program product, as recited in claim 36, further comprising the steps of:
calling, from a caller, the name of the software module to call the shadow software module and storing the caller's return address on a stack.
38. The computer program product, as recited in claim 37, further comprising the steps of:
removing the caller's return address from the stack;
storing the caller's return address in the allocated entry of the return address table; and
storing, in the stack, the return address of an exit function corresponding to the allocated entry.
39. The computer program product, as recited in claim 38, further comprising the steps of:
returning, using the return address of the exit function in the stack, to the exit function corresponding to the allocated entry in the return address table;
calling, by the exit function, the exit hook routine;
storing the return address of the exit function in the stack;
retrieving the caller's return address from the allocated entry in the return address table corresponding to the exit function; and
returning to the caller.
40. The computer program product, as recited in claim 31, wherein said software module and said shadow software module are dynamic link libraries.
41. The computer program product, as recited in claim 31, wherein said software module and said shadow software module are object modules.
42. An information handling system, comprising:
at least one processor;
memory operably associated with said processor;
an application program stored in said memory, said application program including a software module; and
a shadow software module stored in said memory for tracing events occurring upon entries to or exits from said software module.
43. The information handling system, as recited in claim 42, wherein said shadow software module comprises:
an entry hook routine for performing a common entry processing function; and
an exit hook routine for performing a common exit processing function.
44. The information handling system, as recited in claim 43, wherein said common entry processing function includes means for logging an entry hook event to a trace logging facility, and said common exit processing function includes means for logging an exit hook event to said trace logging facility.
45. The information handling system, as recited in claim 43, further comprising:
means for determining whether said software module contains any data exports; and
means for bypassing, for each data export, said entry and exit routines.
46. The information handling system, as recited in claim 43, wherein said shadow software module further comprises:
a return address table having addressable entries; and
a return address function table having an exit function for each entry in the return address table.
47. The information handling system, as recited in claim 46, further comprising:
means for determining whether said exit hook routine will be performed; and
means for allocating an entry from said return address table if said exit hook routine will be performed.
48. The information handling system, as recited in claim 43, wherein said shadow software module comprises:
means for jumping, for each entry point of the software module, to said entry hook routine; and
means for passing information for indicating whether the exit hook routine will be performed to said entry hook routine.
49. The information handling system, as recited in claim 48, further comprising:
means for calling, from a caller, the name of said software module to thereby call said shadow software module; and
means for storing a return address corresponding to said caller on a stack.
50. The information handling system, as recited in claim 49, further comprising:
means for removing the caller's return address from the stack;
means for storing the caller's return address in the allocated entry of the return address table; and
means for storing, in the stack, a return address of an exit function corresponding to the allocated entry.
51. The information handling system, as recited in claim 50, further comprising:
means for returning, using the return address of the exit function in the stack, to the exit function corresponding to the allocated entry in the return address table;
means for calling, by the exit function, the exit hook routine;
means for storing the return address of the exit function in the stack;
means for retrieving the caller's return address from the allocated entry in the return address table corresponding to the exit function; and
means for returning to the caller.
52. The information handling system, as recited in claim 42, further comprising:
means for renaming the software module to a new name;
means for determining whether other software modules have the same name as the new name; and
means for renaming the software module until no other software modules have the same name as the new name.
53. The information handling system, as recited in claim 42, wherein said software module and said shadow software module are dynamic link libraries.
54. The information handling system, as recited in claim 42, wherein said software module and said shadow software module are object modules.
US08763136 1996-12-10 1996-12-10 Apparatus and method for tracing entries to or exits from a dynamic link library Expired - Fee Related US5946486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US08763136 US5946486A (en) 1996-12-10 1996-12-10 Apparatus and method for tracing entries to or exits from a dynamic link library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US08763136 US5946486A (en) 1996-12-10 1996-12-10 Apparatus and method for tracing entries to or exits from a dynamic link library

Publications (1)

Publication Number Publication Date
US5946486A true US5946486A (en) 1999-08-31

Family

ID=25066979

Family Applications (1)

Application Number Title Priority Date Filing Date
US08763136 Expired - Fee Related US5946486A (en) 1996-12-10 1996-12-10 Apparatus and method for tracing entries to or exits from a dynamic link library

Country Status (1)

Country Link
US (1) US5946486A (en)

Cited By (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6047124A (en) * 1997-10-31 2000-04-04 Sun Microsystems, Inc. System and method for tracing device drivers using a computer
US6081664A (en) * 1996-09-30 2000-06-27 Intel Corporation Method for monitoring a BIOS
US6161216A (en) * 1998-04-29 2000-12-12 Emc Corporation Source code debugging tool
US6216258B1 (en) * 1998-03-27 2001-04-10 Xilinx, Inc. FPGA modules parameterized by expressions
US6226786B1 (en) * 1996-12-24 2001-05-01 International Business Machines Corporation Minimizing debug information for global types in compiled languages
US6237129B1 (en) 1998-03-27 2001-05-22 Xilinx, Inc. Method for constraining circuit element positions in structured layouts
US6260182B1 (en) 1998-03-27 2001-07-10 Xilinx, Inc. Method for specifying routing in a logic module by direct module communication
US6292925B1 (en) 1998-03-27 2001-09-18 Xilinx, Inc. Context-sensitive self implementing modules
US6314470B1 (en) * 1997-07-25 2001-11-06 Hewlett Packard Company System and method for asynchronously accessing a graphics system for graphics application evaluation and control
US6389430B1 (en) * 1999-07-07 2002-05-14 Computer Associates Think, Inc. Real-time database object statistics collection
US6430732B1 (en) 1998-03-27 2002-08-06 Xilinx, Inc. Method for structured layout in a hardware description language
US6442752B1 (en) * 1999-08-26 2002-08-27 Unisys Corporation Method, apparatus, and computer program product for replacing a dynamic link library (dll) of a first computing environment with a dll of a second computing environment that can be invoked from the first computing environment in a transparent manner
US6457164B1 (en) 1998-03-27 2002-09-24 Xilinx, Inc. Hetergeneous method for determining module placement in FPGAs
US20020194580A1 (en) * 2001-06-18 2002-12-19 Vinodha Ramasamy Edge profiling for executable program code having branches through stub code segments
WO2003019375A1 (en) * 2001-08-27 2003-03-06 Telefonaktiebolaget L M Ericsson (Publ) Dynamic tracing in a real-time system
US6658658B1 (en) * 2000-02-17 2003-12-02 International Business Machines Corporation Implicit forwarding and resolving of a reference made by an importing module to an exporting module for a specified export
US20040003326A1 (en) * 2002-06-28 2004-01-01 Canon Kabushiki Kaisha Method, program, and storage medium for acquiring logs
US20040015856A1 (en) * 2001-05-15 2004-01-22 Goward Philip J. Automatically propagating distributed components during application development
US20050027838A1 (en) * 2003-07-29 2005-02-03 Magid Robert Mark System and method for intercepting user exit interfaces in IMS programs
US20050034121A1 (en) * 2003-08-07 2005-02-10 International Business Machines Corporation Systems and methods for packaging files having automatic conversion across platforms
US20050038975A1 (en) * 2000-12-29 2005-02-17 Mips Technologies, Inc. Configurable co-processor interface
US20050198645A1 (en) * 2004-03-01 2005-09-08 Marr Michael D. Run-time call stack verification
US20050222689A1 (en) * 2004-03-30 2005-10-06 Tonic Solutions, Inc. Method of determining performance of an application server environment relating to a transaction
US7043668B1 (en) 2001-06-29 2006-05-09 Mips Technologies, Inc. Optimized external trace formats
US7055070B1 (en) * 2001-04-30 2006-05-30 Mips Technologies, Inc. Trace control block implementation and method
US7065675B1 (en) 2001-05-08 2006-06-20 Mips Technologies, Inc. System and method for speeding up EJTAG block data transfers
US7069544B1 (en) 2001-04-30 2006-06-27 Mips Technologies, Inc. Dynamic selection of a compression algorithm for trace data
US7124072B1 (en) 2001-04-30 2006-10-17 Mips Technologies, Inc. Program counter and data tracing from a multi-issue processor
US7134116B1 (en) 2001-04-30 2006-11-07 Mips Technologies, Inc. External trace synchronization via periodic sampling
US20060282840A1 (en) * 2005-05-25 2006-12-14 Stone Peter S Dynamic mapping of shared libraries
US7159101B1 (en) 2003-05-28 2007-01-02 Mips Technologies, Inc. System and method to trace high performance multi-issue processors
US7168066B1 (en) 2001-04-30 2007-01-23 Mips Technologies, Inc. Tracing out-of order load data
US7178133B1 (en) 2001-04-30 2007-02-13 Mips Technologies, Inc. Trace control based on a characteristic of a processor's operating state
US7181728B1 (en) 2001-04-30 2007-02-20 Mips Technologies, Inc. User controlled trace records
US7203946B2 (en) * 1999-10-11 2007-04-10 Hewlett-Packard Development Company, L.P. System and method for intercepting, instrumenting and characterizing usage of an application programming interface
US7231551B1 (en) 2001-06-29 2007-06-12 Mips Technologies, Inc. Distributed tap controller
US7237090B1 (en) 2000-12-29 2007-06-26 Mips Technologies, Inc. Configurable out-of-order data transfer in a coprocessor interface
US20070169062A1 (en) * 2005-12-20 2007-07-19 Intel Corporation Suspending memory analyzing of a program performed by a runtime memory analysis system
US20070261044A1 (en) * 2006-05-04 2007-11-08 Jonathan Clark Chained Hook Function Serving Multiple Versions Of Identically Named Dynamically Loaded Libraries
US7370318B1 (en) * 2004-09-02 2008-05-06 Borland Software Corporation System and methodology for asynchronous code refactoring with symbol injection
US7856637B1 (en) * 2006-10-25 2010-12-21 Vmware, Inc. Runtime emulating static thread local storage of portable executable software code
US7971047B1 (en) 2007-09-10 2011-06-28 Vmware, Inc. Operating system environment and installation
US7971182B1 (en) 2006-05-09 2011-06-28 Vmware, Inc. Application environment specifications for provisioning application specific runtime environments using undefined symbols
US8001083B1 (en) 2007-05-09 2011-08-16 Vmware, Inc. Repository including version management
US8171141B1 (en) 2009-04-02 2012-05-01 Vmware, Inc. Provisioning system including stack manager
US8219987B1 (en) 2007-08-24 2012-07-10 Vmware, Inc. Optimized virtual machine specification for provisioning application specific runtime environment
US20120278665A1 (en) * 2011-04-29 2012-11-01 Google Inc. Method and apparatus for detecting memory access faults
US8347263B1 (en) 2007-05-09 2013-01-01 Vmware, Inc. Repository including installation metadata for executable applications
US8577937B1 (en) 2007-05-09 2013-11-05 Vmware, Inc. Repository including exclusion list
US20140229921A1 (en) * 2013-01-30 2014-08-14 Nec Laboratories America, Inc. Method and System for Computer Assisted Hot-Tracing Mechanism
US8997074B1 (en) * 2006-09-29 2015-03-31 Trend Micro Incorporated Dynamic linking library (DLL) replacement in an embedded operating system environment
US9015180B1 (en) 2007-05-09 2015-04-21 Vmware, Inc. Repository including file identification
US9053239B2 (en) 2003-08-07 2015-06-09 International Business Machines Corporation Systems and methods for synchronizing software execution across data processing systems and platforms
US9113164B1 (en) 2012-05-15 2015-08-18 Google Inc. Constant bit rate control using implicit quantization values
US9407915B2 (en) 2012-10-08 2016-08-02 Google Inc. Lossless video coding with sub-frame level optimal quantization values
US9510019B2 (en) 2012-08-09 2016-11-29 Google Inc. Two-step quantization and coding method and apparatus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5247678A (en) * 1989-10-12 1993-09-21 Texas Instruments Incorporated Load time linker for software used with a multiprocessor system
US5247681A (en) * 1990-12-18 1993-09-21 International Business Machines Corporation Dynamic link libraries system and method
US5339430A (en) * 1992-07-01 1994-08-16 Telefonaktiebolaget L M Ericsson System for dynamic run-time binding of software modules in a computer system
US5369770A (en) * 1992-11-02 1994-11-29 Microsoft Corporation Standardized protected-mode interrupt manager
US5369766A (en) * 1993-03-25 1994-11-29 Taligent, Inc. Object-oriented loader system with support for different load formats
US5375241A (en) * 1992-12-21 1994-12-20 Microsoft Corporation Method and system for dynamic-link library
US5450586A (en) * 1991-08-14 1995-09-12 Hewlett-Packard Company System for analyzing and debugging embedded software through dynamic and interactive use of code markers
US5454086A (en) * 1992-08-11 1995-09-26 International Business Machines Corporation Dynamic program analyzer facility
US5475840A (en) * 1993-04-13 1995-12-12 Sun Microsystems, Inc. High performance dynamic linking through caching

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5247678A (en) * 1989-10-12 1993-09-21 Texas Instruments Incorporated Load time linker for software used with a multiprocessor system
US5247681A (en) * 1990-12-18 1993-09-21 International Business Machines Corporation Dynamic link libraries system and method
US5450586A (en) * 1991-08-14 1995-09-12 Hewlett-Packard Company System for analyzing and debugging embedded software through dynamic and interactive use of code markers
US5339430A (en) * 1992-07-01 1994-08-16 Telefonaktiebolaget L M Ericsson System for dynamic run-time binding of software modules in a computer system
US5454086A (en) * 1992-08-11 1995-09-26 International Business Machines Corporation Dynamic program analyzer facility
US5369770A (en) * 1992-11-02 1994-11-29 Microsoft Corporation Standardized protected-mode interrupt manager
US5375241A (en) * 1992-12-21 1994-12-20 Microsoft Corporation Method and system for dynamic-link library
US5369766A (en) * 1993-03-25 1994-11-29 Taligent, Inc. Object-oriented loader system with support for different load formats
US5475840A (en) * 1993-04-13 1995-12-12 Sun Microsystems, Inc. High performance dynamic linking through caching

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"IBM OS/2 16-32-bit Object Module Format (OMF) and Linear eXecutable Module Format (LX), Revision 9," IBM Corporation, Nov. 1995.
"Windows 95 System Programming Secrets," IDG Books Worldwide, Inc., pp. 685-705, 1995.
IBM OS/2 16 32 bit Object Module Format (OMF) and Linear eXecutable Module Format (LX), Revision 9, IBM Corporation , Nov. 1995. *
Windows 95 System Programming Secrets, IDG Books Worldwide, Inc. , pp. 685 705, 1995. *

Cited By (92)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6081664A (en) * 1996-09-30 2000-06-27 Intel Corporation Method for monitoring a BIOS
US6226786B1 (en) * 1996-12-24 2001-05-01 International Business Machines Corporation Minimizing debug information for global types in compiled languages
US20020083217A1 (en) * 1997-07-25 2002-06-27 Ward Alan D. System and method asynchronously accessing a graphics system for graphics application evaluation and control
US6314470B1 (en) * 1997-07-25 2001-11-06 Hewlett Packard Company System and method for asynchronously accessing a graphics system for graphics application evaluation and control
US7028309B2 (en) 1997-07-25 2006-04-11 Hewlett-Packard Development Company, L.P. Accessing a graphics system for graphics application evaluation and control
US6047124A (en) * 1997-10-31 2000-04-04 Sun Microsystems, Inc. System and method for tracing device drivers using a computer
US6237129B1 (en) 1998-03-27 2001-05-22 Xilinx, Inc. Method for constraining circuit element positions in structured layouts
US6260182B1 (en) 1998-03-27 2001-07-10 Xilinx, Inc. Method for specifying routing in a logic module by direct module communication
US6292925B1 (en) 1998-03-27 2001-09-18 Xilinx, Inc. Context-sensitive self implementing modules
US6216258B1 (en) * 1998-03-27 2001-04-10 Xilinx, Inc. FPGA modules parameterized by expressions
US6408422B1 (en) 1998-03-27 2002-06-18 Xilinx, Inc. Method for remapping logic modules to resources of a programmable gate array
US6430732B1 (en) 1998-03-27 2002-08-06 Xilinx, Inc. Method for structured layout in a hardware description language
US6457164B1 (en) 1998-03-27 2002-09-24 Xilinx, Inc. Hetergeneous method for determining module placement in FPGAs
US6161216A (en) * 1998-04-29 2000-12-12 Emc Corporation Source code debugging tool
US6389430B1 (en) * 1999-07-07 2002-05-14 Computer Associates Think, Inc. Real-time database object statistics collection
US6442752B1 (en) * 1999-08-26 2002-08-27 Unisys Corporation Method, apparatus, and computer program product for replacing a dynamic link library (dll) of a first computing environment with a dll of a second computing environment that can be invoked from the first computing environment in a transparent manner
US7203946B2 (en) * 1999-10-11 2007-04-10 Hewlett-Packard Development Company, L.P. System and method for intercepting, instrumenting and characterizing usage of an application programming interface
US6658658B1 (en) * 2000-02-17 2003-12-02 International Business Machines Corporation Implicit forwarding and resolving of a reference made by an importing module to an exporting module for a specified export
US20070192567A1 (en) * 2000-12-29 2007-08-16 Mips Technologies, Inc. Configurable co-processor interface
US7698533B2 (en) 2000-12-29 2010-04-13 Mips Technologies, Inc. Configurable co-processor interface
US7194599B2 (en) 2000-12-29 2007-03-20 Mips Technologies, Inc. Configurable co-processor interface
US7886129B2 (en) 2000-12-29 2011-02-08 Mips Technologies, Inc. Configurable co-processor interface
US7237090B1 (en) 2000-12-29 2007-06-26 Mips Technologies, Inc. Configurable out-of-order data transfer in a coprocessor interface
US7287147B1 (en) 2000-12-29 2007-10-23 Mips Technologies, Inc. Configurable co-processor interface
US20050038975A1 (en) * 2000-12-29 2005-02-17 Mips Technologies, Inc. Configurable co-processor interface
US7178133B1 (en) 2001-04-30 2007-02-13 Mips Technologies, Inc. Trace control based on a characteristic of a processor's operating state
US20070180327A1 (en) * 2001-04-30 2007-08-02 Mips Technologies, Inc. Trace control from hardware and software
US7412630B2 (en) 2001-04-30 2008-08-12 Mips Technologies, Inc. Trace control from hardware and software
US20090037704A1 (en) * 2001-04-30 2009-02-05 Mips Technologies, Inc. Trace control from hardware and software
US7644319B2 (en) 2001-04-30 2010-01-05 Mips Technologies, Inc. Trace control from hardware and software
US7055070B1 (en) * 2001-04-30 2006-05-30 Mips Technologies, Inc. Trace control block implementation and method
US7770156B2 (en) 2001-04-30 2010-08-03 Mips Technologies, Inc. Dynamic selection of a compression algorithm for trace data
US7069544B1 (en) 2001-04-30 2006-06-27 Mips Technologies, Inc. Dynamic selection of a compression algorithm for trace data
US20060225050A1 (en) * 2001-04-30 2006-10-05 Mips Technologies, Inc. Dynamic selection of a compression algorithm for trace data
US7124072B1 (en) 2001-04-30 2006-10-17 Mips Technologies, Inc. Program counter and data tracing from a multi-issue processor
US8185879B2 (en) 2001-04-30 2012-05-22 Mips Technologies, Inc. External trace synchronization via periodic sampling
US7185234B1 (en) * 2001-04-30 2007-02-27 Mips Technologies, Inc. Trace control from hardware and software
US7181728B1 (en) 2001-04-30 2007-02-20 Mips Technologies, Inc. User controlled trace records
US7168066B1 (en) 2001-04-30 2007-01-23 Mips Technologies, Inc. Tracing out-of order load data
US7134116B1 (en) 2001-04-30 2006-11-07 Mips Technologies, Inc. External trace synchronization via periodic sampling
US7065675B1 (en) 2001-05-08 2006-06-20 Mips Technologies, Inc. System and method for speeding up EJTAG block data transfers
US20040015856A1 (en) * 2001-05-15 2004-01-22 Goward Philip J. Automatically propagating distributed components during application development
US6795964B2 (en) * 2001-06-18 2004-09-21 Hewlett-Packard Development Company, L.P. Edge profiling for executable program code having branches through stub code segments
US20020194580A1 (en) * 2001-06-18 2002-12-19 Vinodha Ramasamy Edge profiling for executable program code having branches through stub code segments
US7043668B1 (en) 2001-06-29 2006-05-09 Mips Technologies, Inc. Optimized external trace formats
US7231551B1 (en) 2001-06-29 2007-06-12 Mips Technologies, Inc. Distributed tap controller
WO2003019375A1 (en) * 2001-08-27 2003-03-06 Telefonaktiebolaget L M Ericsson (Publ) Dynamic tracing in a real-time system
GB2395040B (en) * 2001-08-27 2005-05-11 Ericsson Telefon Ab L M Dynamic tracing in a real-time system
GB2395040A (en) * 2001-08-27 2004-05-12 Ericsson Telefon Ab L M Dynamic tracing in a real-time system
US20040003326A1 (en) * 2002-06-28 2004-01-01 Canon Kabushiki Kaisha Method, program, and storage medium for acquiring logs
US7188279B2 (en) * 2002-06-28 2007-03-06 Canon Kabushiki Kaisha Method, program, and storage medium for acquiring logs
US7159101B1 (en) 2003-05-28 2007-01-02 Mips Technologies, Inc. System and method to trace high performance multi-issue processors
US20050027838A1 (en) * 2003-07-29 2005-02-03 Magid Robert Mark System and method for intercepting user exit interfaces in IMS programs
US7346904B2 (en) * 2003-08-07 2008-03-18 International Business Machines Corporation Systems and methods for packaging files having automatic conversion across platforms
US9053239B2 (en) 2003-08-07 2015-06-09 International Business Machines Corporation Systems and methods for synchronizing software execution across data processing systems and platforms
US20080109803A1 (en) * 2003-08-07 2008-05-08 International Business Machines Corporation Systems and methods for packaging files having automatic conversion across platforms
US8141074B2 (en) 2003-08-07 2012-03-20 International Business Machines Corporation Packaging files having automatic conversion across platforms
US20050034121A1 (en) * 2003-08-07 2005-02-10 International Business Machines Corporation Systems and methods for packaging files having automatic conversion across platforms
US20050198645A1 (en) * 2004-03-01 2005-09-08 Marr Michael D. Run-time call stack verification
US7546587B2 (en) * 2004-03-01 2009-06-09 Microsoft Corporation Run-time call stack verification
US20050222689A1 (en) * 2004-03-30 2005-10-06 Tonic Solutions, Inc. Method of determining performance of an application server environment relating to a transaction
US7370318B1 (en) * 2004-09-02 2008-05-06 Borland Software Corporation System and methodology for asynchronous code refactoring with symbol injection
US20060282840A1 (en) * 2005-05-25 2006-12-14 Stone Peter S Dynamic mapping of shared libraries
US20070169062A1 (en) * 2005-12-20 2007-07-19 Intel Corporation Suspending memory analyzing of a program performed by a runtime memory analysis system
US20070261044A1 (en) * 2006-05-04 2007-11-08 Jonathan Clark Chained Hook Function Serving Multiple Versions Of Identically Named Dynamically Loaded Libraries
US20140082641A1 (en) * 2006-05-04 2014-03-20 Vmware, Inc. Enhanced Hook Function for Use with Different Versions of a Dynamically Loaded Library
US8978053B2 (en) * 2006-05-04 2015-03-10 Vmware, Inc. Enhanced hook function for use with different versions of a dynamically loaded library
US20150154037A1 (en) * 2006-05-04 2015-06-04 Vmware, Inc. Enhanced hook function for use with different versions of a dynamically loaded library
US9274814B2 (en) * 2006-05-04 2016-03-01 Vmware, Inc. Enhanced hook function for use with different versions of a dynamically loaded library
US20110231440A1 (en) * 2006-05-09 2011-09-22 Vmware, Inc. Application specific runtime environments
US8667459B2 (en) 2006-05-09 2014-03-04 Vmware, Inc. Application specific runtime environments
US8171482B1 (en) 2006-05-09 2012-05-01 Vmware, Inc. Application environment specifications for provisioning application specific runtime environments using subsets of resources required for execution
US7971182B1 (en) 2006-05-09 2011-06-28 Vmware, Inc. Application environment specifications for provisioning application specific runtime environments using undefined symbols
US8997074B1 (en) * 2006-09-29 2015-03-31 Trend Micro Incorporated Dynamic linking library (DLL) replacement in an embedded operating system environment
US9766958B2 (en) 2006-10-25 2017-09-19 Vmware, Inc. Runtime emulating static thread local storage of portable executable software code
US9354949B2 (en) 2006-10-25 2016-05-31 Vmware, Inc. Runtime emulating static thread local storage of portable executable software code
US20110088047A1 (en) * 2006-10-25 2011-04-14 Vmware, Inc. Runtime Emulating Static Thread Local Storage of Portable Executable Software Code
US7856637B1 (en) * 2006-10-25 2010-12-21 Vmware, Inc. Runtime emulating static thread local storage of portable executable software code
US8577937B1 (en) 2007-05-09 2013-11-05 Vmware, Inc. Repository including exclusion list
US9015180B1 (en) 2007-05-09 2015-04-21 Vmware, Inc. Repository including file identification
US8347263B1 (en) 2007-05-09 2013-01-01 Vmware, Inc. Repository including installation metadata for executable applications
US8001083B1 (en) 2007-05-09 2011-08-16 Vmware, Inc. Repository including version management
US8219987B1 (en) 2007-08-24 2012-07-10 Vmware, Inc. Optimized virtual machine specification for provisioning application specific runtime environment
US7971047B1 (en) 2007-09-10 2011-06-28 Vmware, Inc. Operating system environment and installation
US8171141B1 (en) 2009-04-02 2012-05-01 Vmware, Inc. Provisioning system including stack manager
US8762797B2 (en) * 2011-04-29 2014-06-24 Google Inc. Method and apparatus for detecting memory access faults
US20120278665A1 (en) * 2011-04-29 2012-11-01 Google Inc. Method and apparatus for detecting memory access faults
US9113164B1 (en) 2012-05-15 2015-08-18 Google Inc. Constant bit rate control using implicit quantization values
US9510019B2 (en) 2012-08-09 2016-11-29 Google Inc. Two-step quantization and coding method and apparatus
US9407915B2 (en) 2012-10-08 2016-08-02 Google Inc. Lossless video coding with sub-frame level optimal quantization values
US20140229921A1 (en) * 2013-01-30 2014-08-14 Nec Laboratories America, Inc. Method and System for Computer Assisted Hot-Tracing Mechanism
US9489286B2 (en) * 2013-01-30 2016-11-08 Nec Corporation Method and system for computer assisted hot-tracing mechanism

Similar Documents

Publication Publication Date Title
Chiba Javassist—a reflection-based programming wizard for Java
Brant et al. Wrappers to the Rescue
Smith et al. Heterogeneous process migration: The Tui system
May Mimic: a fast system/370 simulator
US5339435A (en) Heterogenous software configuration management apparatus
US4833594A (en) Method of tailoring an operating system
US6167535A (en) Object heap analysis techniques for discovering memory leaks and other run-time information
US7167870B2 (en) Software development test case maintenance
US5907707A (en) Object model for Java
US5493682A (en) Object based system for software maintenance
US5854932A (en) Compiler and method for avoiding unnecessary recompilation
US6026237A (en) System and method for dynamic modification of class files
US5581697A (en) Method and apparatus for run-time error checking using dynamic patching
US5230049A (en) Program source code translator
US6968540B2 (en) Software instrumentation method and apparatus
US5732263A (en) Systems, methods and computer program products for generating and validating user defined object classes in an object oriented programming environment after build time
US5764989A (en) Interactive software development system
US6014518A (en) Terminating polymorphic type inference program analysis
US5093914A (en) Method of controlling the execution of object-oriented programs
US6438745B1 (en) Program conversion apparatus
US6961931B2 (en) Dependency specification using target patterns
US5146593A (en) Procedure call interface
US6460178B1 (en) Shared library optimization for heterogeneous programs
US6748396B2 (en) Independent class loader for dynamic class loading
US5835749A (en) Method and apparatus for providing dynamically linked libraries

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:PEKOWSKI, RAYMOND P.;REEL/FRAME:008389/0531

Effective date: 19961204

FPAY Fee payment

Year of fee payment: 4

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
FP Expired due to failure to pay maintenance fee

Effective date: 20070831