Invention Grant
- Patent Title: Combining type-analysis with points-to analysis for analyzing library source-code
- Patent Title (中): 结合类型分析与分析库源代码分析
-
Application No.: US14319698Application Date: 2014-06-30
-
Publication No.: US09336397B2Publication Date: 2016-05-10
- Inventor: Nicholas John Allen , Padmanabhan Krishnan , Bernhard Friedrich Scholz
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Osha • Liang LLP
- Main IPC: G06F21/57
- IPC: G06F21/57

Abstract:
In general, in one aspect, the invention relates to a method for statically analyzing a library that includes obtaining native method annotations associated with native methods invoked by the library and extracting facts corresponding to the library from the library to obtain library facts. The library is written in a first programming language. The method also includes constructing a type-object lattice, modeling an abstracted heap using the type-object lattice, expressing abstracted heap update operations as heap update rules, and constructing, based on the library, a most general application (MGA) for the library. The method additionally includes analyzing the library using the native method annotations, the library facts, the MGA, the abstracted heap, and the heap update rules to obtain results, storing the results of the analysis, and performing an action based on the results.
Public/Granted literature
- US20150379271A1 COMBINING TYPE-ANALYSIS WITH POINTS-TO ANALYSIS FOR ANALYZING LIBRARY SOURCE-CODE Public/Granted day:2015-12-31
Information query