fwupd/plugins/intel-spi
Richard Hughes 0c51630991 Check firmware magic in a more standard way
Some parsers are ignoring the magic when using _FLAG_IGNORE_CHECKSUM
(which is wrong; fuzzers have no problem with enforcing a static prefix)
and other either disregard the offset or check the magic in an unsafe
way. Also, use FWUPD_ERROR_INVALID_FILE consistently for magic failure.

Add a vfunc, and move all the clever code into one place.
2022-07-14 14:48:15 +01:00
..
fu-ifd-device.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
fu-ifd-device.h trivial: Use FuContext when creating FuIfdDevice children 2022-02-09 16:58:04 +00:00
fu-intel-spi-common.c intel-spi: Sync with the device list found in flashrom 2022-02-17 15:50:18 +00:00
fu-intel-spi-common.h intel-spi: Sync with the device list found in flashrom 2022-02-17 15:50:18 +00:00
fu-intel-spi-device.c Add 'action' resolution flags to each FwupdSecurityAttr 2022-07-14 14:47:44 +01:00
fu-intel-spi-device.h Allow using a per-device global percentage completion 2021-09-13 14:28:15 +01:00
fu-pci-device.c Split out the string helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-pci-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-plugin-intel-spi.c Split out the kernel helpers to a new source file 2022-06-14 14:36:52 -05:00
generate-quirk.py plugins/intel-spi: Correct BIOS Control Device (#4742) 2022-06-14 09:07:48 +00:00
intel-spi.quirk plugins/intel-spi: Correct BIOS Control Device (#4742) 2022-06-14 09:07:48 +00:00
meson.build Build the quirk files into the daemon as a GResource 2022-06-30 18:52:24 +01:00
README.md trivial: update markdown for pre-commit style 2021-07-18 14:42:47 -05:00

Intel SPI

Introduction

This plugin verifies the SPI contents, typically an Intel Flash descriptor. The result will be stored in an security attribute for HSI.

External Interface Access

This plugin requires read access to /dev/port and thus will not work if the kernel is locked down.