From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "function" |
|---|
| subject | "Platform:Android" |
|---|
| claim | "JNI_OnLoad(JavaVM *vm, void *reserved) is the optional exported entry point called by the VM after System.loadLibrary; it returns the JNI version needed (JNI_VERSION_1_6 etc.) and is where RegisterNatives is usually called. JNI_OnUnload(JavaVM*, void*) is its counterpart." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Android" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "JNI_OnLoad" |
|---|
| export | "JNI_OnLoad" |
|---|
| prototype | "jint JNI_OnLoad(JavaVM *vm, void *reserved)" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved); JNIEXPORT void JNI_OnUnload(JavaVM* vm, void* reserved);" |
|---|
| repo | "https://android.googlesource.com/platform/libnativehelper" |
|---|
| commit | "aef2939781fc0b57b4477df7160935cdf5697919" |
|---|
| path | "include_jni/jni.h" |
|---|
| lines | "1118-1119" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "JNI_OnLoad" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T19:42:38.666Z" |
|---|
| verifications | |
|---|