主权项 |
1. A computer-implemented method for profiling a web application, the method comprising:
crawling a web page containing JavaScript (JS); extracting at least a portion of the JS from the crawled web page; executing an automated simulation of the extracted JS; analyzing a document object model (DOM) structure of the web page, wherein the portion of extracted JS is based at least in part on a result of the analysis of the DOM structure; generating a mock object that mimics an object from the DOM structure of the web page; and generating a symbolic value configured to interact with the mock object, wherein the execution of the automated simulation of the extracted JS comprises utilizing the symbolic value in relation to the mock object. |