ret

package
v0.0.0-...-7835657 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrSymbolNotFound returned when the specified symbol is not located
	// in the target ELF file
	ErrSymbolNotFound = errors.New("symbol not found")
	// ErrNoRetFound is returned when no RET instructions are found in
	// the function
	ErrNoRetFound = errors.New("no RET instructions found")
)

Functions

func FindOffsets

func FindOffsets(r io.ReaderAt, symbolName string) ([]int, error)

FindOffsets finds all the offsets within a given function where RET instructions are found

Types

This section is empty.

Jump to

Keyboard shortcuts

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