Automata-Based Model Counting for String Constraints

被引:59
|
作者
Aydin, Abdulbaki [1 ]
Bang, Lucas [1 ]
Bultan, Tevfik [1 ]
机构
[1] Univ Calif Santa Barbara, Santa Barbara, CA 93106 USA
来源
关键词
STATIC ANALYSIS;
D O I
10.1007/978-3-319-21690-4_15
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Most common vulnerabilities in Web applications are due to string manipulation errors in input validation and sanitization code. String constraint solvers are essential components of program analysis techniques for detecting and repairing vulnerabilities that are due to string manipulation errors. For quantitative and probabilistic program analyses, checking the satisfiability of a constraint is not sufficient, and it is necessary to count the number of solutions. In this paper, we present a constraint solver that, given a string constraint, (1) constructs an automaton that accepts all solutions that satisfy the constraint, (2) generates a function that, given a length bound, gives the total number of solutions within that bound. Our approach relies on the observation that, using an automata-based constraint representation, model counting reduces to path counting, which can be solved precisely. We demonstrate the effectiveness of our approach on a large set of string constraints extracted from real-world web applications.
引用
收藏
页码:255 / 272
页数:18
相关论文
共 50 条
  • [31] Bone Remodelling: A Complex Automata-Based Model Running in BIOSHAPE
    Cacciagrano, Diletta
    Corradini, Flavio
    Merelli, Emanuela
    CELLULAR AUTOMATA, 2010, 6350 : 116 - 127
  • [32] Counting and equality constraints for multitree automata
    Lugiez, D
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, PROCEEDINGS, 2003, 2620 : 328 - 342
  • [33] Tools for support of automata-based programming
    Gurov, V. S.
    Mazin, M. A.
    Narvsky, A. S.
    Shalyto, A. A.
    PROGRAMMING AND COMPUTER SOFTWARE, 2007, 33 (06) : 343 - 355
  • [34] Cellular Automata-Based LDPC Decoder
    Queen, C. Abisha
    Anbuselvi, M.
    Salivahanan, S.
    ARTIFICIAL INTELLIGENCE AND EVOLUTIONARY COMPUTATIONS IN ENGINEERING SYSTEMS, ICAIECES 2015, 2016, 394 : 885 - 894
  • [35] Cellular automata-based noise generator
    Kokolakis, I
    Koukopoulos, S
    Andreadis, I
    Boutalis, Y
    JOURNAL OF THE FRANKLIN INSTITUTE-ENGINEERING AND APPLIED MATHEMATICS, 1999, 336 (05): : 799 - 808
  • [36] A learning automata-based memetic algorithm
    Mirsaleh, M. Rezapoor
    Meybodi, M. R.
    GENETIC PROGRAMMING AND EVOLVABLE MACHINES, 2015, 16 (04) : 399 - 453
  • [37] Automata-based representations for infinite graphs
    La Torre, S
    Napoli, M
    RAIRO-INFORMATIQUE THEORIQUE ET APPLICATIONS-THEORETICAL INFORMATICS AND APPLICATIONS, 2001, 35 (04): : 311 - 330
  • [38] An Automata-Based View on Configurability and Uncertainty
    Berglund, Martin
    Schaefer, Ina
    THEORETICAL ASPECTS OF COMPUTING - ICTAC 2018, 2018, 11187 : 80 - 98
  • [39] An automata-based approach to CSCW verification
    Papadopoulos, C
    INTERNATIONAL JOURNAL OF COOPERATIVE INFORMATION SYSTEMS, 2004, 13 (02) : 183 - 209
  • [40] A learning automata-based memetic algorithm
    M. Rezapoor Mirsaleh
    M. R. Meybodi
    Genetic Programming and Evolvable Machines, 2015, 16 : 399 - 453