发明名称 A method for back tracing program execution
摘要 A method of back-tracing execution of a computer program, where the computer program comprises a plurality of blocks, comprises instrumenting an original version of the program by adding instrumentation code to some or all of the blocks to form an instrumented program. Instrumentation can be added at the binary or source level, or at link time. The instrumentation code records execution sequence information upon execution of the corresponding instrumented block to create a trace record of the executed program. The execution sequence information for each block comprises a block identifier which identifies the corresponding block. A detailed back-trace is generated, after the program has executed, by replacing each recorded block identifier with program counters associated with each instruction in the corresponding block. The application may comprise several programs or subprograms, in which case separate regions of memory can be maintained. Each region is associated with a program or subprogram or a set of programs or subprograms and stores therein part of the trace record corresponding to the associated set of programs or subprograms. The trace records themselves may be of different types. After execution, the trace record is presented to a user, in the form of assembly code, or more preferably, in the form of source level code. In an alternative embodiment, a summary of the trace record recorded during execution of an instrumented program is presented to a user. Various types of traces can be produced, including a last instruction trace and a first instruction trace.
申请公布号 AU2048300(A) 申请公布日期 2000.08.25
申请号 AU20000020483 申请日期 1999.12.09
申请人 INCERT SOFTWARE CORPORATION 发明人 ANDREW E. AYERS;ANANT AGARWAHL;RICHARD SCHOOLER
分类号 G06F11/34;G06F11/36 主分类号 G06F11/34
代理机构 代理人
主权项
地址