github.com/google/syzkaller@v0.0.0-20251211124644-a066d2bc4b02/sys/fuchsia/init.go (about)

     1  // Copyright 2017 syzkaller project authors. All rights reserved.
     2  // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     3  
     4  //go:generate bash -c "TARGETARCH=amd64 go run fidlgen/main.go"
     5  //go:generate bash -c "TARGETARCH=arm64 go run fidlgen/main.go"
     6  
     7  package fuchsia
     8  
     9  import (
    10  	"github.com/google/syzkaller/prog"
    11  	"github.com/google/syzkaller/sys/targets"
    12  )
    13  
    14  func InitTarget(target *prog.Target) {
    15  	target.MakeDataMmap = targets.MakeSyzMmap(target)
    16  }