发明授权
- 专利标题: Platform independent binary instrumentation and memory allocation method
- 专利标题(中): 平台独立的二进制仪器和内存分配方法
-
申请号: US10563313申请日: 2005-03-28
-
公开(公告)号: US07685588B2公开(公告)日: 2010-03-23
- 发明人: Sergey N. Zheltov , Stanislav V. Bratanov , Dmitry Eremin
- 申请人: Sergey N. Zheltov , Stanislav V. Bratanov , Dmitry Eremin
- 申请人地址: US CA Santa Clara
- 专利权人: Intel Corporation
- 当前专利权人: Intel Corporation
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Trop, Pruner & Hu, P.C.
- 国际申请: PCT/RU2005/000144 WO 20050328
- 国际公布: WO2006/104407 WO 20061005
- 主分类号: G06F9/45
- IPC分类号: G06F9/45 ; G06F9/445
摘要:
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.
公开/授权文献
- US20080155510A1 Platform Independent Binary Instrumentation Method 公开/授权日:2008-06-26
信息查询