Sciweavers

ISPAN
2002
IEEE

On the Impact of Naming Methods for Heap-Oriented Pointers in C Programs

14 years 3 months ago
On the Impact of Naming Methods for Heap-Oriented Pointers in C Programs
Many applications written in C allocate memory blocks for their major data structures from the heap space at runtime. The analysis of heap-oriented pointers in such programs is critical for compilers to generate high performance code. However, most previous research on pointer analysis mostly focuses on pointers pointing to global or local variables. In this paper, we study points-to analysis of heaporiented pointers using profiling information. An instrumentation tool and a set of library routines are developed to measure points-to sets of memory references at runtime. Different naming methods for heap-oriented pointers are studied. We found that it is very important to adopt appropriate naming methods to recognize wrapper functions for memory allocation and memory management functions defined by users. Based on these naming methods, the approaches in pointer analysis, such as flow sensitivity and context sensitivity, are examined with the runtime tool. The program characteristics ar...
Tong Chen, Jin Lin, Wei-Chung Hsu, Pen-Chung Yew
Added 15 Jul 2010
Updated 15 Jul 2010
Type Conference
Year 2002
Where ISPAN
Authors Tong Chen, Jin Lin, Wei-Chung Hsu, Pen-Chung Yew
Comments (0)