Binary Raw - Docs
    Preparing search index...

    Function detect

    • Detects whether buf contains an ELF image by verifying the 0x7F 'E' 'L' 'F' magic bytes at offset 0.

      Parameters

      Returns boolean

      true if the buffer starts with a valid ELF magic number.