Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix uefi parse of ASUS UEFI CAP files #128

Merged
merged 1 commit into from
Oct 1, 2024

Commits on Aug 13, 2024

  1. Fix uefi parse of ASUS bios CAP files

    Checked with: https://dlcdnets.asus.com/pub/ASUS/mb/BIOS/Pro-WS-WRX90E-SAGE-SE-ASUS-0502.zip
    
    Workaround for:
      File "uefi_firmware/guids/__init__.py", line 21, in get_guid_name
        raw_guid = aguid(guid)
                   ^^^^^^^^^^^
      File "/home/denis/Develop/linux-kernel/checks/uefi-firmware-parser/uefi_firmware/utils.py", line 105, in aguid
        a, b, c, d = struct.unpack("%sIHH8s" % (">" if big else "<"), b)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    struct.error: unpack requires a buffer of 16 bytes
    0lvin committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    dc53fad View commit details
    Browse the repository at this point in the history