Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chame1eon/jnitrace-engine
/ functions
Functions
119 in github.com/chame1eon/jnitrace-engine
⨍
Functions
119
◇
Types & classes
38
↓ 55 callers
Method
add
(ref: NativePointer)
lib/utils/reference_manager.ts:8
↓ 10 callers
Method
get
()
lib/jni/java_vm_interceptor.ts:44
↓ 7 callers
Method
getInstance
()
lib/jni/java_vm.ts:17
↓ 5 callers
Method
backtrace
* Get the type of backtrace that the JNIInterceptor should be using for * backtraces.
lib/utils/config.ts:45
↓ 4 callers
Method
create
()
lib/jni/java_vm_interceptor.ts:48
↓ 4 callers
Method
get
* Get the return value of the JNI call.
lib/index.ts:95
↓ 4 callers
Method
getJNIEnv
(threadId: number)
lib/jni/jni_thread_manager.ts:23
↓ 4 callers
Method
isInitialised
()
lib/jni/java_vm_interceptor.ts:40
↓ 4 callers
Method
replace
* Replace the value returned by the JNI API call. Using replace * will change the return of the callee to the provided value. * * @par
lib/index.ts:105
↓ 3 callers
Method
createStubFunction
()
lib/jni/arm/jni_env_interceptor_arm.ts:25
↓ 3 callers
Method
doAfterCallback
( method: string, ctx: JNIInvocationContext, retval: NativeReturnValue )
lib/internal/jni_callback_manager.ts:42
↓ 3 callers
Method
doBeforeCallback
( method: string, ctx: JNIInvocationContext, args: NativeArgumentValue[] )
lib/internal/jni_callback_manager.ts:29
↓ 3 callers
Method
setJNIEnv
(threadId: number, jniEnv: NativePointer)
lib/jni/jni_thread_manager.ts:35
↓ 2 callers
Method
addCallback
( method: string, callback: JNIInvocationCallback )
lib/internal/jni_callback_manager.ts:14
↓ 2 callers
Function
checkLibrary
(path: string)
lib/engine.ts:64
↓ 2 callers
Method
getJavaVM
()
lib/jni/jni_thread_manager.ts:11
↓ 2 callers
Function
interceptJNIFunction
(jniFunctionAddr: NativePointer)
lib/engine.ts:114
↓ 2 callers
Method
setJavaVM
(javaVM: NativePointer)
lib/jni/jni_thread_manager.ts:19
↓ 1 callers
Method
buildVaArgParserShellcode
( text: NativePointer, data: NativePointer, parser: NativeCallback )
lib/jni/x64/jni_env_interceptor_x64.ts:36
↓ 1 callers
Method
clear
()
lib/internal/jni_callback_manager.ts:60
↓ 1 callers
Method
createEntry
(threadId: number, jniEnv: NativePointer)
lib/jni/jni_thread_manager.ts:47
↓ 1 callers
Method
createJavaVMIntercept
( id: number, methodAddr: NativePointer )
lib/jni/java_vm_interceptor.ts:77
↓ 1 callers
Method
extractVaListArgValue
( method: JavaMethod, paramId: number )
lib/jni/x64/jni_env_interceptor_x64.ts:155
↓ 1 callers
Method
getEntry
(threadId: number)
lib/jni/jni_thread_manager.ts:51
↓ 1 callers
Method
getInstance
* Gets an instance of the Config. * * @param builder - an optional builder if the Config needs to be rebuilt.
lib/utils/config.ts:97
↓ 1 callers
Method
hasJNIEnv
(threadId: number)
lib/jni/jni_thread_manager.ts:31
↓ 1 callers
Method
hasJavaVM
()
lib/jni/jni_thread_manager.ts:15
↓ 1 callers
Function
interceptJNIOnLoad
(jniOnLoadAddr: NativePointer)
lib/engine.ts:93
↓ 1 callers
Method
resetVaListArgExtract
()
lib/jni/x64/jni_env_interceptor_x64.ts:196
↓ 1 callers
Method
setUpVaListArgExtract
(vaList: NativePointer)
lib/jni/x64/jni_env_interceptor_x64.ts:142
Function
addJavaArgsForJNIIntercept
( method: JNIMethod, args: NativeArgumentValue[] )
lib/jni/jni_env_interceptor.ts:150
Method
args
()
lib/utils/method_data.ts:41
Function
attach
( method: string, callback: JNIInvocationCallback )
lib/index.ts:155
Method
backtrace
* Set the Frida backtrace method that the jnitrace engine should use.
lib/utils/config_builder.ts:45
Method
build
* Build the Config to be used by the jnitrace engine.
lib/utils/config_builder.ts:125
Method
buildVaArgParserShellcode
( text: NativePointer, _: NativePointer, parser: NativeCallback )
lib/jni/arm64/jni_env_interceptor_arm64.ts:57
Method
buildVaArgParserShellcode
( text: NativePointer, _: NativePointer, parser: NativeCallback )
lib/jni/arm/jni_env_interceptor_arm.ts:43
Method
buildVaArgParserShellcode
( text: NativePointer, _: NativePointer, parser: NativeCallback )
lib/jni/x86/jni_env_interceptor_x86.ts:25
Function
constructor
( references: ReferenceManager, threads: JNIThreadManager, callbackManager: JNICallbac
lib/jni/jni_env_interceptor.ts:38
Method
constructor
(value: NativeReturnValue)
lib/index.ts:88
Method
constructor
( callbacks: Map<string, JNIInvocationCallback>, method: string )
lib/index.ts:119
Method
constructor
(builder: ConfigBuilder)
lib/utils/config.ts:23
Method
constructor
()
lib/utils/reference_manager.ts:4
Method
constructor
(signature: string)
lib/utils/java_method.ts:15
Method
constructor
()
lib/utils/config_builder.ts:19
Method
constructor
( method: JNIMethod, args: NativeArgumentValue[], ret: NativeReturnValue, jmet
lib/utils/method_data.ts:16
Method
constructor
()
lib/internal/jni_callback_manager.ts:10
Method
constructor
()
lib/jni/java_vm.ts:9
Method
constructor
( references: ReferenceManager, threads: JNIThreadManager, jniEnvInterceptor: JNIEnvIn
lib/jni/java_vm_interceptor.ts:26
Method
constructor
()
lib/jni/jni_env.ts:9
Method
constructor
(name: string, args: string[], ret: string)
lib/jni/jni_method.ts:20
Method
constructor
()
lib/jni/jni_thread_manager.ts:6
Method
constructor
( references: ReferenceManager, threads: JNIThreadManager, callbackManager: JNICallbac
lib/jni/x64/jni_env_interceptor_x64.ts:21
Method
constructor
( references: ReferenceManager, threads: JNIThreadManager, callbackManager: JNICallbac
lib/jni/arm64/jni_env_interceptor_arm64.ts:25
Method
constructor
( references: ReferenceManager, threads: JNIThreadManager, callbackManager: JNICallbac
lib/jni/arm/jni_env_interceptor_arm.ts:14
Method
constructor
( references: ReferenceManager, threads: JNIThreadManager, callbackManager: JNICallbac
lib/jni/x86/jni_env_interceptor_x86.ts:14
Function
convertJTypeToNativeJType
(jtype: string)
lib/utils/types.ts:91
Function
convertNativeJTypeToFridaType
(jtype: string)
lib/utils/types.ts:24
Function
create
()
lib/jni/jni_env_interceptor.ts:63
Function
createJNIIntercept
( id: number, methodPtr: NativePointer )
lib/jni/jni_env_interceptor.ts:330
Function
createJNIVarArgInitialCallback
( method: JNIMethod, methodPtr: NativePointer )
lib/jni/jni_env_interceptor.ts:436
Function
createJNIVarArgIntercept
( id: number, methodPtr: NativePointer )
lib/jni/jni_env_interceptor.ts:114
Function
createJNIVarArgMainCallback
( method: JNIMethod, methodPtr: NativePointer, initialparamTypes: string[], ma
lib/jni/jni_env_interceptor.ts:390
Function
createStubFunction
()
lib/jni/jni_env_interceptor.ts:109
Method
createStubFunction
()
lib/jni/arm64/jni_env_interceptor_arm64.ts:42
Method
detach
* Detatch the JNI API intercept.
lib/index.ts:130
Function
detatchAll
()
lib/index.ts:181
Function
doCallback
(library: string)
lib/index.ts:200
Method
env
* Get whether the jnitrace engine should be tracing the whole JNIEnv * struct.
lib/utils/config.ts:69
Method
env
* Set whether the jnitrace engine should or should not trace JNIEnv struct * method calls.
lib/utils/config_builder.ts:94
Method
excludeExport
* Get a list of the exports that the jnitrace engine should not be * intercepting.
lib/utils/config.ts:61
Method
excludeExports
* Set the list of exports that the jnitrace engine should not trace.
lib/utils/config_builder.ts:79
Method
extractVaListArgValue
( method: JavaMethod, paramId: number )
lib/jni/arm64/jni_env_interceptor_arm64.ts:158
Method
extractVaListArgValue
( method: JavaMethod, paramId: number )
lib/jni/arm/jni_env_interceptor_arm.ts:113
Method
extractVaListArgValue
( method: JavaMethod, paramId: number )
lib/jni/x86/jni_env_interceptor_x86.ts:57
Method
fridaParams
* Get the Java params as Frida native types.
lib/utils/java_method.ts:90
Method
fridaRet
* Get the Java return type as a Frida native type.
lib/utils/java_method.ts:111
Function
get
()
lib/jni/jni_env_interceptor.ts:59
Method
getArgAsNum
(i: number)
lib/utils/method_data.ts:49
Method
getArgAsPtr
(i: number)
lib/utils/method_data.ts:45
Method
getInstance
()
lib/jni/jni_env.ts:17
Function
handleGetJavaVM
( args: NativeArgumentValue[], ret: NativeReturnValue )
lib/jni/jni_env_interceptor.ts:224
Function
handleGetMethodResult
( args: NativeArgumentValue[], ret: NativeReturnValue )
lib/jni/jni_env_interceptor.ts:211
Function
handleJNIInterceptResult
( method: JNIMethod, args: NativeArgumentValue[], ret: NativeReturnValue )
lib/jni/jni_env_interceptor.ts:314
Function
handleRegisterNatives
(args: NativeArgumentValue[])
lib/jni/jni_env_interceptor.ts:248
Method
includeExport
* Get a list of the exports that the jnitrace engine should be * intercepting.
lib/utils/config.ts:53
Method
includeExports
* Set the list of exports that the jnitrace engine should trace.
lib/utils/config_builder.ts:65
Method
initialised
* Returns if the Config has been initialised.
lib/utils/config.ts:84
Function
isComplexObjectType
(type: string)
lib/utils/types.ts:6
Function
isInitialised
()
lib/jni/jni_env_interceptor.ts:55
Method
jParams
()
lib/utils/method_data.ts:53
Method
javaMethod
()
lib/utils/method_data.ts:37
Method
libraries
* Get a list of libraries the the JNIInterceptor is attempting to trace.
lib/utils/config.ts:37
Method
libraries
* A list of libraries that the jnitrace engine should trace.
lib/utils/config_builder.ts:31
Method
method
()
lib/utils/method_data.ts:33
Method
methods
()
lib/jni/java_vm.ts:13
Method
methods
()
lib/jni/jni_env.ts:13
Method
nativeParams
* Get the Java param types as native jtypes.
lib/utils/java_method.ts:77
Method
needsJNIEnvUpdate
(threadId: number, jniEnv: NativePointer)
lib/jni/jni_thread_manager.ts:39
Function
onEnter
(args: NativePointer[])
lib/engine.ts:95
next →
1–100 of 119, ranked by callers