redex
redex copied to clipboard
A bytecode optimizer for Android apps
Summary: Promote {D46959546}. Differential Revision: D47188589
Summary: Promote {D46959547}. Differential Revision: D47171356
`IRList.structural_equals` does not handle `MFLOW_FALLTHROUGH` and instructions at the end of method. if there are 2 methods - method1's IR: ``` return-void ``` - method2's IR: ``` FALLTHROUGH return-void FALLTHROUGH...
python3 redex.py -c default.config -o /Users/leo.zhang/Desktop/json/release/mcc_origin_out.apk /Users/leo.zhang/Desktop/json/release/mcc_origin.apk **error message:** [ERROR ] Expecting value: line 9 column 45 (char 212) [WARNING ] Could not find an SDK jar: Could not find...
Redex produces `libtool.so/dylib` and `libresource.so/dylib` - When these are installed they are very likely to cause confusion as there is a standard binary called `libtool`. This patch changes these to...
Hey, Our team tried to enable `CommonSubexpressionEliminationPass` but gave up on it when it took ~50m to run by itself. After looking at the code, the likely cause of the...
These names are generic and installing redex could break other tools. They should be changed to `libredextool` and `libredexresrouce`
who can tell me why? thanks command: ANDROID_SDK=/Users/zhangyuehuan/Library/Android/sdk redex --sign -s /Users/zhangyuehuan/workspace/500w_android/tool/keystore/m2u/release/ -a wanandroid -p wanandroid -c ~/Desktop/interdex_stripdebuginfo.config -P /Users/zhangyuehuan/workspace/500w_android/app/proguard-rules.pro -o ~/Desktop/app-release-proguardwithr8-stripdebuginfo-interdex.apk ~/Desktop/tinyApk/M2U-test-normalrelease-2.7.8.20781_x64-20220107_mr278.apk outputs: RACE_CLASS_FILE= TRACE_CLASS_NAME= Trace settings: TRACEFILE= SHOW_TIMESTAMPS=...
Is there any existing pass related to Identical Code Folding (ICF) optimization? Or is anyone working on related ideas internally at Meta or outside? I would love to hear about...