Invention Grant
- Patent Title: Compositional string analysis
-
Application No.: US16356652Application Date: 2019-03-18
-
Publication No.: US10719424B1Publication Date: 2020-07-21
- Inventor: Padmanabhan Krishnan , Raghavendra Kagalavadi Ramesh , Yang Zhao
- 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: Ferguson Braswell Fraser Kubasta PC
- Main IPC: G06F11/36
- IPC: G06F11/36 ; G06F9/54

Abstract:
A method for performing a static analysis may include extracting, from a caller function in code, a context-free inter-procedural rule including a callsite and a return value of a callee function. The callsite may invoke the callee function. The method may further include extracting, from the caller function, a context-sensitive parameter mapping rule that maps an input parameter of the callee function to an invocation value provided by the caller function at the callsite, deriving a derived value for the callsite using the context-free inter-procedural rule and the context-sensitive parameter mapping rule, and identifying a defect in the code by performing the static analysis using the derived value for the callsite.
Information query