英文: What is an example of a buggy function that would be hard to find to discover the bug without fu...
如何在模糊测试中对输入设置约束?
英文: How to set constraint on input for fuzzing? 问题 假设我有以下结构体: type Hdr struct{ Src uint16 Dst uint16...
如何在Go 1.18中运行一个源文件中编写的多个模糊测试用例?
英文: how to run multi fuzz test cases wirtten in one source file with go1.18? 问题 go 1.18已经在几天前发布了。从Go...
如何在Go 1.18中模糊化一个nil值?
英文: How do I fuzz a nil value in Go 1.18? 问题 我正在尝试使用Go 1.18的go test -fuzz命令对空值进行模糊测试,以确保在尝试解引用指向字符串的...
布尔检查的模糊测试?
英文: Fuzzing for boolean checks? 问题 我有一个函数,用于检查一个字符串是否是一个有效的十六进制数表示(例如'0xdEAdBEef'和类似的字符串)。现在我在isHexa...
Golang模糊测试:语料库条目中的类型不匹配
英文: Golang Fuzzing: Mismatched types in corpus entry 问题 在使用Go 1.18引入的本地模糊测试功能时,我在重构我的测试后遇到了以下错误: ---...
将模糊测试应用于解析某个字符串的函数。
英文: Apply fuzzing to a function that parses some string 问题 最近,Go团队发布了一个模糊测试工具。你可以从以下链接了解更多信息:https:/...