[Kernel] ExEventObjectType in ObReferenceObjectByHandle

This commit is contained in:
Triang3l 2019-01-19 15:16:26 +03:00
parent 8e5a11aeb4
commit c3fcb47efe
1 changed files with 5 additions and 0 deletions

View File

@ -109,6 +109,11 @@ dword_result_t ObReferenceObjectByHandle(dword_t handle,
} break; } break;
} }
} break; } break;
case 0xD00EBEEF: { // ExEventObjectType
assert(object->type() == XObject::kTypeEvent);
native_ptr = object->guest_object();
assert_not_zero(native_ptr);
} break;
case 0xD017BEEF: { // ExSemaphoreObjectType case 0xD017BEEF: { // ExSemaphoreObjectType
assert(object->type() == XObject::kTypeSemaphore); assert(object->type() == XObject::kTypeSemaphore);
native_ptr = object->guest_object(); native_ptr = object->guest_object();