Invention Grant
- Patent Title: Randomly branching using hardware watchpoints
- Patent Title (中): 使用硬件观察点随机分支
-
Application No.: US14054356Application Date: 2013-10-15
-
Publication No.: US09483379B2Publication Date: 2016-11-01
- Inventor: Joseph L. Greathouse , David S. Christie
- Applicant: Advanced Micro Devices, Inc.
- Applicant Address: US CA Sunnyvale
- Assignee: Advanced Micro Devices, Inc.
- Current Assignee: Advanced Micro Devices, Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Rory D. Rankin
- Main IPC: G06F9/38
- IPC: G06F9/38 ; G06F11/36 ; G06F11/30 ; G06F11/34

Abstract:
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.
Public/Granted literature
- US20150106602A1 RANDOMLY BRANCHING USING HARDWARE WATCHPOINTS Public/Granted day:2015-04-16
Information query