| 126 | { |
| 127 | |
| 128 | std::wstring_view toStringView(const UNICODE_STRING* s) |
| 129 | { |
| 130 | if (s && s->Buffer) { |
| 131 | return {s->Buffer, (s->Length / sizeof(wchar_t))}; |
| 132 | } else { |
| 133 | return {}; |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | std::wstring_view toStringView(POBJECT_ATTRIBUTES poa) |
| 138 | { |
no outgoing calls
no test coverage detected