×

System and method for tracing instructions in an information handling system without changing the system source code

  • US 5,938,778 A
  • Filed: 11/10/1997
  • Issued: 08/17/1999
  • Est. Priority Date: 11/10/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for tracing operations in an information handling system, comprising the steps of:

  • creating a virtual machine layer between an operating system and hardware of the information handling system;

    shadowing identified machine registers during machine transition states using the virtual machine layer;

    determining by a tracing program if a change in program flow has occurred, wherein said determining step includes the following steps;

    reading a first instruction address of a first instruction;

    calculating a length of the first instruction;

    adding the first instruction address to the length of the first instruction to determine an expected address;

    comparing the expected address to the next instruction address; and

    if the expected address is not equal to the next instruction address, concluding that a change in program flow has occurred; and

    writing a trace record to a trace log if a change in program flow has occurred.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×