litterbox

package module
v0.0.0-...-c1c8f2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

README

litterbox

Sandbox API in Go

This project defines types and methods that we will re-use between different languages.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize()

Initialize loads the sandbox and package information from the binary.

Types

type Domain

type Domain struct {
	SView map[*Package]uint8
	SPkgs []*Package
	// contains filtered or unexported fields
}

type Package

type Package struct {
	Name    string
	Id      int
	Sects   []Section
	Dynamic []Section
}

type SandboxDomain

type SandboxDomain struct {
	Id   string
	Func string
	Sys  SyscallMask
	View map[string]uint8
	Pkgs []string
}

type Section

type Section struct {
	Addr uint64
	Size uint64
	Prot uint8
}

type SyscallMask

type SyscallMask = uint64

func ParseSyscalls

func ParseSyscalls(s string) (SyscallMask, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL