JavaScript function parameter mismatch detection method based on static program analysis
A technology of static program analysis and detection method, applied in the field of software and computer
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0014] The present invention specifically comprises the following steps:
[0015] 1) Import the project to be analyzed, and extract the information related to the functions defined and called in the project. This information is obtained by building an abstract syntax tree, traversing the abstract syntax tree, and analyzing it from the grammatical level.
[0016] 2) Construct the function call graph of the custom function of the entire project, and then obtain the definition-call pair according to the function call graph, and combine the function call obtained in step 1) and the relevant information of the function definition to obtain each pair of definition-call with information right.
[0017] 3) Infer the parameter types of defining functions and calling functions by combining static program analysis, natural language processing and probability models. For defining functions, type inference is performed on parameters through natural language processing methods, and at the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com