disasm

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package disasm This package was written based on the go/cmd/internal/objfile package.

Index

Constants

This section is empty.

Variables

View Source
var ErrArchNotSupported = fmt.Errorf("unsupported GOARCH")

Functions

This section is empty.

Types

type Extractor

type Extractor struct {
	// contains filtered or unexported fields
}

func NewExtractor

func NewExtractor(rawFile wrapper.RawFileWrapper, size uint64) (*Extractor, error)

func (*Extractor) Extract

func (e *Extractor) Extract(start, end uint64) []PossibleStr

func (*Extractor) LoadAddrString added in v0.2.4

func (e *Extractor) LoadAddrString(addr uint64, size int64) (string, bool)

type PossibleStr

type PossibleStr struct {
	Addr uint64
	Size uint64
}

Jump to

Keyboard shortcuts

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