assembly

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package assembly provides functionality for scanning and analyzing assembly files. to detect function implementations and calls.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	// ImplementedFunctions maps function names to whether they are implemented in assembly.
	ImplementedFunctions map[string]struct{}
	// CalledFunctions maps function names to whether they are called from assembly.
	CalledFunctions map[string]struct{}
}

Info contains information about functions found in assembly files.

func ScanPackage

func ScanPackage(pkg *packages.Package) (*Info, error)

ScanPackage scans all assembly files in a package and returns assembly information. This function uses pkg.OtherFiles which are already filtered by the build configuration. used during package loading, ensuring correct cross-architecture behavior.

Jump to

Keyboard shortcuts

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