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 条
  • [21] AUTOMATA-BASED TERMINATION PROOFS
    Iosif, Radu
    Rogalewicz, Adam
    COMPUTING AND INFORMATICS, 2013, 32 (04) : 739 - 775
  • [22] Automata-based confidentiality monitoring
    Le Guernic, Gurvan
    Banerjee, Anindya
    Jensen, Thomas
    Schmidt, David A.
    ADVANCES IN COMPUTER SCIENCE - ASIAN 2006: SECURE SOFTWARE AND RELATED ISSUES, 2007, 4435 : 75 - +
  • [23] Automata-Based Axiom Pinpointing
    Franz Baader
    Rafael Peñaloza
    Journal of Automated Reasoning, 2010, 45 : 91 - 129
  • [24] Automata-based axiom pinpointing
    Baader, Franz
    Penaloza, Rafael
    AUTOMATED REASONING, PROCEEDINGS, 2008, 5195 : 226 - +
  • [25] Automata-Based Axiom Pinpointing
    Baader, Franz
    Penaloza, Rafael
    JOURNAL OF AUTOMATED REASONING, 2010, 45 (02) : 91 - 129
  • [26] A Cheating Model for Cellular Automata-Based Secret Sharing Schemes
    Jafarpour, Borna
    Nematzadeh, Azadeh
    Kazempour, Vahid
    Sadeghian, Babak
    PROCEEDINGS OF WORLD ACADEMY OF SCIENCE, ENGINEERING AND TECHNOLOGY, VOL 25, 2007, 25 : 306 - +
  • [27] On the capabilities of Cellular Automata-based MapReduce model in Industry 4.0
    Mitra, Arnab
    JOURNAL OF INDUSTRIAL INFORMATION INTEGRATION, 2021, 21
  • [28] Improved algorithms for the automata-based approach to model-checking
    Doyen, Laurent
    Raskin, Jean-Francois
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2007, 4424 : 451 - +
  • [29] Pheromone Interactions in a Cellular Automata-Based Model for Surveillance Robots
    Tinoco, Claudiney R.
    Oliveira, Gina M. B.
    CELLULAR AUTOMATA (ACRI 2018), 2018, 11115 : 154 - 165
  • [30] Evolutionary Adjustment of a Cellular Automata-Based Model for Wildfire Spreading
    Murilo, Lucas V.
    Oliveira, Gina M. B.
    Martins, Luiz G. A.
    INTELLIGENT SYSTEMS, BRACIS 2024, PT III, 2025, 15414 : 260 - 275