Windows Versions: Fix broken OSDistinguisher

Something happened when picking _EPROCESS members before that caused
this to not function properly. This one relies on a more stable type
removal instead of _EPROCESS members.
This commit is contained in:
David McDonald
2025-03-05 17:59:49 -06:00
parent dc53afb217
commit 7e00f2c4c4
@@ -152,8 +152,8 @@ is_win10 = OsDistinguisher(
is_win10_10586_or_later = OsDistinguisher(
version_check=lambda x: x >= (10, 0, 10586),
fallback_checks=[
("_EPROCESS", "SecurityDomain", False),
("_EPROCESS", "ImageFilePointer", False),
("_UNLOADED_DRIVERS", None, False),
("ObHeaderCookie", None, True),
],
)