Invention Grant
- Patent Title: Type widening for source code analysis
-
Application No.: US15164656Application Date: 2016-05-25
-
Publication No.: US09652358B1Publication Date: 2017-05-16
- Inventor: Alexander Spoon
- Applicant: Semmle Limited
- Applicant Address: GB Oxford
- Assignee: Semmle Limited
- Current Assignee: Semmle Limited
- Current Assignee Address: GB Oxford
- Agency: Fish & Richardson P.C.
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F11/36

Abstract:
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating widened types for static analysis. One of the methods includes receiving an output generated by a program parser for a source code file, wherein the output identifies a respective original type for each of one or more source code elements in the source code file. A respective widened type name is generated for each of one or more source code elements in the output, the widened type name being different from an original type name of the original type of the source code element. Static analysis are generated results for the source code file, wherein the static analysis results reference each source code element of the one or more source code elements by a respective widened type name for the source code element instead of by a respective original type name of the source code element.
Information query