Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theopolis/uefi-firmware-samples
Sample firmware for UEFI-firmware parsing
https://github.com/theopolis/uefi-firmware-samples
Last synced: 19 days ago
JSON representation
Sample firmware for UEFI-firmware parsing
- Host: GitHub
- URL: https://github.com/theopolis/uefi-firmware-samples
- Owner: theopolis
- Created: 2014-09-28T18:32:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-23T21:41:25.000Z (about 6 years ago)
- Last Synced: 2023-03-22T18:12:43.510Z (over 1 year ago)
- Language: Python
- Size: 32.6 MB
- Stars: 15
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## uefi-firmware-samples
This is a companion repository for [uefi-firmware-parser](https://github.com/theopolis/uefi-firmware-parser), it exists to store large UEFI-related firmware objects used during unittesting.
### Types of tests
#### Object identification
The `uefi-firmware-parser`: `uefi_firmware` Python module attempts to identify an input blob. The module is mostly organized into classes that represent object types. A subset of those can be provided as input.
There are several folders in this repository, e.g., `efi_capsule`, wherein each file must identify as a `EFICapsule` type. These simple folder-to-class relationships are stored in `TYPES.json`.
#### Object counting
A simple 'count' is used to protect against regressions that prevent parsing. If a change is introduced that alters the count of embedded objects expected from a sample the corresponding file must be updated in `OBJECTS.json`.
### Samples
The samples here are NOT provided for distribution, only for testing.
To add a new sample of an existing type add the binary object and update `OBJECTS.json`.