Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/AndFix
/ functions
Functions
78 in github.com/alibaba/AndFix
⨍
Functions
78
◇
Types & classes
51
↓ 11 callers
Method
getName
()
src/com/alipay/euler/andfix/patch/Patch.java:113
↓ 3 callers
Method
fix
fix @param patchPath patch path
src/com/alipay/euler/andfix/AndFixManager.java:107
↓ 3 callers
Method
getClasses
(String patchName)
src/com/alipay/euler/andfix/patch/Patch.java:125
↓ 3 callers
Method
getFile
()
src/com/alipay/euler/andfix/patch/Patch.java:117
↓ 3 callers
Method
getPatchNames
()
src/com/alipay/euler/andfix/patch/Patch.java:121
↓ 3 callers
Method
toString
()
samples/AndFixDemo/src/com/euler/test/O.java:31
↓ 2 callers
Method
addPatch
add patch file @param file @return patch
src/com/alipay/euler/andfix/patch/PatchManager.java:122
↓ 2 callers
Method
cleanPatch
()
src/com/alipay/euler/andfix/patch/PatchManager.java:135
↓ 2 callers
Function
dvm_dlsym
jni/dalvik/dalvik_method_replace.cpp:45
↓ 2 callers
Method
getFileMD5
(File file)
src/com/alipay/euler/andfix/security/SecurityChecker.java:168
↓ 2 callers
Method
initFields
modify access flag of class’ fields to public @param clazz class
src/com/alipay/euler/andfix/AndFix.java:94
↓ 2 callers
Method
isEmpty
(String string)
src/com/alipay/euler/andfix/AndFixManager.java:239
↓ 2 callers
Method
loadPatch
load patch,call when plugin be loaded. used for plugin architecture.</br> need name and classloader of the plugin @param patchName patch
src/com/alipay/euler/andfix/patch/PatchManager.java:189
↓ 1 callers
Method
a
(String str)
samples/AndFixDemo/src/com/euler/test/A.java:35
↓ 1 callers
Method
addReplaceMethod
replace method's body @param src source method @param dest target method
src/com/alipay/euler/andfix/AndFix.java:58
↓ 1 callers
Function
art_replaceMethod
jni/art/art_method_replace.cpp:53
↓ 1 callers
Function
art_setFieldFlag
jni/art/art_method_replace.cpp:68
↓ 1 callers
Function
art_setup
jni/art/art_method_replace.cpp:47
↓ 1 callers
Method
b
(String s1, String s2)
samples/AndFixDemo/src/com/euler/test/A.java:40
↓ 1 callers
Method
c
()
samples/AndFixDemo/src/com/euler/test/Fix.java:47
↓ 1 callers
Method
check
(File path, Certificate[] certs)
src/com/alipay/euler/andfix/security/SecurityChecker.java:154
↓ 1 callers
Method
copyFile
copy file @param src source file @param dest target file @throws IOException
src/com/alipay/euler/andfix/util/FileUtil.java:44
↓ 1 callers
Function
dalvik_replaceMethod
jni/dalvik/dalvik_method_replace.cpp:79
↓ 1 callers
Function
dalvik_setFieldFlag
jni/dalvik/dalvik_method_replace.cpp:103
↓ 1 callers
Function
dalvik_setup
jni/dalvik/dalvik_method_replace.cpp:53
↓ 1 callers
Method
deleteFile
delete file @param file file @return true if delete success
src/com/alipay/euler/andfix/util/FileUtil.java:71
↓ 1 callers
Method
fixClass
fix class @param clazz class
src/com/alipay/euler/andfix/AndFixManager.java:193
↓ 1 callers
Method
getFingerprint
(String fileName)
src/com/alipay/euler/andfix/security/SecurityChecker.java:206
↓ 1 callers
Method
getI
()
samples/AndFixDemo/src/com/euler/test/A.java:46
↓ 1 callers
Method
getTime
()
src/com/alipay/euler/andfix/patch/Patch.java:129
↓ 1 callers
Method
inBlackList
()
src/com/alipay/euler/andfix/Compat.java:85
↓ 1 callers
Method
init
(Context context)
src/com/alipay/euler/andfix/security/SecurityChecker.java:213
↓ 1 callers
Method
init
initialize @param appVersion App version
src/com/alipay/euler/andfix/patch/PatchManager.java:90
↓ 1 callers
Method
init
()
src/com/alipay/euler/andfix/patch/Patch.java:70
↓ 1 callers
Method
initPatchs
()
src/com/alipay/euler/andfix/patch/PatchManager.java:109
↓ 1 callers
Method
initTargetClass
initialize the target class, and modify access flag of class’ fields to public @param clazz target class @return initialized class
src/com/alipay/euler/andfix/AndFix.java:75
↓ 1 callers
Method
isSupport
whether support on the device @return true if the device support AndFix
src/com/alipay/euler/andfix/Compat.java:39
↓ 1 callers
Method
isSupportSDKVersion
()
src/com/alipay/euler/andfix/Compat.java:77
↓ 1 callers
Method
isYunOS
()
src/com/alipay/euler/andfix/Compat.java:56
↓ 1 callers
Method
loadDigestes
(JarFile jarFile, JarEntry je)
src/com/alipay/euler/andfix/security/SecurityChecker.java:139
↓ 1 callers
Function
registerNativeMethods
* Register several native methods for one class. */
jni/andfix.cpp:84
↓ 1 callers
Function
registerNatives
* Register native methods for all classes we know about. */
jni/andfix.cpp:101
↓ 1 callers
Method
removeOptFile
delete optimize file of patch file @param file patch file
src/com/alipay/euler/andfix/AndFixManager.java:94
↓ 1 callers
Method
replaceMethod
replace method @param classLoader classloader @param clz class @param meth name of target method @param method source method
src/com/alipay/euler/andfix/AndFixManager.java:218
↓ 1 callers
Method
replaceMethod
(Method dest, Method src)
src/com/alipay/euler/andfix/AndFix.java:45
↓ 1 callers
Function
replace_4_4
jni/art/art_method_replace_4_4.cpp:46
↓ 1 callers
Function
replace_5_0
jni/art/art_method_replace_5_0.cpp:46
↓ 1 callers
Function
replace_5_1
jni/art/art_method_replace_5_1.cpp:46
↓ 1 callers
Function
replace_6_0
jni/art/art_method_replace_6_0.cpp:46
↓ 1 callers
Function
replace_7_0
jni/art/art_method_replace_7_0.cpp:46
↓ 1 callers
Method
saveFingerprint
(String fileName, String md5)
src/com/alipay/euler/andfix/security/SecurityChecker.java:198
↓ 1 callers
Method
saveOptSig
@param path Dex file
src/com/alipay/euler/andfix/security/SecurityChecker.java:95
↓ 1 callers
Method
setFieldFlag
(Field field)
src/com/alipay/euler/andfix/AndFix.java:47
↓ 1 callers
Function
setFieldFlag_4_4
jni/art/art_method_replace_4_4.cpp:89
↓ 1 callers
Function
setFieldFlag_5_0
jni/art/art_method_replace_5_0.cpp:81
↓ 1 callers
Function
setFieldFlag_5_1
jni/art/art_method_replace_5_1.cpp:83
↓ 1 callers
Function
setFieldFlag_6_0
jni/art/art_method_replace_6_0.cpp:82
↓ 1 callers
Function
setFieldFlag_7_0
jni/art/art_method_replace_7_0.cpp:85
↓ 1 callers
Method
setup
(boolean isArt, int apilevel)
src/com/alipay/euler/andfix/AndFix.java:43
↓ 1 callers
Method
verifyApk
@param path Apk file @return true if verify apk success
src/com/alipay/euler/andfix/security/SecurityChecker.java:105
↓ 1 callers
Method
verifyOpt
@param path Dex file @return true if verify fingerprint success
src/com/alipay/euler/andfix/security/SecurityChecker.java:82
Method
AndFixManager
(Context context)
src/com/alipay/euler/andfix/AndFixManager.java:72
Function
JNI_OnLoad
* Set some test stuff up. * * Returns the JNI version on success, -1 on failure. */
jni/andfix.cpp:114
Method
O
(String s)
samples/AndFixDemo/src/com/euler/test/O.java:27
Method
Patch
(File file)
src/com/alipay/euler/andfix/patch/Patch.java:65
Method
PatchManager
@param context context
src/com/alipay/euler/andfix/patch/PatchManager.java:76
Method
SecurityChecker
(Context context)
src/com/alipay/euler/andfix/security/SecurityChecker.java:72
Method
a
(String str)
samples/AndFixDemo/src/com/euler/test/Fix.java:33
Method
b
(String s1, String s2)
samples/AndFixDemo/src/com/euler/test/Fix.java:39
Method
compareTo
(Patch another)
src/com/alipay/euler/andfix/patch/Patch.java:133
Method
findClass
(String className)
src/com/alipay/euler/andfix/AndFixManager.java:155
Method
onCreate
(Bundle savedInstanceState)
samples/AndFixDemo/src/com/euler/andfix/MainActivity.java:36
Method
onCreate
()
samples/AndFixDemo/src/com/euler/andfix/MainApplication.java:43
Method
onDestroy
()
samples/AndFixDemo/src/com/euler/andfix/MainActivity.java:44
Method
removeAllPatch
remove all patchs
src/com/alipay/euler/andfix/patch/PatchManager.java:172
Function
replaceMethod
jni/andfix.cpp:55
Function
setFieldFlag
jni/andfix.cpp:64
Function
setup
jni/andfix.cpp:43