Nikolaj Schlej
eec2a0bd7c
Remove manual NVRAM parsing, add EDK2 VSS parser written in KaitaiStruct
2025-02-21 12:19:27 +07:00
Nikolaj Schlej
7dd9014a38
Update GUID database
2025-02-21 11:21:21 +07:00
Nikolaj Schlej
369f10188c
Enable building ffsparser_fuzzer during CI/CD, improve readUnaligned to silence Clang UBSAN
2025-02-14 12:00:37 +01:00
Nikolaj Schlej
c94f78a530
Add missing common/LZMA/SDK/C/7zWindows.h
2025-02-14 06:53:27 +01:00
Nikolaj Schlej
b5756f9ccb
Revert old patch from common/LZMA/SDK/C/CpuArch.c
2025-02-14 06:51:07 +01:00
Nikolaj Schlej
65fb4a86b6
Update LZMA SDK to 24.09
2025-02-14 06:45:33 +01:00
Nikolaj Schlej
e66bc7d8dc
Apply a small patch to common/zlib/gzguts.h to fix a build issue in macOS
2025-02-14 05:22:05 +01:00
Nikolaj Schlej
dcf21fa50a
Update built-in zlib to 1.3.1
2025-02-14 05:07:30 +01:00
Nikolaj Schlej
0af36bdcd9
Fix an issue with kaitai_regenerate.sh creating backup files on modern macOS
2025-02-14 04:58:59 +01:00
Nikolaj Schlej
a824260064
Add MX77L12850F
2025-02-13 01:09:48 +01:00
Nikolaj Schlej
214b356f84
Add AMIC A25LQ64 to internal JEDEC ID database
2025-02-12 08:50:50 +01:00
Vitaly Cheptsov
0030ea9481
Fix findPattern logic when pattern is at the end of the data
...
references #404
2024-10-09 23:36:23 +03:00
Jeremy Brown
c5508535c1
Defined ACCESSPERMS for musl
2024-02-20 12:19:07 -08:00
Nikolaj Schlej
0a88da1410
Update guids.csv
2023-11-02 12:48:44 -07:00
Nikolaj Schlej
6f9a4c0d46
Fix off-by-one error in parsing IFWI partition table
...
Fixes #376
2023-11-02 12:44:09 -07:00
William Leara
166c797a20
add Micron XM25RH128C
...
Add support for the Micron XM25RH128C SPI flash part. This is a 128Mb part with DevID0 = 0x43, and DevID1 = 0x18.
2023-10-24 22:15:42 -07:00
William Leara
0e11189644
fix a few misspellings
2023-10-13 21:46:53 -07:00
Nikolaj Schlej
1cba371cc2
Update guids.csv
2023-10-06 13:30:20 -07:00
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
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
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
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
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
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
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
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
745f4b69f2
Fix an issue spotted by SonarCloud
2023-02-11 21:12:01 -08:00
Nikolaj Schlej
944133caa7
Automatically select dark colors for BootGuard markings in dark mode
2023-02-11 21:05:18 -08:00
Nikolaj Schlej
ef7ceefa41
Temporary change UI style for Qt6-based Windows build of UEFITool to support dark mode
2023-02-11 20:19:32 -08:00
Nikolaj Schlej
33c25e8255
Add AMI v3 protected ranges hash file support
2023-02-05 20:30:20 -08:00
Nikolaj Schlej
7a161f577a
Fix truncation issue with 64-bit contants on Windows, update Kaitai patch script
2023-02-03 23:53:10 -08:00
Nikolaj Schlej
c9939e23ec
Fix possible unaligned access to UCS2 strings
2023-01-31 20:15:12 -08:00
Nikolaj Schlej
b649b98cb5
Add support for Clang sanitizers for UEFITool
...
Only applied to CMake Debug builds, useful for debugging undefined behavior.
2023-01-31 17:48:20 -08:00