arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.03710cs.CRcs.SE
收藏

动态符号执行的强乐观求解

Strong Optimistic Solving for Dynamic Symbolic Execution

Darya Parygina, Alexey Vishnyakov, Andrey Fedotov

摘要:

动态符号执行(DSE)是自动化程序测试和缺陷检测的一种有效方法。通过对复杂分支的探索,提高了混合模糊的代码覆盖率。DSE工具沿着某些执行路径反转分支,并帮助模糊器检查以前不可用的程序部分。DSE经常面临过度约束和约束不足的问题。第一个导致显着的分析复杂性,而第二个导致不准确的符号执行。我们提出了强乐观的解决方法,消除无关的路径谓词约束的目标分支反演。我们消除这样的符号约束,目标分支是不控制dependenton.Therefore,我们单独处理符号分支,嵌套控制转移指令,通过控制超出父分支范围,例如返回,转到,休息等,我们实现了我们提出的方法在我们的动态符号执行工具Sydr。我们评估了强乐观策略,乐观策略,只包含最后一个约束否定,以及它们的组合。结果表明,策略组合有助于增加代码覆盖率或每分钟正确反转分支的平均数量。与其他配置相比,最好同时应用这两种策略。

英文摘要:

Dynamic symbolic execution (DSE) is an effective method for automated program testing and bug detection. It is increasing the code coverage by the complex branches exploration during hybrid fuzzing. DSE tools invert the branches along some execution path and help fuzzer examine previously unavailable program parts. DSE often faces over- and underconstraint problems. The first one leads to significant analysis complication while the second one causes inaccurate symbolic execution. We propose strong optimistic solving method that eliminates irrelevant path predicate constraints for target branch inversion. We eliminate such symbolic constraints that the target branch is not control dependent on. Moreover, we separately handle symbolic branches that have nested control transfer instructions that pass control beyond the parent branch scope, e.g. return, goto, break, etc. We implement the proposed method in our dynamic symbolic execution tool Sydr. We evaluate the strong optimistic strategy, the optimistic strategy that contains only the last constraint negation, and their combination. The results show that the strategies combination helps increase either the code coverage or the average number of correctly inverted branches per one minute. It is optimal to apply both strategies together in contrast with other configurations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