Customized static source code analysis
First Claim
Patent Images
1. A system comprising:
- a memory; and
a processor coupled with the memory, the processor configured to perform a customized static source code analysis of a source code, the customized static source code analysis comprising;
parsing a source code, the parsing comprising identifying a first application programming interface (API) call, and a second API call;
identifying a first analysis configuration file corresponding to the first API call, and a second analysis configuration file corresponding to the second API call;
determining, based on the first analysis configuration file, a description of the first API call and an identification of a first target resource invoked by the first API call;
determining, based on the second analysis configuration file, a second description of the second API call and an identification of a second target resource invoked by the second API call; and
generating a static source code analysis report that includes the description of the first API call and the identification of the first target resource corresponding to the first API call, and the description of the second API call and the identification of the second target resource corresponding to the second API call.
1 Assignment
0 Petitions
Accused Products
Abstract
Technical solutions are described for customized static source code analysis. An example method includes parsing a source code, the parsing comprising identifying an application programming interface (API) call. The method further includes identifying an analysis configuration file corresponding to the API call. Further, the method includes determining, based on the analysis configuration file, a description of the API call and an identification of a target resource invoked by the API call. Further, the method includes generating a static source code analysis report that includes the description of the API call and the identification of the target resource corresponding to the API call.
-
Citations
14 Claims
-
1. A system comprising:
-
a memory; and a processor coupled with the memory, the processor configured to perform a customized static source code analysis of a source code, the customized static source code analysis comprising; parsing a source code, the parsing comprising identifying a first application programming interface (API) call, and a second API call; identifying a first analysis configuration file corresponding to the first API call, and a second analysis configuration file corresponding to the second API call; determining, based on the first analysis configuration file, a description of the first API call and an identification of a first target resource invoked by the first API call; determining, based on the second analysis configuration file, a second description of the second API call and an identification of a second target resource invoked by the second API call; and generating a static source code analysis report that includes the description of the first API call and the identification of the first target resource corresponding to the first API call, and the description of the second API call and the identification of the second target resource corresponding to the second API call. - View Dependent Claims (2, 3, 4, 5, 6, 7, 14)
-
-
8. A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processing circuit to cause the processing circuit to perform customized static source code analysis, the customized static source code analysis comprising:
-
parsing a source code, the parsing comprising identifying a first application programming interface (API) call, and a second API call; identifying a first analysis configuration file corresponding to the first API call, and a second analysis configuration file corresponding to the second API call; determining, based on the first analysis configuration file, a description of the first API call and an identification of a first target resource invoked by the first API call; determining, based on the second analysis configuration file, a second description of the second API call and an identification of a second target resource invoked by the second API call; and generating a static source code analysis report that includes the description of the first API call and the identification of the first target resource corresponding to the first API call, and the description of the second API call and the identification of the second target resource corresponding to the second API call. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification