Inf parser
inf_parser ¶
Code to help parse EDK2 INF files.
InfParser ¶
Object representing a parsed INF with capabilities to parse an INF.
Attributes:
Name | Type | Description |
---|---|---|
Parsed |
bool
|
Whether the object contains a parsed INF |
Lines |
list[str]
|
ordered list of all lines in the INF |
Dict |
dict
|
Key / Value pairs found in the INF. |
LibraryClass |
str
|
library class of the INF |
SupportedPhases |
list[str]
|
list of supported phases (i.e. "SEC", "PEIM", etc.) |
PackagesUsed |
list[str]
|
list of packages used |
LibrariesUsed |
list[str]
|
list of libraries used |
ProtocolsUsed |
list[str]
|
list of protocols used |
GuidsUsed |
list[str]
|
list of guids used |
PpisUsed |
list[str]
|
list of Ppis used |
PcdsUsed |
list[str]
|
list of Pcds used |
Sources |
list[str]
|
list of source files used |
Binaries |
list[str]
|
list of binaries used |
Path |
str
|
Path to the INF file |