Method for obtaining webpage execution JavaScript function call path
A function call path and function technology, applied in the Internet field, can solve the problem that the setTimeOut function and the setInterval function cannot continue to track, and achieve the effect of convenient tracking and debugging, convenient tracking and detection
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0027] Step 1: Insert the JavaScript code executed by the web page
[0028] Use JavaScript's dynamic instrumentation tool Jalangi to set a proxy server for the browser. When the web page is loaded, all executed script files will pass through Jalangi's proxy server. Configuration, you can obtain information such as properties before and after function execution in JavaScript.
[0029] Step 2: Obtain and track JavaScript function call path information
[0030] Such as figure 1 As shown, since the JavaScript language has the feature of allowing dynamic binding of attributes to functions, it is considered to bind a trace attribute to record the trace path on the function of the call path. By modifying and passing the trace attribute, the transfer function call can be achieved. Information, the purpose of obtaining the function call path.
[0031] Using Array....
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


