Invention Grant
- Patent Title: Platform independent binary instrumentation and memory allocation method
- Patent Title (中): 平台独立的二进制仪器和内存分配方法
-
Application No.: US10563313Application Date: 2005-03-28
-
Publication No.: US07685588B2Publication Date: 2010-03-23
- Inventor: Sergey N. Zheltov , Stanislav V. Bratanov , Dmitry Eremin
- Applicant: Sergey N. Zheltov , Stanislav V. Bratanov , Dmitry Eremin
- Applicant Address: US CA Santa Clara
- Assignee: Intel Corporation
- Current Assignee: Intel Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Trop, Pruner & Hu, P.C.
- International Application: PCT/RU2005/000144 WO 20050328
- International Announcement: WO2006/104407 WO 20061005
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/445

Abstract:
Embodiments of the present invention provide for platform independence, low intrusiveness, and optimal memory usage of the binary instrumentation process by means of employing one procedure (interceptor function) implemented in a high-level programming language to intercept an arbitrary number of functions or blocks of code. Each time a function or code block needs to be intercepted a new copy of the procedure from a provided memory region may be associated with the address of the function or block of code by means of a memory region descriptor and an intercepted function address table. Once activated, the interceptor function may retrieve its current address and, by searching memory region descriptors, determine the region the current address belongs to; the region's base address may then be obtained. A reference to the intercepted function address table may be fetched from the region descriptor; and an index to the intercepted function address table may be computed. Finally, the address of an intercepted function corresponding to the active copy of the interceptor function may be read from the intercepted function address table.
Public/Granted literature
- US20080155510A1 Platform Independent Binary Instrumentation Method Public/Granted day:2008-06-26
Information query