MCPcopy Create free account
hub / github.com/changeofpace/VivienneVMM / IvValidateDebugRegisterIndex

Function IvValidateDebugRegisterIndex

VivienneVMM/ioctl_validation.cpp:97–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96
97_Use_decl_annotations_
98NTSTATUS
99IvValidateDebugRegisterIndex(
100 ULONG DebugRegisterIndex
101)
102{
103 NTSTATUS ntstatus = STATUS_SUCCESS;
104
105 if (DAR_COUNT <= DebugRegisterIndex)
106 {
107 ntstatus = STATUS_INVALID_PARAMETER;
108 goto exit;
109 }
110
111exit:
112 return ntstatus;
113}
114
115
116_Use_decl_annotations_

Callers 2

CecCaptureRegisterValuesFunction · 0.85
CecCaptureMemoryValuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected