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.
Click to show internal directories.
Click to hide internal directories.