aboutsummaryrefslogtreecommitdiffstats
path: root/executor/test.go
blob: 09a1c130bbeac3cb9cbebf5ae37d4c04552cfe32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2017 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.

//go:generate bash -c "gcc kvm_gen.cc kvm.S -o kvm_gen && ./kvm_gen > kvm.S.h"

package executor

// int test_kvm();
import "C"

func testKVM() int {
	return int(C.test_kvm())
}