blob: 953e750a5bf3856395a670a1dc3f034264536076 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2020 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
package kconfig
func FuzzParseKConfig(data []byte) int {
ParseData(data, "kconfig")
return 0
}
func FuzzParseConfig(data []byte) int {
ParseConfigData(data, "config")
return 0
}
func FuzzParseExpr(data []byte) int {
p := newParser(data, "expr")
if !p.nextLine() {
return 0
}
p.parseExpr()
return 0
}
|