gvisorgvisor.dev/gvisor/tools Directories

tools/ directory

Directories

PathSynopsis
tools/bigqueryPackage bigquery defines a BigQuery schema for benchmarks.
tools/checkalignedPackage checkaligned ensures that atomic (u)int operations happen exclusively via the atomicbitops package.
tools/checkconstPackage checkconst checks constant values.
tools/checkescapePackage checkescape allows recursive escape analysis for hot paths.
tools/checkescape/test1Package test1 is a test package.
tools/checkescape/test2Package test2 is a test package that imports test1.
tools/checklinknamePackage checklinkname ensures that linkname declarations match their source.
tools/checklinkname/testPackage test provides linkname test targets.
tools/checklocksPackage checklocks performs lock analysis to identify and flag unprotected access to annotated fields.
tools/checklocks/cmd
tools/checklocks/cmd/checklocksBinary checklocks is a `vettool` for `go vet`.
tools/checklocks/testPackage test is a test package.
tools/checklocks/test/crosspkgPackage crosspkg is a second package for testing.
tools/checkunsafePackage checkunsafe allows unsafe imports only in files named appropriately.
tools/constraintutilPackage constraintutil provides utilities for working with Go build constraints.
tools/embeddedbinaryPackage embeddedbinary embeds an external binary and provides a function to exec it.
tools/embeddedbinary/testhelloworld_bundler bundles helloworld_bundlee and executes it.
tools/embeddedbinary/test/helloworldhelloworld_bundlee writes "Hello, gVisor!\n" to stdout.
tools/githubBinary github is the entry point for GitHub utilities.
tools/github/reviverPackage reviver scans the code looking for TODOs and pass them to registered Buggers to ensure TODOs point to active issues.
tools/go_fieldenumBinary fieldenum emits field bitmasks for all structs in a package marked "+fieldenum".
tools/go_genericsgo_generics reads a Go source file and writes a new version of that file with a few transformations applied to each.
tools/go_generics/globalsPackage globals provides an AST visitor that calls the visit function for all global identifiers.
tools/go_generics/go_merge
tools/go_generics/rules_tests
tools/go_generics/tests
tools/go_generics/tests/all_stmts
tools/go_generics/tests/all_types
tools/go_generics/tests/all_types/lib
tools/go_generics/tests/anon
tools/go_generics/tests/consts
tools/go_generics/tests/imports
tools/go_generics/tests/remove_typedef
tools/go_generics/tests/simple
tools/go_marshalgo_marshal is a code generation utility for automatically generating code to marshal go data structures to memory.
tools/go_marshal/analysisPackage analysis implements common functionality used by generated go_marshal tests.
tools/go_marshal/gomarshalPackage gomarshal implements the go_marshal code generator.
tools/go_marshal/testPackage test contains data structures for testing the go_marshal tool.
tools/go_marshal/test/escapePackage escape contains test cases for escape analysis.
tools/go_marshal/test/externalPackage external defines types we can import for testing.
tools/go_stateifyStateify provides a simple way to generate Load/Save methods based on existing types and struct tags.
tools/gpuPackage main downloads and installs drivers.
tools/gpu/driversPackage drivers contains methods to download and install drivers.
tools/gvisor2pcapBinary gvisor2pcap converts gVisor packet sniffer output to .pcap files that can be fed to Wireshark or tcpdump.
tools/gvisor_k8s_toolgvisor_k8s_tool is a command-line tool to interact with gVisor in Kubernetes clusters.
tools/gvisor_k8s_tool/clusterPackage cluster provides functions for dealing with Kubernetes clusters.
tools/gvisor_k8s_tool/cmd
tools/gvisor_k8s_tool/cmd/installPackage install provides a function to install gVisor in a k8s cluster.
tools/gvisor_k8s_tool/provider
tools/gvisor_k8s_tool/provider/clusterflagPackage clusterflag implements a flag.Value which can be used in commands to represent a Kubernetes cluster.
tools/gvisor_k8s_tool/provider/gkePackage gke contains functions to interact with Google Kubernetes Engine.
tools/gvisor_k8s_tool/provider/kubectlPackage kubectl contains functions to interact with Kubernetes clusters controlled using kubectl configurations.
tools/gvisor_k8s_tool/specPackage spec contains Kubernetes object specifications for gVisor setup.
tools/gvisor_k8s_tool/utilPackage util contains utility functions for gvisor_k8s_tools.
tools/ioctl_snifferPackage main sets up the ioctl sniffer and runs a given command.
tools/ioctl_sniffer/snifferPackage sniffer parses the output of the ioctl hook.
tools/nogoBinary nogo performs static analysis.
tools/nogo/checkPackage check implements binary analysis similar to bazel's nogo, or the unitchecker package.
tools/nogo/cliPackage cli implements a basic command line interface.
tools/nogo/configPackage config defines a filter configuration for nogo findings.
tools/nogo/factsPackage facts implements alternate fact types.
tools/nogo/flagsPackage flags contains globally-visible flags.
tools/nogo/sanityPackage sanity provides a basic sanity test.
tools/nvidia_driver_differPackage main sets up and runs the NVIDIA driver differ.
tools/nvidia_driver_differ/parserPackage parser contains functions for interfacing with driver_ast_parser.
tools/parsersPackage parsers holds parsers to parse Benchmark test output.
tools/profiletoolprofiletool deals with pprof profiles.
tools/stucktasksPackage main implements a tool to help troubleshoot watchdog dumps.
tools/tracereplayPackage tracereplay implements a tool that can save and replay messages issued from remote.Remote.
tools/tracereplay/mainPackage main implements a tool that can save and replay messages from issued from remote.Remote.
tools/xdpThe xdp_loader tool is used to load compiled XDP object files into the XDP hook of a net device.
tools/xdp/cmdPackage cmd implements the subcommands of xdp_loader.
tools/yamltestBinary yamltest does strict yaml parsing and validation.
Version
v0.0.0-20250605235530-a6711d1e1dc6 (latest)
Published
Jun 5, 2025
Platform
linux/amd64
Last checked
4 hours ago

Tools for package owners.