Logo image
Function Pointers in C - An Empirical Study
Technical documentation   Open access

Function Pointers in C - An Empirical Study

Anand Shah and Barbara G. Ryder
Rutgers University
1995
DOI:
https://doi.org/10.7282/T3X92FRK

Abstract

Interprocedural analysis requires a statically determinable call multigraph to represent the program. Programs that use function pointers or function-valued variables present a difficult problem for static analysis. In C, function pointers can be formal parameters, actual arguments to functions, or global/local variables. The difficulty of precisely determining the call multigraph of a program { or statically determining the aliases of a function pointer at a call site { depends on the types of function pointers used (i.e., local or global) [ZR94]. In this study, we have statically gathered empirical information on C function pointer usage to better predict appropriate interprocedural analyses required for C programs.
pdf
lcsr-tr-244147.97 kBDownloadView
Version of Record (VoR) 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

98 File downloads
128 Record Views

Details

Logo image