US Patent:
20120117547, May 10, 2012
Inventors:
GOGUL BALAKRISHNAN - Princeton NJ, US
Naoto Maeda - Lawrenceville NJ, US
Franjo Ivancic - Princeton NJ, US
Nishant Sinha - Plainsboro NJ, US
Aarti Gupta - Princeton NJ, US
Jing Yang - Chartottesville VA, US
Assignee:
NEC Laboratories America, Inc. - Princeton NJ
International Classification:
G06F 9/45
Abstract:
A model is provided for transforming a program with a priori given class hierarchy that is induced by inheritance. An inheritance remover is configured to remove inheritance from a given program to produce an analysis-friendly program which does not include virtual-function pointer tables and runtime libraries associated with inheritance-related operations. The analysis-friendly program preserves the semantics of the given program with respect to a given class hierarchy. A clarifier is configured to identify implicit expressions and function calls and transform the given program into at least one intermediate program having explicit expressions and function calls.