Static semantic analysis of dynamic languages
Abstract
Analyzing dynamic source code. A method includes accessing a specific metadata format data structure. The data structure was created by obtaining one or more first data structures defining constructs in a body of dynamic language source code. From the one or more first data structures, identifier information is extracted for one or more of the defined constructs. Knowledge about the constructs is augmented. The metadata format data structure is parsed to compute metrics about the metadata format data structure. The metrics about the metadata format data structure are provided to a user.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a computing environment, a processor-implemented method of analyzing dynamic source code, the method comprising: parsing source code to generate one or more syntax trees defining constructs in a body of dynamic language source code; from the one or more syntax trees, extracting identifier information for one or more of the defined constructs; augmenting knowledge about the constructs by at least one of explicit inspection of the body of source code or implied references related to the source code; producing a correlation between identifiers and augmented knowledge; using the identifier info
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Abadi, M., et. al., "Dynamic Typing in a Statically Typed Language," Published Apr. 1991, http://www.hpl.hp.com/techreports/Compaq-DEC/SRC-RR-47.pdf.
- Alejandro Russo, "Dynamic vs. Static Flow-Sensitive Security Analysis", 2010, Chalmers University of Technology, pp. 187-199, .
- Alejandro Russo, "Dynamic vs. Static Flow-Sensitive Security Analysis", 2010, Chalmers University of Technology, pp. 187-199, <http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=5552646&tag=1>.
- Anderson, C., et al., "Towards Type Inference for JavaScript," Published 2009, http://pubs.doc.ic.ac.uk/typeinferenceforjavascript-ecoop/typeinferenceforjavascript-ecoop.pdf.
- Aycock, "Aggressive Type Inference," Published 2009, http://www.python.org/workshops/2000-01/proceedings/papers/aycock/aycock.html.