Fitness-guided path exploration in dynamic symbolic execution
The DOI matches its Crossref record; 29 of the 29 references it cites were found in a registry or an index.
Abstract
Dynamic symbolic execution is a structural testing technique that systematically explores feasible paths of the program under test by running the program with different test inputs to improve code coverage. To address the space-explosion issue in path exploration, we propose a novel approach called Fitnex, a search strategy that uses state-dependent fitness values (computed through a fitness function) to guide path exploration. The fitness function measures how close an already discovered feasible path is to a particular test target (e.g., covering a not-yet-covered branch). Our new fitness-guided search strategy is integrated with other strategies that are effective for exploration problems where the fitness heuristic fails. We implemented the new approach in Pex, an automated structural testing tool developed at Microsoft Research. We evaluated our new approach by comparing it with existing search strategies. The empirical results show that our approach is effective since it consistently achieves high code coverage faster than existing search strategies.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Object-Oriented Software Construction
Meyer, B. (1988) · UCLA - Biblioteca de Ciencias y Tecnologia Felix Morales Bueno · Cited by 4,011
Symbolic execution and program testing
King, J. C. (1976) · Communications of the ACM · doi:10.1145/360248.360252 · Cited by 3,031 · cited 2×
“DSE is a variation of symbolic execution [4,10], which leverages observations from concrete executions.”
BackgroundDART: directed automated random testing
Godefroid, P., Klarlund, N., & Sen, K. (2005) · ACM SIGPLAN Notices · doi:10.1145/1064978.1065036 · Cited by 2,067
Object-oriented software construction
America, P. (1989) · Science of Computer Programming · doi:10.1016/0167-6423(89)90034-8 · Cited by 2,008
CUTE: a concolic unit testing engine for C
Sen, K., Marinov, D., & Agha, G. (2005) · Proceedings of the 10th European software engineering conference held jointly with 13th ACM SIGSOFT international symposium on Foundations of software engineering · doi:10.1145/1081706.1081750 · Cited by 1,651 · cited 7×
“Dynamic symbolic execution (DSE) [3, 6, 14] is a variation of conventional static symbolic execution [4, 10].”
BackgroundMethodInfluentialDART: directed automated random testing
Godefroid, P., Klarlund, N., & Sen, K. (2005) · Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation · doi:10.1145/1065010.1065036 · Cited by 1,570 · cited 6×
“Dynamic symbolic execution (DSE) [3, 6, 14] is a variation of conventional static symbolic execution [4, 10].”
BackgroundMethodInfluentialSearch‐based software test data generation: a survey
McMinn, P. (2004) · Software Testing, Verification and Reliability · doi:10.1002/stvr.294 · Cited by 1,368 · cited 2×
“Given a target predicate, we measure how close its evaluation at runtime is to covering the target predicate with fitness functions [18] as listed in Table 1 (these fitness functions are commonly used in search-based test generation [11]).”
BackgroundMethodVisser, W., Havelund, K., Brat, G., Park, S., & Lerda, F. (2003) · Automated Software Engineering · doi:10.1023/a:1022920129859 · Cited by 1,343 · cited 1×
“input. The JPF [ 24 ] model checker has also been extended to support static symbolic execution [3], instead of dynamic symbolic execution supported by the preceding tools.”
MethodAutomated Whitebox Fuzz Testing.
Godefroid, P., Levin, M. Y., & Molnar, D. A. (2008) · Cited by 1,095
Feedback-Directed Random Test Generation
Pacheco, C., Lahiri, S. K., Ernst, M. D., & Ball, T. (2007) · 29th International Conference on Software Engineering (ICSE'07) · doi:10.1109/icse.2007.37 · Cited by 863 · cited 1×
“Random testing [13] is one of the most commonly used techniques for software testing primarily due to its ease of implementation and the marginal overhead in choosing inputs.”
MethodPex–White Box Test Generation for .NET
Tillmann, N., & de Halleux, J. (2008) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-79124-9_10 · Cited by 791
Self-citationPreliminary design of JML: a behavioral interface specification language for java
Leavens, G. T., Baker, A. L., & Ruby, C. (2006) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/1127878.1127884 · Cited by 790 · cited 1×
“Note that an assertion is used here in a general sense; the behavior reflected by the assertion can be expressed using contracts [13,17] or as part of parameterized unit tests [21].”
BackgroundEXE: automatically generating inputs of death
Cadar, C., Ganesh, V., Pawlowski, P. M., Dill, D. L., & Engler, D. R. (2006) · Proceedings of the 13th ACM conference on Computer and communications security · doi:10.1145/1180405.1180445 · Cited by 788 · cited 6×
“Dynamic symbolic execution (DSE) [3, 6, 14] is a variation of conventional static symbolic execution [4, 10].”
BackgroundMethodInfluentialA System to Generate Test Data and Symbolically Execute Programs
Clarke, L. A. (1976) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1976.233817 · Cited by 764 · cited 2×
“DSE is a variation of symbolic execution [4,10], which leverages observations from concrete executions.”
BackgroundMajumdar, R., & Sen, K. (2007) · 29th International Conference on Software Engineering (ICSE'07) · doi:10.1109/icse.2007.41 · Cited by 426 · cited 1×
“provided by our Fitnex approach alleviates issues encountered by previous DSE approaches with (bounded) exhaustive search [5,8,19] or random search [ 15 ].”
MethodHeuristics for Scalable Dynamic Test Generation
Burnim, J., & Sen, K. (2008) · 2008 23rd IEEE/ACM International Conference on Automated Software Engineering · doi:10.1109/ase.2008.69 · Cited by 412 · cited 2×
“CREST [2] uses a search strategy guided by the control flow graph of the program under test and two random strategies.”
MethodEvolutionary testing of classes
Tonella, P. (2004) · Proceedings of the 2004 ACM SIGSOFT international symposium on Software testing and analysis · doi:10.1145/1007512.1007528 · Cited by 410 · cited 3×
“In future work, we plan to explore using a new type of fitness function [17] by measuring the distances between an already explored path and statically computed paths that can reach immediately before a test target.”
MethodCompositional dynamic test generation
Godefroid, P. (2007) · ACM SIGPLAN Notices · doi:10.1145/1190215.1190226 · Cited by 408
Compositional dynamic test generation
Godefroid, P. (2007) · Proceedings of the 34th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/1190216.1190226 · Cited by 314 · cited 2×
“SMART [5], an extension of DART, computes method summaries in order to make the analysis modular and thereby more scalable, and it requires a fixed order that explores innermost functions first.”
MethodRWset: Attacking Path Explosion in Constraint-Based Test Generation
Boonstoppel, P., Cadar, C., & Engler, D. (2008) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-78800-3_27 · Cited by 234 · cited 2×
“Its recent improvement [4] cuts off redundant parts of the search space, and requires a strict depth-first search.”
BackgroundJPF–SE: A Symbolic Execution Extension to Java PathFinder
Anand, S., Păsăreanu, C. S., & Visser, W. (2007) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-71209-1_12 · Cited by 232 · cited 1×
“JPF [1] includes strategies of depth-first and breadth-first search in addition to structural heuristics [8].”
MethodDemand-Driven Compositional Symbolic Execution
Anand, S., Godefroid, P., & Tillmann, N. (2008) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-78800-3_28 · Cited by 217 · cited 1×
“Using summarization techniques [2, 7], it is possible to collapse subtrees into nodes.”
MethodSelf-citationTillmann, N., & Schulte, W. (2005) · Proceedings of the 10th European software engineering conference held jointly with 13th ACM SIGSOFT international symposium on Foundations of software engineering · doi:10.1145/1081706.1081749 · Cited by 213 · cited 1×
“Note that an assertion is used here in a general sense; the behavior reflected by the assertion can be expressed using contracts [12] or as part of parameterized unit tests [16].”
BackgroundSelf-citationAutomated program flaw finding using simulated annealing
Tracey, N., Clark, J., & Mander, K. (1998) · Proceedings of the 1998 ACM SIGSOFT international symposium on Software testing and analysis · doi:10.1145/271771.271792 · Cited by 204
ARTOO: adaptive random testing for object-oriented software
Ciupa, I., Leitner, A., Oriol, M., & Meyer, B. (2008) · Proceedings of the 13th international conference on Software engineering - ICSE '08 · doi:10.1145/1368088.1368099 · Cited by 198 · cited 1×
“Random testing [6,18] is one of the most commonly used techniques for software testing primarily due to its ease of implementation and the marginal overhead in choosing inputs.”
MethodInkumsah, K., & Xie, T. (2008) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2008.40 · Cited by 148 · cited 2×
“Evacon [9] loosely integrates evolutionary testing [17] and symbolic execution [14] in generating effective method sequences for achieving high structural coverage.”
MethodSelf-citationAutomating Software Testing Using Program Analysis
Godefroid, P., de Halleux, P., Nori, A. V., Rajamani, S. K., Schulte, W., Tillmann, N., & Levin, M. Y. (2008) · IEEE Software · doi:10.1109/ms.2008.109 · Cited by 137
Self-citationModel checking Java programs using structural heuristics
Groce, A., & Visser, W. (2002) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/566171.566175 · Cited by 81
Evacon: a framework for integrating evolutionary and concolic testing for object-oriented programs
Inkumsah, K., & Xie, T. (2007) · doi:10.1145/1321631.1321700 · Cited by 53 · cited 2×
“Recently Evacon developed by Inkumsah and Xie [11] loosely integrates evolutionary testing [22] and symbolic execution [19] in generating effective method sequences for achieving high structural coverage.”
MethodSelf-citation
Cited by
Search-based software engineering: Trends, techniques and applications
Harman, M., Mansouri, S. A., & Zhang, Y. (2012) · ACM Computing Surveys · doi:10.1145/2379776.2379787 · Cited by 777
Symbolic execution for software testing: three decades later
Cadar, C., & Sen, K. (2013) · Communications of the ACM · doi:10.1145/2408776.2408795 · Cited by 776
A survey of symbolic execution techniques
Baldoni, R., Coppa, E., D’elia, D. C., Demetrescu, C., & Finocchi, I. (2019) · ACM Computing Surveys · doi:10.1145/3182657 · Cited by 708
(2021) · doi:10.1109/tse.2019.2946563 · Cited by 574
AppIntent: analyzing sensitive data transmission in android for privacy leakage detection
Yang, Z., Yang, M., Zhang, Y., Gu, G., Ning, P., & Wang, X. S. (2013) · Proceedings of the 2013 ACM SIGSAC conference on Computer & communications security - CCS '13 · doi:10.1145/2508859.2516676 · Cited by 348
Metadata
- Authors
- Xie, T., Tillmann, N., de Halleux, J., & Schulte, W.
- Venue
- 2009 IEEE/IFIP International Conference on Dependable Systems & Networks
- Publisher
- IEEE
- Published
- 2009-06
- Pages
- 359-368
- OpenAlex
- W2114345296
- Cited by
- 238
- References
- 29
- FWCI
- 10.13
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.