Skip to main content
Back to USENIX
  • Conferences
  • Students
Sign in

USENIX Conference Policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

Static Type Determination for C++

Hemant Pande & Barbara Ryder, Rutgers University

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 significance of type determination in improving code efficiency 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.

Hemant Pande, Rutgers University

Barbara Ryder, Rutgers University

BibTeX
@inproceedings {252334,
author = {Hemant Pande and Barbara Ryder},
title = {Static Type Determination for C++},
booktitle = {USENIX 6th C++ Technical Conference (USENIX 6th C++ Technical Conference)},
year = {1994},
address = {Cambridge, MA},
url = {https://www.usenix.org/conference/usenix-6th-c-technical-conference/static-type-determination-c},
publisher = {USENIX Association},
month = apr
}
Download

Links

Paper: 
http://usenix.org/publications/library/proceedings/c++94/full_papers/pande.ps
  • Log in or register to post comments

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us