scan

package
v0.0.0-...-df5f45c Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*RunOptions)

func WithNullsPermitted

func WithNullsPermitted() Option

func WithStringTableGuessed

func WithStringTableGuessed() Option

func WithStringTableIgnored

func WithStringTableIgnored() Option

type Reference

type Reference struct {
	Addr         uint64 // address where the reference is made
	SymbolName   string // closest symbol
	SymbolOffset int    // offset from the closes symbol
	File         string // file that contains the reference
	Line         int    // line number of the above file
}

References carries information relating to a reference to a string

type Result

type Result struct {
	Addr  uint64      // address where the string resides
	Value string      // raw value of the string
	Refs  []Reference // references (if known)
}

Result encapsulates a single located string

func Run

func Run(r io.ReaderAt, opts ...Option) ([]Result, error)

Run performs analysis over data read from the supplied reader and returns potential strings

type RunOptions

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

Jump to

Keyboard shortcuts

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