IP Library Granted Patent US 8,533,683
Granted Patent B2
US 8,533,683 · App. 11/872,348 · Granted Sep 10, 2013

Stack walking enhancements using sensorpoints

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,533,683
App. No.
11/872,348
Granted
Sep 10, 2013
Kind
B2
Abstract

A system and method for receiving an image of compiled user code, scanning the image to determine each of a plurality of functions included in the user code and creating a separately compiled executable module corresponding to selected ones of the plurality of functions, wherein the module includes instructions to create a stack trace for the selected ones of the functions.

Claims (44)

1. A method, executed by a central processing unit (CPU), comprising:

receiving an image of compiled user code;

scanning the image to determine each of a plurality of functions included in the compiled user code;

identifying selected ones of the plurality of functions that cannot be used to generate a report of active stack frames using a normal compiler/debugger during execution of the compiled user code;

creating a separately compiled executable module corresponding to the selected ones of the plurality of functions, wherein the separately compiled executable module includes instructions to create a stack trace for the selected ones of the functions;

receiving further stack traces from functions not included in the selected ones of the plurality of functions; and

displaying the further stack traces to the user.

2. The method of claim 1 , further comprising:

storing the modules; and

sending the modules to a target device including the compiled user code.

3. The method of claim 1 , further comprising:

receiving the stack traces from the modules that are loaded onto a target device; and

displaying the stack traces to a user.

4. The method of claim 1 , wherein the stack trace includes only a portion of context information for a CPU executing the corresponding function.

5. The method of claim 4 , wherein the portion of the context information is the entire context information.

6. The method of claim 1 , wherein the image is an executable and linkable format (ELF) image of the compiled user code.

7. The method of claim 1 , wherein the scanning includes searching a text portion of the image.

8. The method of claim 1 , wherein the stack trace includes function parameters corresponding to the selected ones of the functions.

9. A system comprising:

a target device; and

a host in networked communication with the target device, wherein the host is configured to:

receive an image of compiled user code;

scan the image to determine each of a plurality of functions included in the compiled user code;

identify selected ones of the plurality of functions that cannot be used to generate a report of active stack frames using a normal compiler/debugger during execution of the compiled user code;

create a separately compiled executable module corresponding to the selected ones of the plurality of functions, wherein the separately compiled executable module includes instructions to create a stack trace for the selected ones of the functions;

receive further stack traces from functions not included in the selected ones of the plurality of functions; and

display the further stack traces to the user.

10. The system of claim 9 , wherein the host is further configured to:

store the modules; and

send the modules to a target device including the compiled user code.

11. The system of claim 9 , wherein the host is further configured to:

receive the stack traces from the modules that are loaded onto a target device; and

display the stack traces to a user.

12. The system of claim 9 , wherein the stack trace includes only a portion of context information for a CPU executing the corresponding function.

13. The system of claim 12 , wherein the portion of the context information is the entire context information.

14. The system of claim 9 , wherein the scanning includes searching a text portion of the image.

15. The system of claim 9 , wherein the stack trace includes function parameters corresponding to the selected ones of the functions.

16. A non-transitory computer readable storage medium including a set of instructions executable by a processor, the set of instructions, when executed by the processor, causing the processor to:

receive an image of compiled user code;

scan the image to determine each of a plurality of functions included in the compiled user code;

identify selected ones of the plurality of functions that cannot be used to generate a report of active stack frames using a normal compiler/debugger during execution of the compiled user code;

create a separately compiled executable module corresponding to the selected ones of the plurality of functions, wherein the separately compiled executable module includes instructions to create a stack trace for the selected ones of the functions;

receive further stack traces from functions not included in the selected ones of the plurality of functions; and

display the further stack traces to the user.

Assignments (3)
RELEASE OF SECURITY INTEREST Recorded Dec 28, 2022
From: GUGGENHEIM CORPORATE FUNDING, LLC
To: WIND RIVER SYSTEMS, INC.
Reel/Frame 062239/0590 →
PATENT SECURITY AGREEMENT Recorded Dec 24, 2018
From: WIND RIVER SYSTEMS, INC.
To: GUGGENHEIM CORPORATE FUNDING, LLC
Reel/Frame 049148/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 18, 2007
From: NASH, BRIAN
To: WIND RIVER SYSTEMS, INC.
Reel/Frame 019996/0851 →