aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'sys/linux/init.go')
-rw-r--r--sys/linux/init.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/linux/init.go b/sys/linux/init.go
index c5e4c810c..e0efe22c7 100644
--- a/sys/linux/init.go
+++ b/sys/linux/init.go
@@ -81,6 +81,7 @@ func InitTarget(target *prog.Target) {
if target.Arch == runtime.GOARCH {
KCOV_INIT_TRACE = uintptr(target.GetConst("KCOV_INIT_TRACE"))
KCOV_ENABLE = uintptr(target.GetConst("KCOV_ENABLE"))
+ KCOV_REMOTE_ENABLE = uintptr(target.GetConst("KCOV_REMOTE_ENABLE"))
KCOV_DISABLE = uintptr(target.GetConst("KCOV_DISABLE"))
KCOV_TRACE_CMP = uintptr(target.GetConst("KCOV_TRACE_CMP"))
}
@@ -88,10 +89,11 @@ func InitTarget(target *prog.Target) {
var (
// This should not be here, but for now we expose this for syz-fuzzer.
- KCOV_INIT_TRACE uintptr
- KCOV_ENABLE uintptr
- KCOV_DISABLE uintptr
- KCOV_TRACE_CMP uintptr
+ KCOV_INIT_TRACE uintptr
+ KCOV_ENABLE uintptr
+ KCOV_REMOTE_ENABLE uintptr
+ KCOV_DISABLE uintptr
+ KCOV_TRACE_CMP uintptr
)
type arch struct {