发明名称 Dynamic software code instrumentation method and system
摘要 A method and system of monitoring code as it is executed by a target processor is provided for debugging, etc. Standardized software code function preamble and postamble instructions are dynamically replaced with instructions that will generate a predetermined exception. The exception generates a branch to a conventional exception vector table. An exception routine is inserted into the vector table, and includes instruction(s) to disable the data and/or address caches. Subsequent instructions in the vector table execute the replaced preamble instruction and, with or without re-enabling the cache, branch back to the address of the program code immediately following the faulted preamble address. Instructions of the function executed while cache is disabled are executed on the bus where they are visible, as opposed to within cache.
申请公布号 US7168068(B2) 申请公布日期 2007.01.23
申请号 US20020114793 申请日期 2002.05.06
申请人 WIND RIVER SYSTEMS, INC. 发明人 DAWSON PETER S.
分类号 G06F9/44;G06F9/45;G06F11/36 主分类号 G06F9/44
代理机构 代理人
主权项
地址