diff --git a/VMHide/kern_start.cpp b/VMHide/kern_start.cpp index 224d254..bef1957 100644 --- a/VMHide/kern_start.cpp +++ b/VMHide/kern_start.cpp @@ -67,7 +67,8 @@ void VMH::init() { // Register the root function to solve _sysctl__children on patcher load DBGLOG(MODULE_INIT, "Attempting to onPatcherLoadForce..."); - lilu.onPatcherLoadForce(solveSysCtlChildrenAddr); + lilu.onPatcherLoadForce(&solveSysCtlChildrenAddr); + DBGLOG(MODULE_INIT, "onPatcherLoadForce completed successfully."); } diff --git a/VMHide/kern_start.hpp b/VMHide/kern_start.hpp index 7462db0..5d762c2 100644 --- a/VMHide/kern_start.hpp +++ b/VMHide/kern_start.hpp @@ -46,11 +46,6 @@ class VMH { void init(); void deinit(); - /** - * Function to parse the sysctl children memory address - */ - static void solveSysCtlChildrenAddr(void *user __unused, KernelPatcher &Patcher); - /** * Returns address for the sysctl children symbol */