Commit Graph

574 Commits

Author SHA1 Message Date
Nikolaj Schlej
862cdb1931 Set the font globally to fix an issue with HiDPI displays, update copyrights and organization name and domain 2022-12-07 12:25:57 -08:00
Klemens Nanni
6e7b46d791 Fix OpenBSD build, use swap16(3) from <endian.h>
bswap*() do not exist on OpenBSD.
2022-11-27 10:22:38 -08:00
yeggor
47c8938c7e Add additional check for entryHeader->Size in NvramParser::parseEvsaStoreBody to avoid uint32 underflow 2022-11-15 18:08:25 -08:00
Nikolaj Schlej
5f134f783a Fix initialization issue spotted by PVS-Studio and Coverity 2022-11-12 06:14:57 -08:00
Mike Beaton
1d560bd0be Apply hex cleaning to search dialog paste operations
- Permits pasting to 'GUID' search directly from cpp representation
 - Provides hex cleaning (e.g. auto-remove 0x) in 'Hex pattern' search as well
2022-11-12 05:52:40 -08:00
Nikolaj Schlej
71a7336730
Fix warnings spotted by GCC 2022-11-05 11:03:50 +01:00
Nikolaj Schlej
497fb2a86f Replace append with += 2022-10-23 13:49:53 +02:00
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