首页> 外文会议> >Accurate call graph extraction of programs with function pointers using type signatures
【24h】

Accurate call graph extraction of programs with function pointers using type signatures

机译:使用类型签名的带有函数指针的程序的准确调用图提取

获取原文

摘要

Software engineers need to understand programs in order to effectively maintain them. The call graph, which presents the calling relationships between functions, is a useful representation of a program that can aid understanding. For programs that do not use function pointers, the call graph can be extracted simply by parsing the program. However, for programs that use function pointers, call graph extraction is nontrivial. Many widely used C programs utilize function pointers for efficiency and ease of implementation. We present a technique called type signature filtering for improving call graph extraction in the presence of function pointers. Filtering can be accomplished in a single pass after pointer analysis is complete, making it reusable across different analyses. Our results show that for many programs our technique yields a call graph that is nearly identical to the true call graph, even if a naive pointer analysis is used.
机译:软件工程师需要了解程序,以便有效地维护它们。呼叫图,它呈现函数之间的呼叫关系,是可以帮助理解的程序的有用表示。对于不使用函数指针的程序,可以通过解析程序来简单地提取呼叫图。但是,对于使用函数指针的程序,呼叫图提取是非虚拟性的。许多广泛使用的C程序利用函数指针进行效率和易于实现。我们介绍了一种称为类型签名滤波的技术,用于在函数指针的存在下改进呼叫图提取。在指针分析完成后,可以在单次通过中完成过滤,使其在不同的分析中可重复使用。我们的结果表明,对于许多程序,我们的技术即使使用了天真指针分析,我们的技术也会产生几乎与真正呼叫图相同的呼叫图。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号