disasm

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: AGPL-3.0 Imports: 5 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) AddrIsString

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

func (*Extractor) Extract

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

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