mirror of
https://github.com/google/go-attestation.git
synced 2025-01-31 07:55:22 +00:00
Simple fuzzer for ParseEventLog
This commit is contained in:
parent
de6a3af7e4
commit
59a5f6851d
@ -1,3 +1,5 @@
|
||||
// +build !cgo
|
||||
|
||||
package attest
|
||||
|
||||
import (
|
||||
|
@ -12,7 +12,7 @@
|
||||
// License for the specific language governing permissions and limitations under
|
||||
// the License.
|
||||
|
||||
// +build linux
|
||||
// +build linux !cgo
|
||||
|
||||
package attest
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
// License for the specific language governing permissions and limitations under
|
||||
// the License.
|
||||
|
||||
// +build windows
|
||||
// +build windows !cgo
|
||||
|
||||
package attest
|
||||
|
||||
|
11
attest/test/fuzz.go
Normal file
11
attest/test/fuzz.go
Normal file
@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import (
|
||||
"github.com/google/go-attestation/attest"
|
||||
)
|
||||
|
||||
func FuzzParseEventLog(data []byte) int {
|
||||
attest.ParseEventLog(data)
|
||||
return 0
|
||||
}
|
||||
|
@ -12,7 +12,7 @@
|
||||
// License for the specific language governing permissions and limitations under
|
||||
// the License.
|
||||
|
||||
// +build linux
|
||||
// +build linux !cgo
|
||||
|
||||
package attest
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user