Parse, and optionally output, details and data on UEFI-related firmware. ``dump()`` walk the hierarchy and write each to a fileĪ Python script is installed ``uefi-firmware-parser`` ``showinfo()`` print a hierarchy of information about the structure ``process()`` performs parsing work and returns a ``True`` or ``False`` In all cases there are abstract methods implemented: There are several classes within the **uefi**, **pfs**, **me**, and **flash** packages thatĪccept file contents in their constructor. Parser = uefi_firmware.AutoParser(file_content) With open('/path/to/firmware.rom', 'r') as fh: The simplest way to use the module to detect or parse firmware is through the ``AutoParser`` class. The compression/decompression features will use the python headers and ``gcc``. Python development headers, usually found in the ``python-dev`` package. To install from Github, checkout this repo and use: This module is available through PyPi as `uefi_firmware `_ Please use the example scripts for parsing tutorials. This includes parsing modules for BIOS, OptionROM, Intel ME and other formats too. The UEFI firmware parser is a simple module and set of scripts for parsing, extracting,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |