| 38 | } |
| 39 | |
| 40 | PVOID get_system_module_export(const char* module_name, LPCSTR routine_name) |
| 41 | { |
| 42 | PVOID lpModule = get_system_module_base(module_name); |
| 43 | |
| 44 | if (!lpModule) |
| 45 | return NULL; |
| 46 | |
| 47 | return RtlFindExportedRoutineByName(lpModule, routine_name); |
| 48 | } |
| 49 | |
| 50 | PVOID get_system_routine_address(PCWSTR routine_name) |
| 51 | { |
no test coverage detected