Commit Graph

517 Commits

Author SHA1 Message Date
Nikolaj Schlej
c9e16cb180 Add modulus+exponent KM hashes 2022-10-23 13:37:19 +02:00
Nikolaj Schlej
50396d7291 Improve truncated image checks to preven UEFIExtract crashes 2022-10-15 09:20:55 +03:00
Richard Hughes
0429225c56 trivial: Fix the position of the colon when dumping the KM pubkey
This kinda matters when parsing the output using Python...
2022-10-11 17:15:59 +02:00
Richard Hughes
cd22c3db2b Split up the signature exponent and modulus on stdout
This makes it easier to parse from Python.
2022-10-11 09:40:34 +02:00
Nikolaj Schlej
c3cedba150 Fix another crash in checkProtectedRanges 2022-10-11 09:39:19 +02:00
Nikolaj Schlej
89a302e5d9 Calculate key manifest public key hashes that could be written into FPFs 2022-10-09 11:24:27 +02:00
Nikolaj Schlej
7e5e02b4b4 Improve detection of BPDT partition tables in raw areas, update the list of known BPDT entry types 2022-10-09 07:18:28 +02:00
Nikolaj Schlej
acc913769b Add workaround for Lenovo large files inside FFSv2 volumes 2022-10-07 14:40:20 +02:00
vulpes2
ad8a841f43 Update appstream metadata to fix screenshot URL 2022-10-05 19:00:34 +02:00
Nikolaj Schlej
d0129d4c63 Post-release version bump 2022-10-03 22:36:28 +02:00
Nikolaj Schlej
662e0bf9b1 Comment out unused (but still generating warnings) floating point parsing functions 2022-10-03 20:29:27 +02:00
Nikolaj Schlej
ee6b536009 Add FreeBSD x86-64 builds to CI/CD pipeline
Check if FreeBSD action works

Reduce qt5 package list, try building the things using default build script

Add the required qt5-buildtools package

