mirror of
https://github.com/google/go-attestation.git
synced 2025-02-12 05:15:17 +00:00
Simple fuzzer for ParseEventLog
This commit is contained in:
parent
de6a3af7e4
commit
59a5f6851d
@ -1,3 +1,5 @@
|
|||||||
|
// +build !cgo
|
||||||
|
|
||||||
package attest
|
package attest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// License for the specific language governing permissions and limitations under
|
// License for the specific language governing permissions and limitations under
|
||||||
// the License.
|
// the License.
|
||||||
|
|
||||||
// +build linux
|
// +build linux !cgo
|
||||||
|
|
||||||
package attest
|
package attest
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// License for the specific language governing permissions and limitations under
|
// License for the specific language governing permissions and limitations under
|
||||||
// the License.
|
// the License.
|
||||||
|
|
||||||
// +build windows
|
// +build windows !cgo
|
||||||
|
|
||||||
package attest
|
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
|
// License for the specific language governing permissions and limitations under
|
||||||
// the License.
|
// the License.
|
||||||
|
|
||||||
// +build linux
|
// +build linux !cgo
|
||||||
|
|
||||||
package attest
|
package attest
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user