Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pe-binary: add pe_is_native() for checking if PE is native | Lennart Poettering | 2024-09-12 | 1 | -0/+11 |
| | |||||
* | pe-binary: split pe_header_find_section() in two | Lennart Poettering | 2024-09-12 | 1 | -5/+14 |
| | | | | | | | | This splits out the core part into a new function pe_section_table_find(). pe_header_find_section() takes a PeHeader as input, while pe_section_table_find() just takes the section table and its size. | ||||
* | pe-binary: split pe_read_section_data() into two | Lennart Poettering | 2024-09-12 | 1 | -21/+31 |
| | | | | | | This renames pe_read_section_data() to pe_read_section_data_by_name() and makes pe_read_section_data() a bit more low-level: it takes a header table entry directly, instead of searching it first by name. | ||||
* | pe-binary: add helper pe_is_addon() for detecting whether we are looking at ↵ | Lennart Poettering | 2024-09-12 | 1 | -0/+14 |
| | | | | PE EFI add-on | ||||
* | pe-binary: .initrd section is optional for UKI | Yu Watanabe | 2024-05-16 | 1 | -2/+3 |
| | | | | | | | .osrel is also optional, but sd-boot and bootctl requires it. So, let's keep .osrel section at least now. Fixes #32774. | ||||
* | pe-binary: actually check if PE binary is UEFI binary when determining if UKI | Lennart Poettering | 2023-09-29 | 1 | -0/+3 |
| | | | | If it's not a UEFI binary, then it's not a UKI. | ||||
* | shared: add common implementation of PE parser | Lennart Poettering | 2023-08-29 | 1 | -0/+238 |