Enable upload steps
2022-10-03 19:43:15 +02:00
pkubaj
799f186852 Fix build on *BSD/arm (32-bit)
Similar fix as for aarch64. I only tested FreeBSD, but since aarch64 version works everywhere, this one should also.
2022-09-29 23:15:57 +03:00
Nikolaj Schlej
7d4e535c34 Make UEFITool buildable with Qt 6.2 and older 2022-09-28 05:58:53 +00:00
Nikolaj Schlej
6247fa5bbc Fix building with MinGW 11.2.0 on Windows, add it into CI/CD 2022-09-27 19:22:32 +02:00
Nikolaj Schlej
9bb0549ad2 Add other BSD variants once again 2022-09-25 08:22:24 +02:00
Nikolaj Schlej
e38e246bf5 Update appdata.xml 2022-09-25 08:19:29 +02:00
vulpes2
6ca7d99f66 Add appstream manifest and screenshot 2022-09-25 08:15:40 +02:00
pkubaj
739de0fec8 Fix build on FreeBSD/arm64 2022-09-21 18:03:45 +03:00
ValdikSS
152fcc44a5 Fix compilation documentation 2022-09-17 06:33:59 -07:00
ValdikSS
d1032d59fd Compile in parallel, with all available cores 2022-09-17 06:33:59 -07:00
ValdikSS
26a2f46197 Fix compilation on Fedora: qmake is qmake-qt5 2022-09-17 06:33:59 -07:00
Nikolaj Schlej
a9d1016a52 Add other BSD variants to the same area that fixed FreeBSD builds 2022-09-15 06:46:02 +02:00
pkubaj
4358f31242 Fix build on FreeBSD 2022-09-14 21:26:55 -07:00
Nikolaj Schlej
574754fce6 Add a missing break to types.cpp 2022-09-14 19:04:44 +02:00
Nikolaj Schlej
6e5cc3bccc Add support for AMI ROM hole files 2022-09-14 19:04:44 +02:00
Nikolaj Schlej
011647aa30 Fix a possible crash of MeParser in case there are no valid FPT partition table entries 2022-09-14 19:04:44 +02:00
Nikolaj Schlej
a4a455d0ff Add support for x86 recovery startup AP data entries in special padding files 2022-09-14 19:04:44 +02:00
Nikolaj Schlej
06653d024b Provide basic non-owning memstream implementation for Kaitai parsers to use 2022-09-14 19:04:44 +02:00
Nikolaj Schlej
f514c60cba
Update README.md
Add SonarCloud QualityGate badge
2022-09-14 08:41:04 +02:00
Nikolaj Schlej
109d30b5e6
Update README.md
Added "Bug repellents" section to comply with PVS-Studio OSS licensing rules
2022-09-14 08:37:17 +02:00
yeggor
ce2291a23c Fix CMAKE_CXX_STANDARD 17 build on Windows 2022-09-14 04:05:13 +02:00
Nikolaj Schlej
b457ed99cd Post-release version bump to A62 2022-09-10 16:47:56 +02:00
Nikolaj Schlej
c4ca232b3a Fix a version issue in ACBPv2 definition file 2022-09-10 16:08:06 +02:00
Nikolaj Schlej
a9c6f347a2 Fix another issue spotted by PVS-Studio 2022-09-10 14:47:55 +02:00
Nikolaj Schlej
22d1db8c7f Fix issues spotted by PVS-Studio and SonarCloud 2022-09-10 14:20:49 +02:00
Nikolaj Schlej
75a1374c0c Fix a type issue found by CoreQL 2022-09-10 13:59:23 +02:00
Nikolaj Schlej
934ce1f3f8 Kaitai-based Intel ACM and BootGuard parsers
As the first step towards automated parsing, this change set replaces outdated BootGuard-related parsers with shiny new KaitaiStruct-based ones.
It also does the following:
- improves Intel FIT definitions by using the relevant specification
- adds sha1, sha384, sha512 and sm3 digest implementations
- updates LZMA SDK to v22.01
- moves GUIDs out of include files to prevent multiple instantiations
- enforces C++11
- adds Kaitai-based parsers for Intel FIT, BootGuard v1 and BootGuard v2 structures
- makes many small refactorings here, there and everywhere
2022-09-10 13:14:29 +02:00
Richard Hughes
8600bc3ab3 meson: Use cpp_args when compiling C++ sources 2022-09-09 16:14:40 +03:00
Glenn Washburn
55d4b4fc66 Add GUIDs from Lenovo UEFI BIOS 2022-09-08 13:43:50 +03:00
Nikolaj Schlej
2be53035b6 Add SonarCloud to CI/CD 2022-09-02 23:47:55 +02:00
Nikolaj Schlej
d6bf25df67 Add CodeQL, build everything for PVS-Studio 2022-09-02 23:11:39 +02:00
Nikolaj Schlej
787e02181a Run PVS-Studio static analyzer as part of CI/CD 2022-09-02 22:27:32 +02:00
Nikolaj Schlej
3977fcaed9 Add Qt6-only CMake file for UEFITool to use for CI/CD 2022-09-02 21:40:32 +02:00
Richard Hughes
9cd97e78e6 Post release version bump in meson 2022-09-02 13:02:51 +02:00
Richard Hughes
1675498d4d Add UEFIFind as a meson target 2022-09-02 13:02:51 +02:00
Richard Hughes
d93f1ae749 Remove an extraneous meson parameter 2022-09-02 13:02:51 +02:00
Richard Hughes
e9261a9900 Lower the meson requirement to what ships in Ubuntu 18.04 2022-09-02 13:02:51 +02:00
Nikolaj Schlej
f58a97a657
Update main.yml
Change Qt6 version from 6.4.0 (that is now "not found" for some reason) to 6.2.4.
2022-09-01 20:58:14 +02:00
Richard Hughes
eef00f73a4 Add Meson buildsystem
This allows UEFIExtract to build on a greater variety of targets and more
importantly allows us to build with the system-defined hardening protections
present in enterprise distributions.
2022-09-01 20:44:13 +02:00