首页> 外文会议>IEEE/ACM International Conference on Software Engineering: Companion >Poster: Testing Heap-Based Programs with Java StarFinder
【24h】

Poster: Testing Heap-Based Programs with Java StarFinder

机译:海报:使用Java Starfinder测试基于堆的程序

获取原文

摘要

We present Java StarFinder (JSF), a tool for automated test case generation and error detection for Java programs having inputs in the form of complex heap-manipulating data structures. The core of JSF is a symbolic execution engine that uses separation logic with existential quantifiers and inductively-defined predicates to precisely represent the (unbounded) symbolic heap. The feasibility of a heap con figuration is checked by a satisfiability solver for separation logic. At the end of each feasible path, a concrete model of the symbolic heap (returned by the solver) is used to generate a test case, e.g., a linked list or an AVL tree, that exercises that path. We show the effectiveness of JSF by applying it on non-trivial heap-manipulating programs and evaluated it against JBSE, a state-of-the-art symbolic execution engine for heap-based programs. Experimental results show that our tool significantly reduces the number of invalid test inputs and improves the test coverage.
机译:我们呈现Java Starfinder(JSF),该工具是自动测试用例的生成和错误检测,用于具有复杂堆操纵数据结构的形式的输入的Java程序。 JSF的核心是一个符号执行引擎,它使用具有存在量化器的分离逻辑和电感定义的谓词,精确地表示(无界)的符号堆。通过可满足求解器检查堆Con Firmate的可行性,用于分离逻辑。在每个可行路径的末尾,符号堆的具体模型(由求解器返回)用于生成测试用例,例如链接列表或AVL树,其练习该路径。我们通过将JSF应用于非琐碎的堆操纵程序来展示JSF的有效性,并针对JBSE评估,是基于堆的堆的符号执行引擎。实验结果表明,我们的工具显着降低了无效测试输入的数量并提高了测试覆盖范围。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号