Binary Raw - Docs
    Preparing search index...

    Function detect

    • Detects whether buf contains a PE (Portable Executable) image by verifying the DOS MZ signature at offset 0 and the PE\0\0 signature at the offset indicated by e_lfanew (byte 0x3C).

      Parameters

      Returns boolean

      true if the buffer contains a valid PE image.