disasm

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 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,
	sectCheck func(addr, size uint64) bool,
	goStringSym *entity.AddrPos,
) (*Extractor, error)

func (*Extractor) Extract

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

func (*Extractor) Validate added in v1.6.0

func (e *Extractor) Validate(addr, size uint64) 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