Commit Graph

481 Commits

Author SHA1 Message Date
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
Nikolaj Schlej
7695927eec Fixed inconsistent use of %ll and %l format modifiers 2022-08-29 07:10:13 +02:00
Nikolaj Schlej
e5b594c347 Run Coverity in Linux with Qt6, improve unixbuild.sh 2022-08-28 18:38:23 +02:00
Nikolaj Schlej
67c568daf8
Merge pull request #279 from LongSoft/PR/make_format_strings_sane_again
Make format strings sane again
2022-08-28 13:21:09 +02:00
Nikolaj Schlej
4006954bc1 Downcast all qtsizetype to UINT32 manually, apply consistent identation 2022-08-28 12:47:01 +02:00
Nikolaj Schlej
10e2e60183 Off with that PRI*Q bullshit 2022-08-28 12:01:43 +02:00
Nikolaj Schlej
eb3185224b More minor structure init fixes 2022-08-28 08:00:05 +02:00
vit9696
83548d4c8a Add new macOS style icon wrapper 2022-08-28 07:01:47 +03:00
vit9696
2246026434 Also force macOS 12 for Coverity 2022-08-27 19:44:18 +03:00
vit9696
ff864f9b8f Force macOS 12 to support LTO in new format
Currently macos-latest is macOS 11 on GitHub
2022-08-27 19:25:26 +03:00
vit9696
f626316b1e Build UEFITool with universal Qt 5.6.3 to produce FAT binaries on macOS
references #228
2022-08-27 19:20:04 +03:00
vit9696
7951bc1bcf Build tools as FAT binaries (arm64/x86_64) on macOS
references #228
2022-08-27 19:20:04 +03:00
Nikolaj Schlej
19ec41b7e2
Update README.md
Update CI badge to show the status of GitHub Actions, instead of the now-unused Travis-CI
2022-08-25 10:14:11 +02:00
Nikolaj Schlej
3aafbdd269 Fix another coverity warning about unitialized structure fields usage 2022-08-25 09:43:18 +02:00
Nikolaj Schlej
4c74232688
Merge pull request #274 from LongSoft/PR/fpt_header_21
Add support for Intel ME FPT header version 2.1
2022-08-25 09:27:32 +02:00
Nikolaj Schlej
74910c4658 Add support for Intel ME FPT header version 2.1 2022-08-25 08:54:34 +02:00
Nikolaj Schlej
eabd6a8604
Merge pull request #271 from LongSoft/PR/uncompressed_and_refactorings
Refactoring round 1
2022-08-25 07:13:54 +02:00
Nikolaj Schlej
820e3ea65d
Merge pull request #272 from LongSoft/PR/fix_new_coverity_warnings
Fix new warnings from Coverity Scan
2022-08-25 07:09:58 +02:00
Nikolaj Schlej
d7f360e337
Merge pull request #273 from LongSoft/PR/modernize_cicd_runners
Fix CI/CD
2022-08-25 07:08:12 +02:00
Nikolaj Schlej
e36cc77c06 Fix CI/CD
- update Linux and macOS runners to ubuntu-latest and macos-latest
- update Windows runner to use windows-2019 and VS 2019 (still with XP targeting)
2022-08-25 06:56:49 +02:00
Nikolaj Schlej
e85fb741ee Fix new warnings from Coverity Scan 2022-08-25 06:49:10 +02:00
Nikolaj Schlej
12f40cf289 - introduce Extract Uncompressed and Uncompressed Hex View actions for compressed items
- remove unused code to support Qt 5.5 and earlier Qt versions
- remove unused section parsing code
- add a check and description for section alignment quirk (compiled out for now)
2022-08-24 22:17:51 +02:00
Nikolaj Schlej
cc274319bf
Merge pull request #266 from yeggor/new_engine
Add support for EFI_GUIDED_SECTION_LZMA_HP GUID
2022-08-24 10:42:32 +02:00
yeggor
d46489fabb
Add EFI_GUIDED_SECTION_LZMA_HP GUID 2022-08-24 06:01:00 +03:00
Vitaly Cheptsov
7c534cca2a
Bump alpha version to A60 2021-10-14 04:26:59 +03:00
vit9696
d9af12b567 Use constant offsets instead of 1-byte arrays 2021-10-14 04:25:26 +03:00
Nikolaj Schlej
fae9d6681d Update utility.cpp
- address review comment
2021-10-14 04:25:26 +03:00
Nikolaj Schlej
1f488862c6 Fix #246
- fixed CPLD extension area parser hang
- added some definitions for CSME types obtained from MEParser
2021-10-14 04:25:26 +03:00
vit9696
963671a73e Merge zlib warning fixes by rurban
https://github.com/madler/zlib/compare/develop...rurban:FALLTHROUGH?d=1.patch
2021-10-07 19:10:36 +03:00
vit9696
2a083d8739 Fix cast warnings 2021-10-07 19:02:11 +03:00
vit9696
44bb6e8261 Drop meaningless const inst scalar casts 2021-10-07 18:56:25 +03:00
joevt
f9c35f77a6 Improve firmware parser and tool robustness
closes #241
2021-10-07 18:51:39 +03:00
Vitaly Cheptsov
e14547c497
Upgrade Linux CI to Ubuntu 20.04 2021-10-06 19:01:39 +03:00
vit9696
44c5b4bc49 Fix autorename in TCG and others 2021-09-11 05:33:01 +03:00
vit9696
0fb88ab760 Fix file names in guids.csv 2021-09-11 05:30:00 +03:00
assafcarlsbad
a754fb5153
Add some more GUID definitions to guids.csv. (#242) 2021-09-09 18:55:50 +03:00
Vampire Cat
34c8ad8dcc
Updated code to support newer Qt versions (#237) 2021-04-04 12:09:23 +03:00