14
edits
Mchanlatte (talk | contribs) No edit summary |
Mchanlatte (talk | contribs) |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 18: | Line 18: | ||
See: <https://wiki.mozilla.org/Security/B2G/JavaScript_code_analysis> | See: <https://wiki.mozilla.org/Security/B2G/JavaScript_code_analysis> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 39: | Line 25: | ||
| JS WebTools || No || || || || | | JS WebTools || No || || || || | ||
|- | |- | ||
| | | Esprima || Partial || JS || || || Partial ES6 Support | ||
|- | |- | ||
| Ternjs || No || JS or http+json || || || | | Ternjs || No || JS or http+json || || || | ||
| Line 49: | Line 33: | ||
| Safe || No || Java || || || | | Safe || No || Java || || || | ||
|- | |- | ||
| JSAI || No || Coffee Script (stated in paper) || || Couldn't locate code || | | JSAI || No || Coffee Script (stated in paper) || || ||Couldn't locate code | ||
|- | |||
| TAJS || No || || || || | |||
|} | |} | ||
== Algorithms and Techniques == | |||
=== k-CFA === | |||
Family of flow analyses that approximate the program as a DFA via a structure called the call graph. | |||
=== Anderson's Points-To Analysis === | |||
=== Use Analysis === | |||
=== CFA2 === | |||
Approximate the program as a PDA allowing seperate call sites to be distiguished (avoiding call/return mismatch). Implemented in Doctorjs | |||
=== Inlining Eval === | |||
=== Dealing with "with" === | |||
= Ways to get the AST = | = Ways to get the AST = | ||
edits