Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asLody/legend
/ functions
Functions
503 in github.com/asLody/legend
⨍
Functions
503
◇
Types & classes
74
↓ 73 callers
Method
write
(byte[] data, long dest)
Legend/legendCore/src/main/java/com/lody/legend/utility/Memory.java:31
↓ 41 callers
Method
readLong
()
Legend/legendCore/src/main/java/com/lody/legend/utility/StructMember.java:83
↓ 22 callers
Method
read
(long address, int size)
Legend/legendCore/src/main/java/com/lody/legend/utility/Memory.java:41
↓ 19 callers
Method
putLong
Stores a <code>long</code> field into the given object. @param obj non-null; object containing the field @param offset offset to the field within <co
Legend/legendCore/src/main/java/sun/misc/Unsafe.java:231
↓ 17 callers
Function
assert
Legend/Native/jni/include/UniquePtr.h:151
↓ 16 callers
Method
get
Legend/Native/jni/include/ScopedFd.h:35
↓ 12 callers
Method
readInt
()
Legend/legendCore/src/main/java/com/lody/legend/utility/StructMember.java:79
↓ 7 callers
Method
wrap
(Class<?> type)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:377
↓ 6 callers
Method
d
(String msg)
Legend/legendCore/src/main/java/com/lody/legend/utility/Logger.java:25
↓ 6 callers
Method
e
(String msg)
Legend/legendCore/src/main/java/com/lody/legend/utility/Logger.java:45
↓ 5 callers
Method
of
(Method method)
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:46
↓ 4 callers
Method
getAccessFlags
()
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:162
↓ 4 callers
Method
getDefault
()
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:55
↓ 4 callers
Method
getEntryPointFromQuickCompiledCode
()
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:158
↓ 4 callers
Method
getInt
Gets an <code>int</code> field from the given object. @param obj non-null; object containing the field @param offset offset to the field within <code
Legend/legendCore/src/main/java/sun/misc/Unsafe.java:199
↓ 3 callers
Method
GetByteArrayElements
Legend/Native/jni/include/jni.h:886
↓ 3 callers
Method
ReleaseByteArrayElements
Legend/Native/jni/include/jni.h:904
↓ 3 callers
Method
alloc
(int size)
Legend/legendCore/src/main/java/com/lody/legend/utility/Memory.java:50
↓ 3 callers
Method
callSuper
(Object who, Object... args)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:263
↓ 3 callers
Method
getDeclaringClass
()
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:166
↓ 3 callers
Method
getEntryPointFromInterpreter
()
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:150
↓ 3 callers
Method
getEntryPointFromJni
()
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:154
↓ 3 callers
Method
getPlatform
()
Legend/legendCore/src/main/java/com/lody/legend/Platform.java:29
↓ 3 callers
Method
is64Bit
()
Legend/legendCore/src/main/java/com/lody/legend/utility/Runtime.java:17
↓ 3 callers
Method
isArt
()
Legend/legendCore/src/main/java/com/lody/legend/utility/Runtime.java:35
↓ 3 callers
Function
jniThrowNullPointerException
Legend/Native/jni/include/JNIHelp.h:143
↓ 3 callers
Method
of
Create a dalvik struct in java mapping native @param method method @return
Legend/legendCore/src/main/java/com/lody/legend/dalvik/DalvikMethodStruct.java:72
↓ 3 callers
Method
putInt
Stores an <code>int</code> field into the given object. @param obj non-null; object containing the field @param offset offset to the field within <co
Legend/legendCore/src/main/java/sun/misc/Unsafe.java:208
↓ 3 callers
Method
setAccessFlags
(int newFlags)
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:164
↓ 2 callers
Method
ExceptionCheck
Legend/Native/jni/include/jni.h:1016
↓ 2 callers
Method
getDexCacheResolvedMethods
()
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:170
↓ 2 callers
Method
getDexCacheResolvedTypes
()
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:174
↓ 2 callers
Method
getDexCodeItemOffset
()
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:178
↓ 2 callers
Method
getDexMethodIndex
()
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:182
↓ 2 callers
Method
getLong
Gets a <code>long</code> field from the given object. @param obj non-null; object containing the field @param offset offset to the field within <code
Legend/legendCore/src/main/java/sun/misc/Unsafe.java:222
↓ 2 callers
Method
getMethodAddress
Get the address from method (Ljava/lang/reflect/Method;)J
Legend/legendCore/src/main/java/com/lody/legend/utility/LegendNative.java:64
↓ 2 callers
Method
memget
(JI)[B
Legend/legendCore/src/main/java/com/lody/legend/utility/LegendNative.java:37
↓ 2 callers
Method
memput
(J[B)V
Legend/legendCore/src/main/java/com/lody/legend/utility/LegendNative.java:30
↓ 2 callers
Method
read
()
Legend/legendCore/src/main/java/com/lody/legend/utility/StructMember.java:60
↓ 2 callers
Method
release
Returns the raw pointer and hands over ownership to the caller. The pointer will not be deleted by UniquePtr.
Legend/Native/jni/include/UniquePtr.h:72
↓ 2 callers
Method
reset
Takes ownership of the given raw pointer. If this smart pointer previously owned a different raw pointer, that raw pointer will be freed.
Legend/Native/jni/include/UniquePtr.h:81
↓ 2 callers
Method
setEntryPointFromInterpreter
(long pointer_entry_point_from_interpreter)
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:152
↓ 2 callers
Method
setEntryPointFromJni
(long pointer_entry_point_from_jni)
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:156
↓ 2 callers
Method
setEntryPointFromQuickCompiledCode
(long pointer_entry_point_from_quick_compiled_code)
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:160
↓ 2 callers
Method
size
Legend/Native/jni/include/ScopedUtfChars.h:53
↓ 1 callers
Method
CallNonvirtualVoidMethodV
Legend/Native/jni/include/jni.h:687
↓ 1 callers
Method
CallStaticVoidMethodV
Legend/Native/jni/include/jni.h:783
↓ 1 callers
Method
CallVoidMethodV
Legend/Native/jni/include/jni.h:636
↓ 1 callers
Method
DeleteLocalRef
Legend/Native/jni/include/jni.h:555
↓ 1 callers
Method
FindClass
Legend/Native/jni/include/jni.h:504
↓ 1 callers
Method
FromReflectedMethod
Legend/Native/jni/include/jni.h:507
↓ 1 callers
Method
GetArrayLength
Legend/Native/jni/include/jni.h:853
↓ 1 callers
Method
GetDirectBufferAddress
Legend/Native/jni/include/jni.h:1022
↓ 1 callers
Method
GetEnv
Legend/Native/jni/include/jni.h:1063
↓ 1 callers
Method
GetStringChars
Legend/Native/jni/include/jni.h:835
↓ 1 callers
Method
GetStringLength
Legend/Native/jni/include/jni.h:832
↓ 1 callers
Method
GetStringUTFChars
Legend/Native/jni/include/jni.h:847
↓ 1 callers
Method
IsInstanceOf
Legend/Native/jni/include/jni.h:588
↓ 1 callers
Method
NewByteArray
Legend/Native/jni/include/jni.h:869
↓ 1 callers
Method
NewObjectV
Legend/Native/jni/include/jni.h:579
↓ 1 callers
Method
NewStringUTF
Legend/Native/jni/include/jni.h:841
↓ 1 callers
Method
PopLocalFrame
Legend/Native/jni/include/jni.h:546
↓ 1 callers
Method
PushLocalFrame
Legend/Native/jni/include/jni.h:543
↓ 1 callers
Method
RegisterNatives
Legend/Native/jni/include/jni.h:976
↓ 1 callers
Method
ReleaseStringChars
Legend/Native/jni/include/jni.h:838
↓ 1 callers
Method
ReleaseStringUTFChars
Legend/Native/jni/include/jni.h:850
↓ 1 callers
Method
SetObjectArrayElement
Legend/Native/jni/include/jni.h:864
↓ 1 callers
Method
applyElement
()
Legend/legendCore/src/main/java/com/lody/legend/utility/Struct.java:27
↓ 1 callers
Method
applyHooks
(Class<?> holdClass)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:60
↓ 1 callers
Method
backup
This function used to create a substitute of this method, When this method be hooked, the substitute still pointer to origin method. @return Backup o
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:70
↓ 1 callers
Method
c_str
Legend/Native/jni/include/ScopedUtfChars.h:49
↓ 1 callers
Method
callSuperArt
(Method method, Object who, Object... args)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:292
↓ 1 callers
Method
callSuperDalvik
(Method method, Object who, Object... args)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:298
↓ 1 callers
Method
dvmPlatformInvokeHints
(String shorty)
Legend/legendCore/src/main/java/com/lody/legend/dalvik/DalvikHelper.java:57
↓ 1 callers
Method
findViews
()
Legend/sample/src/main/java/com/legend/demo/MainActivity.java:76
↓ 1 callers
Method
free
(J)V
Legend/legendCore/src/main/java/com/lody/legend/utility/LegendNative.java:57
↓ 1 callers
Method
getCharArrayLength
(JI)I
Legend/legendCore/src/main/java/com/lody/legend/utility/LegendNative.java:91
↓ 1 callers
Method
getMethod
()
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:139
↓ 1 callers
Method
getVmVersion
()
Legend/legendCore/src/main/java/com/lody/legend/utility/Runtime.java:39
↓ 1 callers
Method
hookMethod
(Method origin, Method hook)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:120
↓ 1 callers
Method
hookMethodArt
(Method origin, Method hook)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:196
↓ 1 callers
Method
hookMethodDalvik
(Method origin, Method hook)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:158
↓ 1 callers
Method
isLittleEndian
BigEndian or LittleEndian Most of device are little endian. ()Z
Legend/legendCore/src/main/java/com/lody/legend/utility/LegendNative.java:79
↓ 1 callers
Method
isLittleEndian
()
Legend/legendCore/src/main/java/com/lody/legend/utility/Runtime.java:27
↓ 1 callers
Method
isSimilarSignature
(Class<?>[] declaredTypes, Class<?>[] actualTypes)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:360
↓ 1 callers
Method
malloc
NOTICE : this memory is execute able (I)J
Legend/legendCore/src/main/java/com/lody/legend/utility/LegendNative.java:52
↓ 1 callers
Method
matchSimilarMethod
(List<Method> methodList, Object... args)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:343
↓ 1 callers
Method
memcpy
(JJI)V
Legend/legendCore/src/main/java/com/lody/legend/utility/LegendNative.java:23
↓ 1 callers
Method
munprotect
(JI)V
Legend/legendCore/src/main/java/com/lody/legend/utility/LegendNative.java:44
↓ 1 callers
Method
orderByteToInt
Convert a byte array to int, Use this function to get address from memory. @param data byte array @return long
Legend/legendCore/src/main/java/com/lody/legend/Platform.java:40
↓ 1 callers
Method
orderByteToLong
Convert a byte array to long, Use this function to get address from memory. @param data byte array @return long
Legend/legendCore/src/main/java/com/lody/legend/Platform.java:49
↓ 1 callers
Method
orderLongToByte
(long serial, int length)
Legend/legendCore/src/main/java/com/lody/legend/Platform.java:51
↓ 1 callers
Function
registerNativeMethods
* Register several native methods for one class. */
Legend/Native/jni/legend_native.cpp:128
↓ 1 callers
Function
registerNatives
* Register native methods for all classes we know about. */
Legend/Native/jni/legend_native.cpp:144
↓ 1 callers
Method
setDeclaringClass
(long declaringClass)
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:168
↓ 1 callers
Method
setDexCacheResolvedMethods
(long pointer_dex_cache_resolved_methods_)
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:172
↓ 1 callers
Method
setDexCacheResolvedTypes
(long pointer_dex_cache_resolved_types_)
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:176
↓ 1 callers
Method
setDexCodeItemOffset
(int offset)
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:180
↓ 1 callers
Method
setDexMethodIndex
(int index)
Legend/legendCore/src/main/java/com/lody/legend/art/ArtMethod.java:184
↓ 1 callers
Method
types
(Object... values)
Legend/legendCore/src/main/java/com/lody/legend/HookManager.java:407
next →
1–100 of 503, ranked by callers