You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes companies leave out the EFI_SECTION_USER_INTERFACE section for files in the FV, so all we can see is the GUID (Hi Intel!). Equally bad, programs like UefiTool now transparently substitute names for known file GUIDs, so when you look at a ROM image with UEFITool and with utk they look very different, and you're not sure why.
It would be nice in table format if the print were changed as follows:
i.e. put the name in parens for each line. Further, it would be good to know if the name from from the EFI_SECTION_USER_INTERFACE or known GUIDS, maybe something like
This would also make grepping for names easier:
utk wc_tiny_kernel.bin table|grep DRIVER
would show most of what we want: GUID, and name.
Finally, let's pretend that some IBV creates a file where the EFI_SECTION_USER_INTERFACE and known guid name differ -- it would be very nice to print something out too:
One way to do this is to add a Name function to File that returns two strings, one from KG, one from a UI section. The irritating bit is that the file name is not part of the file, but the section, and it can even be in a nested section and not a direct child of the file.
@rminnich, you can do "File->Unload GUID database" in UEFITool and reopen the current image for it to not substitute GUIDs for names by default. I'll make an issue about having a checkbox like "View->BootGuard Markings" if somebody wants GUIDs to be visible by default instead of the names.
@ALL, please create issues in UEFITool's repo if you don't like something about the changes made, have ideas about improving the UI, or for any other reason, we'll appreciate your feedback.
Sometimes companies leave out the EFI_SECTION_USER_INTERFACE section for files in the FV, so all we can see is the GUID (Hi Intel!). Equally bad, programs like UefiTool now transparently substitute names for known file GUIDs, so when you look at a ROM image with UEFITool and with utk they look very different, and you're not sure why.
It would be nice in table format if the print were changed as follows:
Before:
After:
i.e. put the name in parens for each line. Further, it would be good to know if the name from from the EFI_SECTION_USER_INTERFACE or known GUIDS, maybe something like
File F9D88642-0737-49BC-81B5-6889CD57D9EA EFI_FV_FILETYPE_DRIVER 0x3bba (UI=Shell)
File F9D88642-0737-49BC-81B5-6889CD57D9EA EFI_FV_FILETYPE_DRIVER 0x3bba (KG=shell)
This would also make grepping for names easier:
utk wc_tiny_kernel.bin table|grep DRIVER
would show most of what we want: GUID, and name.
Finally, let's pretend that some IBV creates a file where the EFI_SECTION_USER_INTERFACE and known guid name differ -- it would be very nice to print something out too:
File F9D88642-0737-49BC-81B5-6889CD57D9EA EFI_FV_FILETYPE_DRIVER 0x3bba (UI=SomeStupidName,KG=Shell)
so we'd know things were a bit weird.
The text was updated successfully, but these errors were encountered: