发明名称 DEBUG METHOD AND DEBUG DEVICE
摘要 <p>A debug method is provided, the method comprises: a fault handling function address is modified to a user-defined fault handling function address (101), the fault handling function address corresponds to a page attribute fault in an interrupt descriptor table of a system processor; when a designated page attribute fault appears in a destination program, field information is obtained (102); the field information is saved to a virtue execution buffer area corresponding to the current thread (103); and the field information in the buffer area is saved by pushing in a stack (104); a pointer of the destination program extended instruction is judged whether it matches with a preset breakpoint address of a fault page (105); if the pointer matches with the preset breakpoint address, the debug method interacts with a user (106); otherwise, the instruction pointed by the pointer of the destination program extended instruction is copied to the virtue execution buffer area corresponding to the current thread and constructed; the field information is popped up from the stack, the instruction in the buffer area is executed, and the address is judged repeatedly whether it matches the preset breakpoint address. A corresponding debug device is also provided, and the device has an advantage of higher concealment.</p>
申请公布号 WO2011124076(A1) 申请公布日期 2011.10.13
申请号 WO2010CN79643 申请日期 2010.12.10
申请人 HUAWEI TECHNOLOGIES CO., LTD.;ZHANG, DACHENG;LI, YICHAO;LIU, DAN;CHEN, QINYUAN;LIU, ZEPENG;QIU, BINGXUE 发明人 ZHANG, DACHENG;LI, YICHAO;LIU, DAN;CHEN, QINYUAN;LIU, ZEPENG;QIU, BINGXUE
分类号 G06F11/28 主分类号 G06F11/28
代理机构 代理人
主权项
地址