From c99f23232b7744288856f98bebe13fdb2b79957d Mon Sep 17 00:00:00 2001 From: royalgraphx <39929362+royalgraphx@users.noreply.github.com> Date: Sun, 1 Dec 2024 05:34:15 -0600 Subject: [PATCH] Remove solveSysCtlChildrenAddr from Header --- VMHide/kern_start.cpp | 3 ++- VMHide/kern_start.hpp | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) 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 */