Randomly branching using hardware watchpoints
AssigneeAdvanced Micro Devices, Inc.
InventorsJoseph L. Greathouse, David S. Christie
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdvanced Micro Devices, Inc.
InventorsJoseph L. Greathouse, David S. Christie
Estimating the term…
A system and method for efficiently performing program instrumentation. A processor processes instructions stored in a memory. The processor allocates a memory region for the purpose of creating “random branches” in the computer code utilizing existing memory access instructions. When the processor processes a given instruction, the processor both accesses a first location in the memory region and may determine a condition is satisfied. In response, the processor generates an interrupt. The corresponding interrupt handler may transfer control flow from the computer program to instrumentation code. The condition may include a pointer storing an address pointing to locations within the memory region equals a given address after the point is updated. Alternatively, the condition may include an updated data value stored in a location pointed to by the given address equals a threshold value.
A computing system comprising:
A method executable by at least one processor in a computing system, the method comprising:
A non-transitory computer readable storage medium storing program instructions, wherein the program instructions are executable to:
Dependencies are inferred from the claim text.