mirror of
https://github.com/BeneficialCode/WinArk
synced 2026-08-09 12:00:31 +00:00
highlight hooked entries and fix uninitialized Hooked
This commit is contained in:
@@ -140,6 +140,9 @@ int CSSDTHookTable::ParseTableEntry(CString& s, char& mask, int& select, SystemS
|
||||
s = Helpers::StringToWstring(info.TargetModule).c_str();
|
||||
break;
|
||||
}
|
||||
if (info.Hooked) {
|
||||
select |= DRAW_HILITE;
|
||||
}
|
||||
|
||||
return s.GetLength();
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ struct SystemServiceInfo {
|
||||
std::string HookType;
|
||||
uintptr_t CurrentAddress;
|
||||
std::string TargetModule;
|
||||
bool Hooked;
|
||||
bool Hooked = false;
|
||||
};
|
||||
|
||||
class CSSDTHookTable :
|
||||
|
||||
@@ -138,6 +138,10 @@ int CShadowSSDTHookTable::ParseTableEntry(CString& s, char& mask, int& select, S
|
||||
break;
|
||||
}
|
||||
|
||||
if (info.Hooked) {
|
||||
select |= DRAW_HILITE;
|
||||
}
|
||||
|
||||
return s.GetLength();
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ struct ShadowSystemServiceInfo {
|
||||
std::string HookType;
|
||||
uintptr_t CurrentAddress;
|
||||
std::string TargetModule;
|
||||
bool Hooked;
|
||||
bool Hooked = false;
|
||||
};
|
||||
|
||||
class CShadowSSDTHookTable :
|
||||
|
||||
Reference in New Issue
Block a user