BinDump

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 3 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 GenerateElfBinDump

func GenerateElfBinDump(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