首页> 外文会议>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进行的,包括超过400万行代码。分析系统并确定函数指针和虚拟方法调用的数量。此外,函数指针基于它们的类型和它们在进行过程间静态分析时姿势的复杂性进行分类。结果表明,函数指针更频繁地用于使分析非常困难的情况(即,NP-HARD)。因此,进行准确的程序分析(例如,程序切片,呼叫图生成)变得非常昂贵或不切实际。在GCC的十年期间分析历史数据表明,使用函数指针和虚拟方法在其寿命中使用两个呼叫的使用情况增加,从而对程序间分析产生了进一步的问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号