Skip to content

Commit

Permalink
Remove solveSysCtlChildrenAddr from Header
Browse files Browse the repository at this point in the history
  • Loading branch information
royalgraphx committed Dec 1, 2024
1 parent f54a7d9 commit c99f232
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion VMHide/kern_start.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

}

Expand Down
5 changes: 0 additions & 5 deletions VMHide/kern_start.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit c99f232

Please sign in to comment.