Function summarization via type inference
AssigneeRaytheon Company
InventorsAndrew Ralph Calvano, Timothy Bryant
Life of this patent
Estimating the term…
Abstract
A system and method for function summarization. In some embodiments, the method includes: identifying a basic function called by a first function, the first function having a signature; determining a first type, the first type being a type of an argument of the basic function or a type of a return value of the basic function; and propagating the first type, to determine a first portion of the signature of the first function.
Claims20
A method for function summarization, the method comprising:
- Identifying, from object code, a basic function called by a first function, the first function having a signature;
- determining a first type, the first type being a type of an argument of the basic function or a type of a return value of the basic function;
- and
- propagating the first type, to determine a first portion of the signature of the first function.
A system for function summarization, the system comprising a processing circuit and a memory, the memory storing instructions that, when executed by the processing circuit, cause the processing circuit to:
- Identify, from object code, a basic function called by a first function, the first function having a signature;
- determine a first type, the first type being a type of an argument of the basic function or a type of a return value of the basic function;
- and
- propagate the first type, to determine a first portion of the signature of the first function.
Dependencies are inferred from the claim text.