binary

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package binary provides types and functionality to handle function definitions within a target Go binary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func struct {
	Name          string
	Offset        uint64
	ReturnOffsets []uint64
}

Func represents a function target.

func FindFunctionsStripped

func FindFunctionsStripped(elfF *elf.File, relevantFuncs map[string]interface{}) ([]*Func, error)

func FindFunctionsUnStripped

func FindFunctionsUnStripped(
	elfF *elf.File,
	relevantFuncs map[string]interface{},
) ([]*Func, error)

Jump to

Keyboard shortcuts

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