首页> 外文会议>Annual midwest instruction and computing symposium >Examining The Prevalence and The Historical Trends of Indirect Function Calls in Open Source Systems: A Case Study, gcc 2001-2011
【24h】

Examining The Prevalence and The Historical Trends of Indirect Function Calls in Open Source Systems: A Case Study, gcc 2001-2011

机译:研究开源系统中间接函数调用的流行和历史趋势:一个案例研究,gcc 2001-2011

获取原文

摘要

An empirical study that examines the prevalence and distribution of indirect function calls using function pointers and virtual methods in general-purpose software systems is presented. The study is conducted on a well-known, large-scale software system, gcc.4.5.3, comprising over four million lines of code. The system is analyzed and the number of function pointer and virtual method calls is determined. Additionally, function pointers are categorized based on their type and the complexity they pose when conducting inter-procedural static analysis. The results show that more often than not, function pointers are used in situations that make analysis very difficult (i.e., NP-hard). Thus, conducting accurate program analysis (e.g., program slicing, call graph generation) becomes very costly, or impractical, to conduct. Analysis of the historical data over a ten-year period of gcc shows that there is an increase in the usage of both calls using function pointers and virtual methods over its lifetime, thus posing further problems for inter-procedural analysis.
机译:进行了一项实证研究,该研究使用通用软件系统中的函数指针和虚拟方法来检查间接函数调用的普遍性和分布。这项研究是在一个著名的大型软件系统gcc.4.5.3上进行的,该系统包含四百万行代码。对系统进行了分析,并确定了函数指针和虚拟方法调用的数量。另外,函数指针根据其类型和进行过程间静态分析时所带来的复杂性进行分类。结果表明,函数指针经常用于使分析变得非常困难的情况(即NP困难)。因此,进行精确的程序分析(例如,程序切片,调用图生成)变得非常昂贵或不切实际。对gcc十年期间的历史数据进行的分析表明,在整个生命周期中,使用函数指针和虚拟方法进行的调用的使用率都有所增加,从而给过程间分析带来了更多问题。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号