发明名称 Dynamic Debugging Method of a Software Module and Corresponding Device
摘要 When a module is loaded by the operating system kernel, dynamic information of the module, such as the memory addresses of the different sections of the module allocated by the operating system, is stored in a known variable, which is subsequently accessible by the debugging tool. Furthermore, an interrupt instruction that will allow the debugger to interrupt the running of the operating system following the complete loading of the module is inserted into the debugging tool in such a way as to retrieve the dynamic information necessary for the debugging of the module.
申请公布号 US2015067655(A1) 申请公布日期 2015.03.05
申请号 US201414467270 申请日期 2014.08.25
申请人 STMicroelectronics (Grenoble 2) SAS 发明人 Sauzede Nicolas;Nabais Alexandre;Guillochon Florian
分类号 G06F11/36 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method for dynamic debugging of an external software module, the method comprising: loading an external software module into a first memory section of a computer system by a loading block of an operating system of the computer system; attaching an interrupt instruction to an identifier and to a current instruction from the operating system, the interrupt instruction executable following the loading of the external software module; storing, by the operating system, a memory address of each section of the external software module allocated by the loading block and an identifier of each section in a second memory section of the computer system; when the current instruction occurs, retrieving the memory address and the identifier of each section of the external software module by a debugging tool, the debugging tool receiving binary code and associated symbol files of the external software module; and providing, by the debugging tool, the binary code and associated symbol files for each section of the external software module.
地址 Grenoble FR