A model counter for constraints over unbounded strings
Authors:
Open Access
- 9 June 2014
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 565-576
Abstract
Model counting is the problem of determining the number of solutions that satisfy a given set of constraints. Model counting has numerous applications in the quantitative analyses of program execution time, information flow, combinatorial circuit designs as well as probabilistic reasoning. We present a new approach to model counting for structured data types, specifically strings in this work. The key ingredient is a new technique that leverages generating functions as a basic primitive for combinatorial counting. Our tool SMC which embodies this approach can model count for constraints specified in an expressive string language efficiently and precisely, thereby outperforming previous finite-size analysis tools. SMC is expressive enough to model constraints arising in real-world JavaScript applications and UNIX C utilities. We demonstrate the practical feasibility of performing quantitative analyses arising in security applications, such as determining the comparative strengths of password strength meters and determining the information leakage via side channels.Keywords
Funding Information
- Ministry of Education - Singapore (R-252-000-495-133)
- Division of Computer and Network Systems (CNS-1228995)
This publication has 18 references indexed in Scilit:
- From Very Weak to Very Strong: Analyzing Password-Strength Meters2014
- AUTOCRYPT2013
- Symbolic quantitative information flowACM SIGSOFT Software Engineering Notes, 2012
- CryptDB2011
- Quantitative information flow as network flow capacity2008
- Counting Integer Points in Parametric Polytopes Using Barvinok's Rational FunctionsAlgorithmica, 2007
- Counting Models in Integer DomainsLecture Notes in Computer Science, 2006
- Generating cache hints for improved program efficiencyJournal of Systems Architecture, 2005
- A polynomial time algorithm for counting integral points in polyhedra when the dimension is fixed2002
- On the hardness of approximate reasoningArtificial Intelligence, 1996