Points-to Analysis by Type Inference of Programs with Structures and Unions
نویسنده
چکیده
We present an interprocedural ow-insensitive points-to analysis algorithm based on monomorphic type inference. The source language model the important features of C including pointers, pointer arithmetic, pointers to functions, structured objects, and unions. The algorithm is based on a non-standard type system where types represent nodes and edges in a storage shape graph. This work is an extension of previous work on performing points-to analysis of C programs in almost linear time. This work makes three new contributions. The rst is an extension of a type system for describing storage shape graphs to include objects with internal structure. The second is a constraint system that can deal with arbitrary use of pointers and which incorporates a two-tier domain of pointer oosets to improve the results of the analysis. The third is an eecient inference algorithm for the constraint system, leading to an algorithm that has close to linear time and space performance in practice.
منابع مشابه
State of the Union: Dependent Type Inference via Craig Interpolation
The ad-hoc use of unions to encode disjoint sum types in C programs and the inability of C’s type system to check the safe use of these unions is a long standing source of subtle bugs. We present a dependent type system that rigorously captures the ad-hoc protocols that programmers use to encode disjoint sums, and introduce a novel technique for automatically inferring, via Craig Interpolation,...
متن کاملDesign and Production of a Pneumatic Moving Exciter for Determination of Vibration Behavior of Structures in Variable Frequencies
Determination and analysis of vibration behavior of structures for at least first few natural frequencies and mode shapes needs several sensors to be connected at different non node points and exciting the structure at one point. Other method for determination of first few mode shapes is to excite several points of the structure at once and sensing the response from one point. Both methods nee...
متن کاملA Comparative Study on Structured Continuing Medical Education Programs with 25 and 5 Credit Points According to the Viewpoints of General Physicians in Golestan Province
Introduction: Since the year 2004, structured Continuing Medical Education (CME) programs with 25 credit points were each divided into five programs of 5 credit points which were shorter in duration. The aim of this study was to conduct a comparative study on the two programs, in terms of program success, relevance to professional needs, and participants’ satisfaction. Methods: This descripti...
متن کاملThe View Points of General Surgeons Attending CME Programs Regarding their Educational Needs, in Tehran University of Medical Sciences
Introduction. In the current educational system, considering the economic aspects and rational utilization of manpower is essential. In this respect, identifying educational needs, determining priorities and latest educational methods in Continuing Medical Education (CME) programs can provide the opportunity for optimum use of limited available resources. The aim of this study was to determine...
متن کاملControlling structures by inverse adaptive neuro fuzzy inference system and MR dampers
To control structures against wind and earthquake excitations, Adaptive Neuro Fuzzy Inference Systems and Neural Networks are combined in this study. The control scheme consists of an ANFIS inverse model of the structure to assess the control force. Considering existing ANFIS controllers, which require a second controller to generate training data, the authors’ approach does not need anot...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996