binary

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2019 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Magic32 is the Mach-O 32-bit magic number in big-endian
	Magic32 uint32 = 0xFEEDFACE
	// Cigam32 is the Mach-O 32-bit magic number in little-endian
	Cigam32 uint32 = 0xCEFAEDFE
	// Magic64 is the Mach-O 64-bit magic number in big-endian
	Magic64 uint32 = 0xFEEDFACF
	// Cigam64 is the 64-bit magic number in little-endian
	Cigam64 uint32 = 0xCFFAEDFE
)

Variables

This section is empty.

Functions

func Analysis

func Analysis(command entities.Command, entity *entities.BinaryAnalysis, adapter adapters.AdapterMap)

BinaryAnalysis works only on binary inputs.

func GetMachoInfo

func GetMachoInfo(command entities.Command, entity *entities.BinaryAnalysis) error

Analyzes the macho headers to extract the cpu information. We use the standard macho library with some maps to extract the data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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