System and method for improving coverage for web code
Abstract
A system and method for improving code coverage for web code that is analyzed for security purposes by dynamic code execution are described. A controller receives information, routes the information to the appropriate engine, analyzer or module and provides the functionality for improving code coverage for code analyzed for security purposes. A code rewrite engine rewrites code in such a way that all branches and stray functions will be executed. A dynamic analyzer performs dynamic analysis on web content to detect malicious code. Additionally, a static analyzer performs static analysis on web content. The static analyzer scans web content and detects a style of coding, a style of obfuscation of the code or patterns in the code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 8.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method, the method comprising: locating conditional statements in the web code received in web content; identifying an if-then-else construct in a first conditional statement of the conditional statements; rewriting the first conditional statement into a corresponding first unconditional statement by rewriting a then-block of the if-then-else construct into a first context-recovery block and rewriting an else-block of the if-then-else construct into a second context-recovery block to generate a modified version of the web code; and performing dynamic analysis on the modi
- Claim 2Depends on #1
The computer-implemented method of claim 1
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Blink Total Protection, Multi-Layered Endpoint Protection Platform", 2011, 2 pages, eEye Digital Security.
- AdSafe, Making JavaScript Safe for Advertising, http://www.adsafe.org, retrieved Sep. 20, 2011, 4 pgs.
- Code Coverage Meter, http://www.coveragemeter.com/codecoverage.html, retrieved Feb. 13, 2012, 11 pgs.
- Erickson, MashupOS: Can You Have Security and Web 2.0?, Dr. Dobb's Bloggers, Apr. 23, 2008, 4 pgs.
- FBJS (Facebook JavaScript)-Facebook Developers, http://www.developers.facebook.com/docs/fbjs, retrieved Feb. 13, 2012, 17 pgs.