B2R2


FormatDetector Module

Binary file format detector.

Functions and values

Function or value Description

FormatDetector.identify bytes isa

Full Usage: FormatDetector.identify bytes isa

Parameters:
    bytes : byte[]
    isa : ISA

Returns: FileFormat * ISA

Given a byte array, identify its binary file format and return B2R2.FileFormat and B2R2.ISA.

bytes : byte[]
isa : ISA
Returns: FileFormat * ISA