Commit graph

14 commits

Author SHA1 Message Date
Patrick Rudolph
432340352c Add AMD firmware parser
Based on the open source AMDFWTOOL available here:
https://github.com/coreboot/coreboot/tree/main/util/amdfwtool

TODO:
- Merge duplicated regions
  There can be multiple L2 directory tables, for A/B recovery or
  to support different SoC SKUs. They point to the same regions,
  causing the same area to be shown multiple times in the parsed
  image.
- Better quirks support
  PSP hardcodes certain sizes and address types for some files.
  The parser might thus fail, even though it works on real hardware.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2025-03-22 07:15:46 +01:00
Patrick Rudolph
3aefe281c4 common: Move Intel specific code to own file
Prepare for AMD specific parsers and move the Intel code into it's
own file.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2025-03-22 07:15:21 +01:00
Nikolaj Schlej
3cb5dc0165 Add SLIC pubkey and marker parsers 2025-03-13 19:27:55 +07:00
Nikolaj Schlej
58366f48fe Add Insyde Flash Device Map parser 2025-03-13 19:27:55 +07:00
Nikolaj Schlej
f989fdfea1 Add Phoenix FlashMap parser 2025-03-13 19:27:55 +07:00
Nikolaj Schlej
4e600eb986 Add Apple SysF/Diag parser 2025-03-13 19:27:55 +07:00
Nikolaj Schlej
4e3fa5899c Update QHexView, build it as a library for Qt6 builds 2025-02-21 11:09:10 +07:00
yeggor
37372cdab4 Release memory in fuzzer 2023-03-16 16:47:51 -07:00
Nikolaj Schlej
aa3e790fb1 Revert "Fix FfsParser issues found by fuzzing"
This reverts commit b8567d32cc.
2023-03-12 08:49:19 -07:00
Nikolaj Schlej
b8567d32cc Fix FfsParser issues found by fuzzing
Resolve alignment issue with guidToUstring
2023-02-26 16:27:27 -08:00
Nikolaj Schlej
7eb565d788 Switch AMI NVAR parser to Kaitai 2023-02-19 12:24:20 -08:00
Nikolaj Schlej
3cf8d86c34 Add AFL-compatible fuzzing mode, disable use of Qt6 by default 2023-02-13 19:55:31 -08:00
Nikolaj Schlej
38854e945a Fuzzing: build with Qt6 support by default, enable all parsers 2023-02-13 18:13:23 -08:00
Nikolaj Schlej
209fbb6282 Add minimal libFuzzer-compatible harness for FfsParser 2023-02-13 16:56:53 -08:00