Debug messages.

This commit is contained in:
jief666 2020-09-09 14:19:32 +03:00
parent dfac7119f6
commit 389ec9d17c
2 changed files with 2 additions and 2 deletions

View File

@ -3188,7 +3188,7 @@ VOID GetListOfInjectKext(CHAR16 *KextDirNameUnderOEMPath)
mKext->Next = InjectKextList; mKext->Next = InjectKextList;
mKext->Version = GetBundleVersion(FullName); mKext->Version = GetBundleVersion(FullName);
InjectKextList = mKext; InjectKextList = mKext;
// DBG("Added mKext=%ls, MatchOS=%ls\n", mKext->FileName, mKext->MatchOS); DBG("Added Kext=%ls\\%ls\n", KextDirNameUnderOEMPath, mKext->FileName.wc_str());
// Obtain PlugInList // Obtain PlugInList
// Iterate over PlugIns directory // Iterate over PlugIns directory

View File

@ -353,7 +353,7 @@ VOID LOADER_ENTRY::AddKextsInArray(const XStringW& SrcDir, const XStringW& Path,
MsgLog("AddKextsInArray from %ls\n", SrcDir.wc_str()); MsgLog("AddKextsInArray from %ls\n", SrcDir.wc_str());
CurrentKext = InjectKextList; CurrentKext = InjectKextList;
while (CurrentKext) { while (CurrentKext) {
DBG(" current kext name=%ls path=%ls, match against=%ls\n", CurrentKext->FileName, CurrentKext->KextDirNameUnderOEMPath, Path); DBG(" current kext name=%ls path=%ls, match against=%ls\n", CurrentKext->FileName.wc_str(), CurrentKext->KextDirNameUnderOEMPath.wc_str(), Path.wc_str());
if ( CurrentKext->KextDirNameUnderOEMPath == Path ) { if ( CurrentKext->KextDirNameUnderOEMPath == Path ) {
FileName = SWPrintf("%ls\\%ls", SrcDir.wc_str(), CurrentKext->FileName.wc_str()); FileName = SWPrintf("%ls\\%ls", SrcDir.wc_str(), CurrentKext->FileName.wc_str());
if (!(CurrentKext->MenuItem.BValue)) { if (!(CurrentKext->MenuItem.BValue)) {