Check 'n' crash: combining static checking and testing
The DOI matches its Crossref record; 18 of the 18 references it cites were found in a registry or an index.
Abstract
We present an automatic error-detection approach that combines static checking and concrete test-case generation. Our approach consists of taking the abstract error conditions inferred using theorem proving techniques by a static checker (ESC/Java), deriving specific error conditions using a constraint solver, and producing concrete test cases (with the JCrasher tool) that are executed to determine whether an error truly exists. The combined technique has advantages over both static checking and automatic testing individually. Compared to ESC/Java, we eliminate spurious warnings and improve the ease-of-comprehension of error reports through the production of Java counterexamples. Compared to JCrasher, we eliminate the blind search of the input space, thus reducing the testing time and increasing the test quality.
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
Davis, D. B. (1993) · Datamation · doi:10.5555/169231.169256 · Cited by 1,592
Extended static checking for Java
Flanagan, C., Leino, K. R. M., Lillibridge, M., Nelson, G., Saxe, J. B., & Stata, R. (2002) · Proceedings of the ACM SIGPLAN 2002 conference on Programming language design and implementation · doi:10.1145/512529.512558 · Cited by 1,340 · cited 6×
“AND AUTOMATIC TESTING 2.1 Background: ESC and JCrasher The Extended Static Checker for Java (ESC/Java) [9] is a compile-time program checker that detects precondition violations.”
BackgroundMethodInfluentialPoints-to analysis in almost linear time
Steensgaard, B. (1996) · Proceedings of the 23rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '96 · doi:10.1145/237721.237727 · Cited by 1,088 · cited 1×
“We solve these with a simple equivalence-class-based aliasing algorithm, similar to the well-known alias analysis by Steensgard [23].”
MethodPreliminary 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×
“ESC/Java recognizes preconditions stated in the Java Modeling Language (JML) [17].”
BackgroundSimplify: a theorem prover for program checking
Detlefs, D., Nelson, G., & Saxe, J. B. (2005) · Journal of the ACM · doi:10.1145/1066100.1066102 · Cited by 786 · cited 1×
“ESC uses the Simplify theorem prover [6] to derive counterexamples from the conjunction of wp(m, true) and additional formulae that encode the class to which m belongs as well as Java semantics.”
MethodHovemeyer, D., & Pugh, W. (2004) · Companion to the 19th annual ACM SIGPLAN conference on Object-oriented programming systems, languages, and applications · doi:10.1145/1028664.1028717 · Cited by 760
Korat: automated testing based on Java predicates
Boyapati, C., Khurshid, S., & Marinov, D. (2002) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/566171.566191 · Cited by 593
JCrasher: an automatic robustness tester for Java
Csallner, C., & Smaragdakis, Y. (2004) · Software: Practice and Experience · doi:10.1002/spe.602 · Cited by 426 · cited 6×
“Finally, we employ our JCrasher tool [5] to produce actual Java test cases to exhibit the error.”
BackgroundMethodInfluentialSelf-citationHoudini, an Annotation Assistant for ESC/Java
Flanagan, C., & Leino, K. R. M. (2001) · Lecture Notes in Computer Science · doi:10.1007/3-540-45251-6_29 · Cited by 405 · cited 1×
“Tools like Houdini [8] can possibly be used to extract ESC/Java failure predicates and employ their inverse as a pre-condition for the current method (essentially giving ESC/Java interprocedural capabilities).”
MethodDynamically discovering likely program invariants to support program evolution
Ernst, M. D., Cockrell, J., Griswold, W. G., & Notkin, D. S. (1999) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/302405.302467 · Cited by 357 · cited 2×
“, it violates the testee’s invariants, which are inferred from the suite’s execution traces using the Daikon tool [7].”
Method
Cited by
DART: directed automated random testing
Godefroid, P., Klarlund, N., & Sen, K. (2005) · ACM SIGPLAN Notices · doi:10.1145/1064978.1065036 · Cited by 2,067
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
DART: 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
A Survey on Software Fault Localization
Wong, W. E., Gao, R., Li, Y., Abreu, R., & Wotawa, F. (2016) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2016.2521368 · Cited by 1,110
“CnC Static checking and testing tool openly accessible [81]”
BackgroundMethodInfluentialFeedback-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
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
Majumdar, R., & Sen, K. (2007) · 29th International Conference on Software Engineering (ICSE'07) · doi:10.1109/icse.2007.41 · Cited by 426
Compositional dynamic test generation
Godefroid, P. (2007) · ACM SIGPLAN Notices · doi:10.1145/1190215.1190226 · Cited by 408
CUTE: a concolic unit testing engine for C
Sen, K., Marinov, D., & Agha, G. (2005) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/1095430.1081750 · Cited by 315
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
A survey of new trends in symbolic execution for software testing and analysis
Păsăreanu, C. S., & Visser, W. (2009) · International Journal on Software Tools for Technology Transfer · doi:10.1007/s10009-009-0118-1 · Cited by 231
“actually produces the expected error (similar to Check-nCrash [20]).”
Demand-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
“Static test generation [15,22,7] consists in analyzing the program P statically, using symbolic execution techniques to attempt to compute inputs to drive P along specific paths or branches, but without ever executing the program.”
MethodTillmann, 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
“Recently [11] combined random input generation with constraint solving to test the robustness of individual methods, where ESC/Java [15] reports give constraint systems indicating necessary conditions for potential errors.”
Software testing: a research travelogue (2000–2014)
Orso, A., & Rothermel, G. (2014) · Future of Software Engineering Proceedings · doi:10.1145/2593882.2593885 · Cited by 211
“…representative and well-known examples of random-testing approaches include JCrasher, an automatic robustness tester for Java developed by Csallner and Smaragdakis [46], followup work that combines test input generation and static analysis [47,48], and Randoop, by Pacheco and colleagues [144–146].”
MethodUpgrading Your Android, Elevating My Malware: Privilege Escalation through Mobile OS Updating
Xing, L., Pan, X., Wang, R., Yuan, K., & Wang, X. (2014) · 2014 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2014.32 · Cited by 111
“Formal reasoning tools have been widely used for bug findings [20], [27], [25], [33].”
MethodDsc+Mock: a test case + mock class generator in support of coding against interfaces
Islam, M., & Csallner, C. (2010) · Proceedings of the Eighth International Workshop on Dynamic Analysis · doi:10.1145/1868321.1868326 · Cited by 30
Self-citation
Metadata
- Authors
- Csallner, C., & Smaragdakis, Y.
- Venue
- Proceedings of the 27th international conference on Software engineering - ICSE '05
- Publisher
- ACM Press
- Published
- 2005
- Pages
- 422
- ISSN
- 0270-5257 (ISSN-L)
- OpenAlex
- W2146641295
- Cited by
- 220
- References
- 18
- Type
- conference abstract
- 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.