Title :
Trickle: Automated infeasible path detection using all minimal unsatisfiable subsets
Author :
Blackham, Bernard ; Liffiton, Mark ; Heiser, Gernot
Author_Institution :
NICTA & Univ. of New South Wales, Sydney, NSW, Australia
Abstract :
Static analysis techniques can be used to compute safe bounds on the worst-case execution time (WCET) of programs. For large programs, abstractions are often required to curb computational complexity. These abstractions may introduce infeasible paths which result in significant overestimation. These paths can be eliminated by adding additional constraints to the static analysis. Such constraints can be found manually but this is labour-intensive and error-prone. Automated methods of finding infeasible path constraints are thus highly desirable. In this paper we present Trickle: a method to automatically detect infeasible paths on compiled binary programs, in order to refine WCET estimates. We build upon the Sequoll framework and apply satisfiability modulo theory (SMT) solvers to find classes of infeasible paths. Unlike other techniques, Trickle can find infeasible paths which contain an arbitrary number of conflicting conditions. We also integrate the compute all minimal unsatisfiable subsets (CAMUS) algorithm to reduce the number of refinement iterations required. We show the practicality of Trickle by applying it to a WCET analysis of the seL4 microkernel. We also evaluate its effectiveness on the Mälardalen WCET benchmarks.
Keywords :
computability; computational complexity; program diagnostics; CAMUS algorithm; SMT solver; Sequoll framework; Trickle; WCET; automated infeasible path detection; computational complexity; compute all minimal unsatisfiable subsets; satisfiability modulo theory; static analysis technique; worst-case execution time; Algorithm design and analysis; Computational complexity; Educational institutions; Equations; Hardware; Image edge detection; Mathematical model; Operating system kernels; Real time systems; Software verification and validation;
Conference_Titel :
Real-Time and Embedded Technology and Applications Symposium (RTAS), 2014 IEEE 20th
Conference_Location :
Berlin
Print_ISBN :
978-1-4799-4691-4
DOI :
10.1109/RTAS.2014.6926000