Advancing and Rewinding a Replayed Program Execution
0 Assignments
0 Petitions
Accused Products
Abstract
In an embodiment, a data processing system comprises a storage system coupled to a unit under test comprising a heap memory, a static memory and a stack; second logic operable to perform: detecting one or more changes in a first state of the heap memory and the static memory; storing, in the storage system, as a state point of the unit under test, the one or more changes in the first state of the heap memory and the static memory; third logic operable to perform: receiving a request to change the memory under test to a particular state point; in response to the request, loading the particular state point from the storage system and applying the particular state point to the heap memory and the static memory to result in changing the heap memory and the static memory to a second state that is substantially equivalent to the first state.
31 Citations
21 Claims
-
1. (canceled)
-
2. A method comprising:
-
establishing a data connection to a unit under test, the unit under test comprising unit under test memory that comprises dynamically allocated memory and static memory; detecting a change in a first state of the unit under test memory during a record phase; storing, in a storage system, as a first state point of the unit under test, information about the change in the first state of the under test memory; detecting a write operation to the under test memory during a replay phase; determining whether the storage system comprises data about the write operation of the unit under test memory; and detecting that a replay synchronization error has occurred at a particular point in execution when the storage system does not comprise data about the write operation to the unit under test memory. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9)
-
-
10. A system, comprising:
-
a storage system; and a processor coupled to the storage system, the processor; establishes a data connection to a unit under test comprising unit under test memory that comprises dynamically allocated memory and static memory; detects a change in a first state of the unit under test memory during a recording phase; stores, in the storage system, as a first state point of the unit under test, information about the change in the first state of the under test memory; detects a write operation to the under test memory during a replay phase; determines whether the storage system comprises data about the write operation of the under test memory; and detects that a replay synchronization error has occurred at a particular point in execution when the storage system does not comprise data about the write operation to the unit under test memory. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A non-transitory computer-readable storage medium comprising instructions which, when executed by a processor, cause the processor to:
-
establish a data connection to a unit under test comprising dynamically allocated memory and static memory; detect a change in a first state of either or both of the dynamically allocated memory and the static memory during a recording phase of an application program that executes in the unit under test; store, in a storage system, as a first state point of the unit under test, information about the change in the first state of either or both of the dynamically allocated memory and the static memory; detect a write operation to either the dynamically allocated memory or the static memory during a replay phase of the application program; determine whether the storage system comprises data about the write operation of either the dynamically allocated memory or the static memory; and detect that a replay synchronization error has occurred at a particular point in execution of the application program when the storage system does not comprise data about the write operation to either the dynamically allocated memory or the static memory. - View Dependent Claims (17, 18, 19, 20, 21)
-
Specification