paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A symbolic model checking approach to the analysis of string and length constraints

面向字符串与长度约束分析的符号模型检测方法
ASE Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering2018匹配度 3/10 · 该论文属于程序验证与字符串/长度约束求解,和形式化验证、静态分析有方法论上的间接关联;但它不涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,未落在用户当前核心关注的 PL 与 AI 交叉方向上。引用 16 inbox
Hung-En Wang, Shih-Yu Chen, Fang Yu, Jie-Hong R. Jiang
crossref: 2026-09-12

AI 速览

一句话:提出用长度编码自动机与符号模型检测求解字符串和长度约束,可处理现有方法难解的问题。

字符串与长度约束在软件安全分析中至关重要。现有求解器多基于推理规则演绎或自动机分析:前者在语言替换等复杂字符串操作下可能低效,后者难以扩展处理长度约束,并因近似而不利于反例生成。受逻辑电路表示字符串分析的启发,本文提出带长度编码的隐式自动机表示;该自动机具有无限状态,可表示超出正则表达式的语言。作者将字符串与长度约束转换为长度编码自动机上操作的依赖图,并借助无限状态系统的符号模型检测器作为分析引擎。实验表明,该方法能处理现有方法无法求解的复杂字符串与长度约束。

问题
字符串与长度约束在软件安全分析中广泛出现,但现有演绎规则或自动机方法在复杂字符串操作、长度约束扩展和反例生成方面存在不足。
方法
提出带长度编码的隐式自动机,将字符串与长度约束转化为操作依赖图,并用无限状态系统的符号模型检测器作为求解与分析引擎。
评估
通过实验展示该方法能够处理现有方法无法求解的复杂字符串与长度约束,体现其独特能力。
原文摘要(Abstract)

Strings with length constraints are prominent in software security analysis. Recent endeavors have made significant progress in developing constraint solvers for strings and integers. Most prior methods are based on deduction with inference rules or analysis using automata. The former may be inefficient when the constraints involve complex string manipulations such as language replacement; the latter may not be easily extended to handle length constraints and may be inadequate for counterexample generation due to approximation. Inspired by recent work on string analysis with logic circuit representation, we propose a new method for solving string with length constraints by an implicit representation of automata with length encoding. The length-encoded automata are of infinite states and can represent languages beyond regular expressions. By converting string and length constraints into a dependency graph of manipulations over length-encoded automata, a symbolic model checker for infinite state systems can be leveraged as an engine for the analysis of string and length constraints. Experiments show that our method has its unique capability of handling complex string and length constraints not solvable by existing methods.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4693,
  title = {A symbolic model checking approach to the analysis of string and length constraints},
  author = {Hung-En Wang and Shih-Yu Chen and Fang Yu and Jie-Hong R. Jiang},
  booktitle = {ASE},
  year = {2018},
  doi = {10.1145/3238147.3238189}
}