Skip to content

Commit

Permalink
set env and vm to the actual addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
YSaxon committed Jun 11, 2024
1 parent c3a5dca commit 4bbe6a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ void parseInitJNI(char* initJNICommand) {
printf(" [+] Found JNI_OnLoad, attempting to call\n");
onLoadFunc(vm, NULL);

setVar(vmStr, getPVar(vm));
setVar(envStr, getPVar(env));
setVar(vmStr, getPVar(*vm));
setVar(envStr, getPVar(*env));
}

typedef bool (*SpecialSignalHandlerFn)(int, siginfo_t*, void*);
Expand Down

0 comments on commit 4bbe6a3

Please sign in to comment.