gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/platform/ptrace/BUILD (about)

     1  load("//tools:defs.bzl", "go_library")
     2  
     3  package(
     4      default_applicable_licenses = ["//:license"],
     5      licenses = ["notice"],
     6  )
     7  
     8  go_library(
     9      name = "ptrace",
    10      srcs = [
    11          "filters.go",
    12          "ptrace.go",
    13          "ptrace_amd64.go",
    14          "ptrace_arm64.go",
    15          "ptrace_arm64_unsafe.go",
    16          "ptrace_unsafe.go",
    17          "stub_amd64.s",
    18          "stub_arm64.s",
    19          "stub_unsafe.go",
    20          "subprocess.go",
    21          "subprocess_amd64.go",
    22          "subprocess_arm64.go",
    23          "subprocess_linux.go",
    24          "subprocess_linux_unsafe.go",
    25          "subprocess_unsafe.go",
    26      ],
    27      visibility = ["//:sandbox"],
    28      deps = [
    29          "//pkg/abi/linux",
    30          "//pkg/bpf",
    31          "//pkg/context",
    32          "//pkg/cpuid",
    33          "//pkg/fd",
    34          "//pkg/hostarch",
    35          "//pkg/hosttid",
    36          "//pkg/log",
    37          "//pkg/safecopy",
    38          "//pkg/seccomp",
    39          "//pkg/sentry/arch",
    40          "//pkg/sentry/arch/fpu",
    41          "//pkg/sentry/memmap",
    42          "//pkg/sentry/platform",
    43          "//pkg/sentry/platform/interrupt",
    44          "//pkg/sync",
    45          "@org_golang_x_sys//unix:go_default_library",
    46      ],
    47  )