File: jmespath.go

package info (click to toggle)
golang-github-jmespath-go-jmespath 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports, experimental, stretch, stretch-backports
  • size: 2,944 kB
  • ctags: 286
  • sloc: makefile: 35
file content (13 lines) | stat: -rw-r--r-- 236 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
package jmespath

import "github.com/jmespath/go-jmespath"

// Fuzz will fuzz test the JMESPath parser.
func Fuzz(data []byte) int {
	p := jmespath.NewParser()
	_, err := p.Parse(string(data))
	if err != nil {
		return 1
	}
	return 0
}