BinDump

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeBinDump

func EncodeBinDump(binDump BinDump) (string, error)

Types

type BinDump

type BinDump struct {
	Machine  elf.Machine `json:"machine"`
	Segments []Segment   `json:"segments"`
}

func GenerateBinDumpFromPid added in v0.0.2

func GenerateBinDumpFromPid(pid uint) (BinDump, error)

func GenerateElfBinDumpFromFile added in v0.0.2

func GenerateElfBinDumpFromFile(path string) (BinDump, error)

func OpenBinDump

func OpenBinDump(path string) (BinDump, error)

type Segment

type Segment struct {
	Addr     uint64 `json:"address"`
	Contents []byte `json:"contents"`
}

Jump to

Keyboard shortcuts

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