sniff

package
v0.0.0-...-ac0742e Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Platform_MachO = "Mach"
View Source
const Platform_PE = "Windows"

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Format   string `json:"format"`
	Type     string `json:"type"`
	Platform string `json:"platform"`
	Arch     string `json:"arch"`
	X64      bool   `json:"x64"`
}

func ELF

func ELF(file *os.File) (*Data, error)

func File

func File(file *os.File) (*Data, error)

func MachO

func MachO(file *os.File) (*Data, error)

func PE

func PE(file *os.File) (*Data, error)

func (Data) ContentType

func (d Data) ContentType() string

Jump to

Keyboard shortcuts

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