Commit Graph

614 Commits

Author SHA1 Message Date
Kamay Xutax
4992474e83 Fix CPD Extension offset (reverts 29915ca)
The CPD Extensions should have the header size added as an
offset instead.
2023-08-19 15:15:51 -07:00
xutaxkamay
29915ca620 Fix CPD Manifest's partition offset
The header size needs to be probably added here, maybe it was forgotten ?

This is needed in order to get the proper base address of a CPD_EXT_IFWI_PARTITION_MANIFEST structure in the image for example in that specific case.

If I don't do this, it points to a meaningless address.

Let me know if there can be any issues with this.
2023-08-18 09:11:13 -07:00
chunqing286
4a41c33596 Regenerate cpp source files with 2023-08-04 13:07:11 -07:00
chunqing286
b2a8952c71 Fix for AMI NVAR parser based on kaitai struct by modifing 1 line (line 128) for ami_nvar.ksy. 2023-08-04 13:07:11 -07:00
yeggor
036be8d3bc add additional check for BPDT store size 2023-07-18 15:59:14 -07:00
Julian Prein
a5675bda90 Display message when search fails
Display a message 'could not be found' when the UEFITool search fails.
2023-07-08 09:07:17 -07:00
Nikolaj Schlej
a7cf9cc3e3 Add definitions for yet another AMD-specific Zlib-compressed file and section 2023-06-25 11:58:37 -07:00
Nikolaj Schlej
2b8b00d5b0 Temporary regression fix
Reverting a check added in A66, fixing #368
2023-06-23 21:12:14 -07:00
Daniel Maslowski
8e710e637a README: point UBU link to new Win-Raid Forum home at Level1 Tech 2023-06-19 22:27:54 -07:00
Nikolaj Schlej
53f5c5cd71 Post-release version bump 2023-06-19 18:59:44 -07:00
Nikolaj Schlej
eaef5c819e Clarify MAX_PATH limitation in Windows builds of UEFIExtract 2023-06-19 18:49:59 -07:00
Nikolaj Schlej
b6cdc9f484 Add support for long paths in Windows 10+ 2023-06-19 18:49:53 -07:00
Nikolaj Schlej
031bd4f734 Provide separate filesystem.cpp 2023-06-19 12:59:23 -07:00
Nikolaj Schlej
91fb7cdc83 Update GUID database
https://fwupd.org/lvfs/shards/export/csv
2023-06-07 05:52:19 -07:00
Nikolaj Schlej
a040c72217 Post-release version bump 2023-04-23 20:34:49 -07:00
Nikolaj Schlej
1a1a20895b Refactor UEFIExtract a bit 2023-04-23 16:46:59 -07:00
Nikolaj Schlej
ddf40c9260 Add guids command to UEFIExtract 2023-04-23 16:03:35 -07:00
Nikolaj Schlej
d7c834042f
Update main.yml 2023-04-23 15:27:43 -07:00
Nikolaj Schlej
1958ed7fa9 Use static Qt 6.5.0 for universal macOS builds 2023-04-23 14:59:43 -07:00
Nikolaj Schlej
40fed25637
Update main.yml
Switch to static universal Qt 6.5.0 for macOS
2023-04-23 14:17:00 -07:00
Nikolaj Schlej
dce666c262
Update main.yml
Switch back to ubuntu-latest runner for static analyzers
2023-04-23 10:26:47 -07:00
Nikolaj Schlej
29b339436c
Update main.yml
Try using 16-core runners for static analysis
2023-04-23 10:23:50 -07:00
Nikolaj Schlej
d8bdac174d Fix static analysis issues found by PVS-Studio and Coverity 2023-04-23 10:07:45 -07:00
Nikolaj Schlej
fb5a81ebda
Update main.yml
Try reverting to ubuntu-20.04 for static analysis runners that randomly fail on ubuntu-latest
2023-04-23 02:37:12 -07:00
Nikolaj Schlej
4e17fb4f58
Update main.yml
Update Qt to 6.5.0 in CI/CD
2023-04-23 02:13:18 -07:00
Nikolaj Schlej
cba31d826a Replace QHexEdit2 with QHexView5
New widget adds better look-and-feel and comes with free proper dark mode support.
2023-04-23 00:55:05 -07:00
Nikolaj Schlej
cbf26d125d Add support for dynamic color scheme update 2023-04-22 23:48:25 -07:00
Nikolaj Schlej
84ea44829a
Change Win64 builds to Qt 6.5.0 2023-04-22 22:22:16 -07:00
Nikolaj Schlej
ce92b98527 Restore sorted state of guids.csv 2023-04-20 20:26:21 -07:00
Tody
88fa2d2a47 Update guids.csv
update TpmNvmeSupport GUID
2023-04-19 09:34:18 -07:00
Nikolaj Schlej
f1b0cae1a5
Update README.md 2023-03-26 18:56:20 -07:00
Nikolaj Schlej
12b52902e4
Update README.md 2023-03-26 18:53:52 -07:00
yeggor
d9e1fe5859 Check that volumeHeader->ExtHeaderOffset is aligned to 4 bytes 2023-03-16 16:47:51 -07:00
yeggor
2b876e2cc3 Add check for volumeHeader->ExtHeaderOffset in FfsParser::parseVolumeHeader to prevent OOB access 2023-03-16 16:47:51 -07:00
yeggor
7a25a52427 Fix OOB access with volume.mid(headerSize) 2023-03-16 16:47:51 -07:00
yeggor
37372cdab4 Release memory in fuzzer 2023-03-16 16:47:51 -07:00
yeggor
ea38ab3696 Fix nullptr deref, OOB access to volumeHeader and tempHeader by checking volumeHeader->HeaderLength 2023-03-16 16:47:51 -07:00
yeggor
9c6786a27b Fix 2 OOB access crashes in FfsParser::findNextRawAreaItem 2023-03-16 16:47:51 -07:00
yeggor
6875968d97 Check partitions size before erasing to avoid memory corruption 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
May
6aeb713488 Update README.md
Fix MDL URLs
2023-03-07 18:43:57 -08: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
75bf036137 Switch to C++11 for Kaitai-generated parsers 2023-02-26 13:23:25 -08:00
Nikolaj Schlej
255742f371 Post-release version bump 2023-02-25 08:59:59 -08:00
Nikolaj Schlej
62d96a16df Fix extract body action 2023-02-21 16:55:53 -08:00
Nikolaj Schlej
6c695c12a7 Fix meson builds 2023-02-19 12:38:35 -08:00
Nikolaj Schlej
7eb565d788 Switch AMI NVAR parser to Kaitai 2023-02-19 12:24:20 -08:00
Nikolaj Schlej
2d1ebcc11b Fallback to RawArea parsing in case IntelDescriptor or Capsule parsing was unsuccesful 2023-02-18 08:28:15 -08:00
Nikolaj Schlej
6f9dc0ab88 Fix Unicode search 2023-02-16 22:11:39 -08:00
Nikolaj Schlej
cb6ef45d0c Add -h/--help and -v/--version support to commandline tools 2023-02-15 16:54:32 -08:00