Metrinome: Path Complexity Predicts Symbolic Execution Path Explosion
Metrinome: Path Complexity Predicts Symbolic Execution Path Explosion
复制标题
DOI:
10.1109/icse-companion52605.2021.00028
复制
发表时间:
2021-05
期刊:
影响因子:
--
通讯作者:
Gabriele Beßler;Joshimar Cordova;Shaheen Cullen-Baratloo;Sofiane Dissem;Emily Lu;Sofia Devin;Ibrahim Abughararh;Lucas Bang
中科院分区:
文献类型:
--
作者:
Gabriele Beßler;Joshimar Cordova;Shaheen Cullen-Baratloo;Sofiane Dissem;Emily Lu;Sofia Devin;Ibrahim Abughararh;Lucas Bang
This paper presents Metrinome, a tool for performing automatic path complexity analysis of C functions. The path complexity of a function is an expression that describes the number of paths through the function up to a given execution depth. Metrinome constructs the control flow graph CFG of a C function using LLVM utilities, analyzes that CFG using algebraic graph theory and analytic combinatorics, and produces a closed-form expression for the path complexity as well as the asymptotic path complexity of the function. Our experiments show that path complexity predicts the growth rate of the number of execution paths that Klee, a popular symbolic execution tool, is able to cover within a given exploration depth. Metrinome is open-source, available as a Docker image for immediate use, and all of our experiments and data are available in our repository and included in our Docker image.