Logo image
Static Type Determination for C++
Technical documentation   Open access

Static Type Determination for C++

Hemant D. Pande and Barbara G. Ryder
Rutgers University
1990
DOI:
https://doi.org/10.7282/T3RJ4NXX

Abstract

Static type determination involves compile time calculation of the type of object a pointer may point to at a particular program point during some execution. We show that the problem of precise interprocedural type determination is NP-hard in the presence of inheritance, virtual methods and pointers. We highlight the signicance of type determination in improving code eciency and precision of other static analyses. We present a safe, approximate algorithm for C++ programs with single level pointers, using the conditional analysis technique [LR91]. We discuss the generalization of our approach to analyze programs with multiple levels of pointer dereferencing.
pdf
lcsr-tr-197-a258.36 kBDownloadView
Technical Documentation Open Access
url
Report an accessibility issueView
Please complete a content remediation request to report an accessibility issue with a library electronic resource, website, or service.

Metrics

47 File downloads
85 Record Views

Details

Logo image