发明名称 |
Providing a core dump-level stack trace |
摘要 |
A system and a method for providing a core dump-level stack trace. In one example, the method includes receiving, by a processing device, a recorded state of a program, the recorded state including a base address of the program and a stack frame including an executable address for a call instruction of a function of the program; determining, by the processing device, a list of functions in view of the recorded state of the program, and creating, by the processing device, a stack trace in view of the list of functions without using debugging symbols. |
申请公布号 |
US9098627(B2) |
申请公布日期 |
2015.08.04 |
申请号 |
US201313786675 |
申请日期 |
2013.03.06 |
申请人 |
Red Hat, Inc. |
发明人 |
Klic Karel;Milata Martin |
分类号 |
G06F9/44;G06F11/36 |
主分类号 |
G06F9/44 |
代理机构 |
Lowenstein Sandler LLP |
代理人 |
Lowenstein Sandler LLP |
主权项 |
1. A method comprising:
receiving, by a processing device, a recorded state of a program, the recorded state comprising a base address of the program, an exception handling table of the program, and a standalone stack frame comprising an executable address for a call instruction of a function of the program; determining, by the processing device, a list of functions in view of the recorded state of the program; determining, by the processing device, a function start offset and a function end offset for the standalone stack frame in view of the exception handling table of the program; receiving a translation of the function; determining an operand from the translation; generating a fingerprint from the operand; creating, by the processing device, a stack trace in view of the list of functions and the fingerprint without using debugging symbols; and updating the recorded state of the program to include the function start offset and the function end offset. |
地址 |
Raleigh NC US |