Multiple improvements and bugfixes

1. Fixes #158, UEFITool and UEFIFind failed to lookup pattern crossing header/body boundary
2. Fixes #159, filter out more symbols in fileanems, which are prohibited by different filesystems
3. Add more known file GUIDs
4. Add basic support for FMP images
5. Fix unaligned read in uint24ToUint32
6. Fix compilation with latest cmake requiring directory path
This commit is contained in:
vit9696 2019-01-20 13:23:28 +03:00
parent 40b77a713f
commit 1ac6e6a4f0
13 changed files with 266 additions and 82 deletions

View file

@ -46,7 +46,7 @@ VOID uint32ToUint24(UINT32 size, UINT8* ffsSize)
UINT32 uint24ToUint32(const UINT8* ffsSize)
{
return *(UINT32*)ffsSize & 0x00FFFFFF;
return readUnaligned((UINT32*)ffsSize) & 0x00FFFFFF;
}
UString guidToUString(const EFI_GUID & guid, bool convertToString)