知识卡片

普通读书笔记卡 · 743.d.4.a.2.a

覆盖引导模糊测试探索边界输入

理解等级:中级

模糊测试把变异输入交给目标入口,覆盖引导根据已执行路径继续探索新分支。安全Rust虽阻止许多内存错误,越界panic仍可能成为拒绝服务。找到故障后应保存输入并形成回归用例,复用有效语料;运行时长与CI安排按风险和预算选择。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 5. Tooling Fuzz Testing · 查看原书依据

      Fuzz Testing Fuzz testing is the process of exposing code to randomized inputs in the hope of finding bugs, particularly crashes that result from those inputs. Although this can be a useful technique in general, it becomes much more important when your code is exposed to inputs that may be controlled by someone who is deliberately trying to attack the code—s

    参考来源

    - 位置:《Effective Rust 35 Specific Ways to Improve Your Rust Code (David Drysdale)》第5章《Fuzz Testing》(spine9;extracted/Effective Rust 35 Specific Ways to Improve Your Rust Code (David Drysdale)/_epub-src/OEBPS/ch05.html;u157-ch05-028)。 - 结论依据:原文在“Fuzz Testing”附近的定义、例子或代码支撑本卡核心说明:模糊测试把变异输入交给目标入口,覆盖引导根据已执行路径继续探索新分支。边界按已读前提解释;示例未执行。 - 原始内容:Fuzz Testing Fuzz testing is the process of exposing code to randomized inputs in the hope of finding bugs, particularly crashes that result from those inputs. Although this can be a useful technique in general, it becomes much more important when your code is exposed to inputs that may be controlled by someone who is deliberately trying to attack the code—s