file

package
v0.0.0-...-cb0a199 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

type Function struct {
	SymFunc *gosym.Func
	SSAFunc *ssa.Function
	Inst    []x86asm.Inst
	Source  []string
	Callee  []*ssa.Function
}

type MachOFile

type MachOFile struct {
	File *macho.File
	// contains filtered or unexported fields
}

func NewMachOFile

func NewMachOFile(f *os.File) (*MachOFile, error)

func (*MachOFile) CallGraph

func (f *MachOFile) CallGraph() (*callgraph.Graph, error)

func (*MachOFile) Funcs

func (f *MachOFile) Funcs() ([]*Function, error)

func (*MachOFile) Types

func (f *MachOFile) Types() ([]reflect.Type, error)

type Sym

type Sym struct {
	Name string
	Addr uint64
	Size int64
	Code rune
	Type string
}

Jump to

Keyboard shortcuts

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