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 条
  • [41] Specification and analysis of automata-based designs
    Bryans, J
    Blair, L
    Bowman, H
    Derrick, J
    INTEGRATED FORMAL METHODS, PROCEEDINGS, 2000, 1945 : 176 - 193
  • [42] A Trust Model for Service Selection, Using Learning Automata-Based Approach
    Khoshkbarchi, Amir
    Shahriari, Hamid Reza
    Amjadi, Mehdi
    2014 7TH INTERNATIONAL SYMPOSIUM ON TELECOMMUNICATIONS (IST), 2014, : 889 - 894
  • [43] A Sweep-Line Method for Buchi Automata-based Model Checking
    Evangelista, Sami
    Kristensen, Lars Michael
    FUNDAMENTA INFORMATICAE, 2014, 131 (01) : 27 - 53
  • [44] Competing with Automata-based Expert Sequences
    Mohri, Mehryar
    Yang, Scott
    INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND STATISTICS, VOL 84, 2018, 84
  • [45] Limitations of learning in automata-based systems
    Oliveira, Fernando S.
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2010, 203 (03) : 684 - 691
  • [46] Tools for support of automata-based programming
    V. S. Gurov
    M. A. Mazin
    A. S. Narvsky
    A. A. Shalyto
    Programming and Computer Software, 2007, 33 : 343 - 355
  • [47] Pitting corrosion modelling by means of a stochastic cellular automata-based model
    Perez-Brokate, Cristian Felipe
    di Caprio, Dung
    Feron, Damien
    de Lamare, Jacques
    Chausse, Annie
    CORROSION ENGINEERING SCIENCE AND TECHNOLOGY, 2017, 52 (08) : 605 - 610
  • [48] Reversible Transitions in a Cellular Automata-Based Traffic Model with Driver Memory
    Sakiyama, Tomoko
    Arizono, Ikuo
    COMPLEXITY, 2019, 2019
  • [49] Phase transitions and hysteresis in a cellular automata-based model of opinion formation
    Kacperski, K
    Holyst, JA
    JOURNAL OF STATISTICAL PHYSICS, 1996, 84 (1-2) : 169 - 189
  • [50] Multistage Evolutionary Strategies for Adjusting a Cellular Automata-based Epidemiological Model
    Fraga, Larissa M.
    de Oliveira, Gina M. B.
    Martins, Luiz G. A.
    2021 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC 2021), 2021, : 466 - 473