按年被提到
20192019 · 1 次2026
安全、隐私与密码学›调试、模糊测试与供应链·arXiv:1902.09334 · cs.SE

A Systematic Impact Study for Fuzzer-Found Compiler Bugs

Michaël Marcozzi, Qiyi Tang, Alastair F. Donaldson, Cristian Cadar · 2019
开始阅读 ↗PDFalphaXiv 讨论
被提及 · 2 人首次 2019-03-02 · 最近 2020-02-25
2不同的人
2活跃月份
2讨论串
42被引(OpenAlex)
arXiv 摘要(候选层不写导读)

Despite much recent interest in compiler randomized testing (fuzzing), the practical impact of fuzzer-found compiler bugs on real-world applications has barely been assessed. We present the first quantitative and qualitative study of the tangible impact of miscompilation bugs in a mature compiler. We follow a rigorous methodology where the bug impact over the compiled application is evaluated based on (1) whether the bug appears to trigger during compilation; (2) the extent to which generated assembly code changes syntactically due to triggering of the bug; and (3) how much such changes do cause regression test suite failures and could be used to manually trigger divergences during execution. The study is conducted with respect to the compilation of more than 10 million lines of C/C++ code from 309 Debian packages, using 12% of the historical and now fixed miscompilation bugs found by four state-of-the-art fuzzers in the Clang/LLVM compiler, as well as 18 bugs found by human users compiling real code or by formal verification. The results show that almost half of the fuzzer-found bugs propagate to the generated binaries for some packages, but rarely affect their syntax and cause two failures in total when running their test suites. User-reported and formal verification bugs do not exhibit a higher impact, with less frequently triggered bugs and one test failure. Our manual analysis of a selection of bugs, either fuzzer-found or not, suggests that none can easily trigger a runtime divergence on the packages considered in the analysis, and that in general they affect only corner cases.

候选层:至少 2 个不同的人、在 2 个不同月份提到过,还没到主书架的 3 人 3 个月。没有做立场标注,所以只写“被提及”。

HN 书评

没有评论直接链到它;下面是它被提交的讨论串里回复最多的评论(不计入统计)
讨论串评论gwern · 2020-02

“'Given the rather limited impact of all the bugs considered in this study, one hypothesis to explain this unexpected result could be that, in a mature compiler like Clang/LLVM, all the bugs affecting code patterns that are frequent in real code have already been fixed, so that the remaining bugs are corner cases that do not appear more frequently in real …”

A Systematic Impact Study for Fuzzer-Found Compiler Bugs (2019)原评论 ↗
被提交为 story · 2 次