• Home
  • Search
  • Synthesizing method sequences for high-coverage testing
  • Cite Icon83
  • https://doi.org/10.1145/2048066.2048083Copy DOI Icon

Synthesizing method sequences for high-coverage testing

  • Oct 22, 2011
  • Suresh Thummalapenta +4 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

High-coverage testing is challenging. Modern object-oriented programs present additional challenges for testing. One key difficulty is the generation of proper method sequences to construct desired objects as method parameters. In this paper, we cast the problem as an instance of program synthesis that automatically generates candidate programs to satisfy a user-specified intent. In our setting, candidate programs are method sequences, and desired object states specify an intent. Automatic generation of desired method sequences is difficult due to its large search space---sequences often involve methods from multiple classes and require specific primitive values. This paper introduces a novel approach, called Seeker, to intelligently navigate the large search space. Seeker synergistically combines static and dynamic analyses: (1) dynamic analysis generates method sequences to cover branches; (2) static analysis uses dynamic analysis information for not-covered branches to generate candidate sequences; and (3) dynamic analysis explores and eliminates statically generated sequences. For evaluation, we have implemented Seeker and demonstrate its effectiveness on four subject applications totalling 28K LOC. We show that Seeker achieves higher branch coverage and def-use coverage than existing state-of-the-art approaches. We also show that Seeker detects 34 new defects missed by existing tools.

Similar Papers
  • PDF
  • Research Article
  • Citations67

Malware Classification Using Probability Scoring and Machine Learning

  • Jan 01, 2019
  • IEEE Access
  • Di Xue +4
  • Dissertation

Data flow and heap analysis with application to privilege escalation vulnerability scanning and software theft detection

  • Jan 01, 2013
  • Ping-Fai Chan
  • Conference Article
  • Citations61

Program slicing enhances a verification technique combining static and dynamic analysis

  • Mar 26, 2012
  • Omar Chebaro +3
  • Book Chapter

Runtime Analysis and Instrumentation for Securing Software

  • Jan 01, 2010
  • R Sekar
  • Book Chapter
  • Citations2

Formal Framework for Reasoning About the Precision of Dynamic Analysis

  • Jan 01, 2020
  • Mila Dalla Preda +2
  • Conference Article
  • Citations19

TIGRIS: An Informed Sampling-based Algorithm for Informative Path Planning

  • Oct 23, 2022
  • Brady Moon +2
  • Conference Article
  • Citations77

Integrating Static and Dynamic Analysis for Detecting Vulnerabilities

  • Jan 01, 2006
  • Ashish Aggarwal +1
  • Research Article
  • Citations120

Detecting Cryptomining Malware: a Deep Learning Approach for Static and Dynamic Analysis

  • Jan 21, 2020
  • Journal of Grid Computing
  • Hamid Darabian +6
  • Book Chapter
  • Citations4

Malware Detection Kit for Malware Analysis of Big Data

  • Jan 01, 2021
  • T Sree Lakshmi +2
  • Conference Article
  • Citations16

Boosting static analysis accuracy with instrumented test executions

  • Aug 18, 2021
  • Tianyi Chen +2
  • Research Article
  • Citations2

Static and dynamic analyses for the exergetic, exergoeconomic and environmental assessment of a high-performance building

  • Jan 01, 2018
  • International Journal of Exergy
  • M Pinar Mengüç +1
  • Conference Article
  • Citations22

Optimistic Hybrid Analysis

  • Mar 19, 2018
  • David Devecsery +3
  • Research Article
  • Citations9

Dynamic response due to cable rupture in a transmission lines guyed towers

  • Jan 01, 2017
  • Procedia Engineering
  • Thiago B Carlos +1
  • Research Article
  • Citations26

Stability characteristics of laminated cylindrical panels under transverse loading

  • Jun 01, 1992
  • AIAA Journal
  • A N Palazotto +2
  • Research Article
  • Citations44

DO WE REALLY NEED INELASTIC DYNAMIC ANALYSIS?

  • Jan 01, 2002
  • Journal of Earthquake Engineering
  • Amr S Elnashai
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.