.pytool/Plugin/GuidCheck/Readme.md
This CiBuildPlugin scans all the files in a code tree to find all the GUID definitions. After collection it will then look for duplication in the package under test. Uniqueness of all GUIDs are critical within the UEFI environment. Duplication can cause numerous issues including locating the wrong data structure, calling the wrong function, or decoding the wrong data members.
Currently Scanned:
Any GUID value being equal to two names or even just defined in two files is considered an error unless in the ignore list.
Any GUID name that is found more than once is an error unless all occurrences are Module GUIDs. Since the Module GUID is assigned to the Module name it is common to have numerous versions of the same module named the same.
The plugin has numerous configuration options to support the UEFI codebase.
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": []
}
This list allows strings in two formats.
This list allows strings in guid registry format GuidValue.
This supports .gitignore file and folder matching strings including wildcards
This supports strings in the format of GuidName=GuidName=GuidName