Toward Static Analysis of Real-World JavaScript Code - or ...
Toward Static Analysis of Real-World JavaScript Code
- or, The Curse of jQuery
Anders M?ller
Center for Advanced Software Analysis Aarhus University, Denmark
March 23 2015
JavaScript needs static analysis
? JavaScript is now everywhere ? Testing is still the only technique programmers
have for finding errors in their code ? Static analysis can (in principle) be used for
? bug detection (e.g. "x.p in line 7 always yields undefined") ? code completion ? optimization
2
TAJS in Eclipse
3
The TAJS approach
[Jensen, M?ller, and Thiemann, SAS'09]
? Dataflow analysis (abstract interpretation) using the monotone framework
[Kam & Ullman '77]
? The recipe:
1. construct a control flow graph for each function in the program to be analyzed
2. define an appropriate dataflow lattice (abstraction of data)
3. define transfer functions (abstraction of operations)
4
Control flow graphs
? Convenient intermediate representation of JavaScript programs
? Nodes describe primitive instructions
? Edges describe intra-procedural control-flow
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- declare array in jquery example
- human computer interaction design ixd
- lecture 2 javascript
- the javascript revolution emory university
- functional and object oriented javascript
- arrays 1 courses
- toward static analysis of real world javascript code or
- helium push notification architecture jimmy dee urban airship
- javascript cheat sheet edu
- string numbers
Related searches
- list of real world problems
- real world example of market failure
- examples of real world problems
- real world applications of math
- principles of real analysis pdf
- static analysis solidworks
- systems of equations real world problems
- real world example of photosynthesis
- real world example of the ninth amendment
- example of real world plagiarism
- real world example of structuralism
- real world examples of inequalities