Directories ¶
Path | Synopsis |
---|---|
Package bigquery defines a BigQuery schema for benchmarks.
|
Package bigquery defines a BigQuery schema for benchmarks. |
Package checkaligned ensures that atomic (u)int operations happen exclusively via the atomicbitops package.
|
Package checkaligned ensures that atomic (u)int operations happen exclusively via the atomicbitops package. |
Package checkconst checks constant values.
|
Package checkconst checks constant values. |
Package checkescape allows recursive escape analysis for hot paths.
|
Package checkescape allows recursive escape analysis for hot paths. |
test1
Package test1 is a test package.
|
Package test1 is a test package. |
test2
Package test2 is a test package that imports test1.
|
Package test2 is a test package that imports test1. |
Package checklinkname ensures that linkname declarations match their source.
|
Package checklinkname ensures that linkname declarations match their source. |
test
Package test provides linkname test targets.
|
Package test provides linkname test targets. |
Package checklocks performs lock analysis to identify and flag unprotected access to annotated fields.
|
Package checklocks performs lock analysis to identify and flag unprotected access to annotated fields. |
cmd/checklocks
Binary checklocks is a `vettool` for `go vet`.
|
Binary checklocks is a `vettool` for `go vet`. |
test
Package test is a test package.
|
Package test is a test package. |
test/crosspkg
Package crosspkg is a second package for testing.
|
Package crosspkg is a second package for testing. |
Package checkunsafe allows unsafe imports only in files named appropriately.
|
Package checkunsafe allows unsafe imports only in files named appropriately. |
Package constraintutil provides utilities for working with Go build constraints.
|
Package constraintutil provides utilities for working with Go build constraints. |
embeddedbinary
|
|
test
helloworld_bundler bundles helloworld_bundlee and executes it.
|
helloworld_bundler bundles helloworld_bundlee and executes it. |
test/helloworld
helloworld_bundlee writes "Hello, gVisor!\n" to stdout.
|
helloworld_bundlee writes "Hello, gVisor!\n" to stdout. |
Binary github is the entry point for GitHub utilities.
|
Binary github is the entry point for GitHub utilities. |
reviver
Package reviver scans the code looking for TODOs and pass them to registered Buggers to ensure TODOs point to active issues.
|
Package reviver scans the code looking for TODOs and pass them to registered Buggers to ensure TODOs point to active issues. |
Binary fieldenum emits field bitmasks for all structs in a package marked "+fieldenum".
|
Binary fieldenum emits field bitmasks for all structs in a package marked "+fieldenum". |
go_generics reads a Go source file and writes a new version of that file with a few transformations applied to each.
|
go_generics reads a Go source file and writes a new version of that file with a few transformations applied to each. |
globals
Package globals provides an AST visitor that calls the visit function for all global identifiers.
|
Package globals provides an AST visitor that calls the visit function for all global identifiers. |
go_marshal is a code generation utility for automatically generating code to marshal go data structures to memory.
|
go_marshal is a code generation utility for automatically generating code to marshal go data structures to memory. |
analysis
Package analysis implements common functionality used by generated go_marshal tests.
|
Package analysis implements common functionality used by generated go_marshal tests. |
gomarshal
Package gomarshal implements the go_marshal code generator.
|
Package gomarshal implements the go_marshal code generator. |
test
Package test contains data structures for testing the go_marshal tool.
|
Package test contains data structures for testing the go_marshal tool. |
test/escape
Package escape contains test cases for escape analysis.
|
Package escape contains test cases for escape analysis. |
test/external
Package external defines types we can import for testing.
|
Package external defines types we can import for testing. |
Stateify provides a simple way to generate Load/Save methods based on existing types and struct tags.
|
Stateify provides a simple way to generate Load/Save methods based on existing types and struct tags. |
Package main downloads and installs drivers.
|
Package main downloads and installs drivers. |
drivers
Package drivers contains methods to download and install drivers.
|
Package drivers contains methods to download and install drivers. |
Binary gvisor2pcap converts gVisor packet sniffer output to .pcap files that can be fed to Wireshark or tcpdump.
|
Binary gvisor2pcap converts gVisor packet sniffer output to .pcap files that can be fed to Wireshark or tcpdump. |
gvisor_k8s_tool is a command-line tool to interact with gVisor in Kubernetes clusters.
|
gvisor_k8s_tool is a command-line tool to interact with gVisor in Kubernetes clusters. |
cluster
Package cluster provides functions for dealing with Kubernetes clusters.
|
Package cluster provides functions for dealing with Kubernetes clusters. |
cmd/install
Package install provides a function to install gVisor in a k8s cluster.
|
Package install provides a function to install gVisor in a k8s cluster. |
provider/clusterflag
Package clusterflag implements a flag.Value which can be used in commands to represent a Kubernetes cluster.
|
Package clusterflag implements a flag.Value which can be used in commands to represent a Kubernetes cluster. |
provider/gke
Package gke contains functions to interact with Google Kubernetes Engine.
|
Package gke contains functions to interact with Google Kubernetes Engine. |
provider/kubectl
Package kubectl contains functions to interact with Kubernetes clusters controlled using kubectl configurations.
|
Package kubectl contains functions to interact with Kubernetes clusters controlled using kubectl configurations. |
spec
Package spec contains Kubernetes object specifications for gVisor setup.
|
Package spec contains Kubernetes object specifications for gVisor setup. |
util
Package util contains utility functions for gvisor_k8s_tools.
|
Package util contains utility functions for gvisor_k8s_tools. |
Package main sets up the ioctl sniffer and runs a given command.
|
Package main sets up the ioctl sniffer and runs a given command. |
sniffer
Package sniffer parses the output of the ioctl hook.
|
Package sniffer parses the output of the ioctl hook. |
Binary nogo performs static analysis.
|
Binary nogo performs static analysis. |
check
Package check implements binary analysis similar to bazel's nogo, or the unitchecker package.
|
Package check implements binary analysis similar to bazel's nogo, or the unitchecker package. |
cli
Package cli implements a basic command line interface.
|
Package cli implements a basic command line interface. |
config
Package config defines a filter configuration for nogo findings.
|
Package config defines a filter configuration for nogo findings. |
facts
Package facts implements alternate fact types.
|
Package facts implements alternate fact types. |
flags
Package flags contains globally-visible flags.
|
Package flags contains globally-visible flags. |
sanity
Package sanity provides a basic sanity test.
|
Package sanity provides a basic sanity test. |
Package main sets up and runs the NVIDIA driver differ.
|
Package main sets up and runs the NVIDIA driver differ. |
parser
Package parser contains functions for interfacing with driver_ast_parser.
|
Package parser contains functions for interfacing with driver_ast_parser. |
profiletool deals with pprof profiles.
|
profiletool deals with pprof profiles. |
Package main implements a tool to help troubleshoot watchdog dumps.
|
Package main implements a tool to help troubleshoot watchdog dumps. |
Package tracereplay implements a tool that can save and replay messages issued from remote.Remote.
|
Package tracereplay implements a tool that can save and replay messages issued from remote.Remote. |
main
Package main implements a tool that can save and replay messages from issued from remote.Remote.
|
Package main implements a tool that can save and replay messages from issued from remote.Remote. |
The xdp_loader tool is used to load compiled XDP object files into the XDP hook of a net device.
|
The xdp_loader tool is used to load compiled XDP object files into the XDP hook of a net device. |
cmd
Package cmd implements the subcommands of xdp_loader.
|
Package cmd implements the subcommands of xdp_loader. |
Binary yamltest does strict yaml parsing and validation.
|
Binary yamltest does strict yaml parsing and validation. |
Click to show internal directories.
Click to hide internal directories.