User-space emulation framework for heterogeneous soc design
US-2024004776-A1 · Jan 4, 2024 · US
US9632910B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9632910-B2 |
| Application number | US-33631808-A |
| Country | US |
| Kind code | B2 |
| Filing date | Dec 16, 2008 |
| Priority date | Dec 16, 2008 |
| Publication date | Apr 25, 2017 |
| Grant date | Apr 25, 2017 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
This disclosure provides software that identifies a variable in a computer program as a target variable. The software automatically processes a first source code statement in the computer program for the target variable. The software determines if the target variable is not found in the particular processed statement and progresses through preceding statements until the target variable is found. The software determines if the particular statement involves an indirect assignment to the target variable and can return that particular statement as the origination statement. Additionally, the software determines if the particular statement involves a direct assignment to the target variable from a second variable. If the particular statement involves a direct assignment to the target variable from a second variable, the software can change the target variable to the second variable and can progress through preceding statements until the new target variable is found in a particular of the statements.
Opening claim text (preview).
What is claimed is: 1. A non-transitory computer-readable storage medium, the storage medium comprising computer readable instructions embodied on the non-transitory computer-readable storage medium, the instructions operable when executed by at least one processor to: identify a first variable in an executing computer program as a target variable, the target variable automatically identified within the executing computer program as a potential source of failure of the computer program; automatically process a first source code statement in a call stack of the computer program for the target variable; if the target variable is not found in the processed first source code statement in the call stack, progress iteratively through individual preceding statements in the call stack of the computer program until the target variable is found in a particular one of the statements in the call stack; and in response to finding the target variable in the particular statement: determine whether the particular statement in the call stack involves an indirect assignment to the target variable found in the particular statement; in response to determining that the particular statement in the call stack involves an indirect assignment to the target variable found in the particular statement, return that particular statement from the call stack as an origination statement associated with the potential source of failure; in response to determining that the particular statement in the call stack does not involve an indirect assignment to the target variable found in the particular statement, determine whether the particular statement in the call stack involves a direct assignment to the target variable from a second variable; and in response to determining that the particular statement in the call stack involves a direct assignment to the target variable from a second variable: change the target variable to the second variable in the direct assignment in the particular statement, the second variable comprising a new target variable; and progress iteratively through individual preceding statements from the particular statement involving the direct assignment to the new target variable until the new target variable is found in a particular one of the statements in the call stack. 2. The non-transitory computer-readable storage medium of claim 1 further operable to: if the particular statement in the call stack involves an indirect assignment to the new target variable, then return that particular statement from the call stack as the origination statement; and if the particular statement in the call stack involves a direct assignment to the target variable from a third variable, then: change the target variable to the third variable, the third variable comprising a second new target variable; and progress iteratively through individual preceding statements from the particular statement involving the direct assignment to the new target variable until the second new target variable is found in a particular one of the statements in the call stack. 3. The non-transitory computer-readable storage medium of claim 1 , the computer program written in one of a plurality of languages. 4. The non-transitory computer-readable storage medium of claim 1 , the indirect assignment comprising the target variable being determined by a plurality of other variables. 5. The non-transitory computer-readable storage medium of claim 1 , the indirect assignment comprising a result from a method call. 6. The non-transitory computer-readable storage medium of claim 1 , the indirect assignment comprising population from an external source. 7. The non-transitory computer-readable storage medium of claim 6 , the external source comprising a database. 8. The non-transitory computer-readable storage medium of claim 1 further operable to parse and map the statements of the computer program. 9. The non-transitory computer-readable storage medium of claim 1 further operable to progress through at least one preceding statement bound at runtime. 10. The non-transitory computer-readable storage medium of claim 1 , the first variable consisting of a non-constant value. 11. A non-transitory computer-readable storage medium, the storage medium comprising computer readable instructions embodied on the non-transitory computer-readable storage medium, the instructions operable when executed by at least one processor to: identify a first variable in an executing computer program as a target variable, the target variable automatically identified within the executing computer program as a potential source of failure of the computer program; automatically process a first source code statement in a call stack of the computer program for the target variable; if the target variable is not found in the processed first source code statement in the call stack, progress iteratively through individual preceding statements in the call stack of the computer program until the target variable is found in a particular one of the statements in the call stack; and in response to finding the target variable in the particular statement: determine whether the particular statement in the call stack involves an indirect assignment to the target variable from a result of a method call; in response to determining that the particular statement in the call stack involves an indirect assignment to the target variable from the result of the method call: determine whether the method involves a direct assignment to the target variable from a second variable; in response to determining that the method involves a direct assignment to the target variable from a second variable, change the target variable to the second variable; and progress iteratively through the individual statements in that method until the target variable is found in a particular one of the statements; in response to determining that the particular statement in the call stack does not involve an indirect assignment to the target variable from the result of the method call, determine whether the particular statement in the call stack involves another indirect assignment to the target variable found in the particular statement; in response to determining that the particular statement in the call stack involves another indirect assignment to the target variable found in the particular statement, return that particular statement from the call stack as an origination statement associated with the potential source of failure; and in response to determining that the particular statement in the call stack does not involve another indirect assignment to the target variable found in the particular statement: determine whether the particular statement in the call stack involves a direct assignment to the target variable from a second variable; in response to determining that the particular statement in the call stack involves a direct assignment to the target variable from a second variable: change the target variable to the second variable in the direct assignment in the particular statement, the second variable comprising a new target variable; and progress iteratively through individual preceding statements from the particular statement involving the direct assignment to the new target variable until the new target variable is found in a particular one of the statements in the call stack. 12. The non-transitory computer-readable storage medium of claim 11 further operable to: if the particular statement in the call stack involves an indirect assignment to the new target variable, then return that particular statement as the origination statement; and if the particular st
using diagnostics (G06F11/0703 takes precedence) · CPC title
Intelligent editors · CPC title
by tracing the execution of the program · CPC title
Arrangements for executing specific programs · CPC title
Prevention of errors by analysis, debugging or testing of software · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.