redex
redex copied to clipboard
A bytecode optimizer for Android apps
Run redex on apk, it will crash on android 5.x. the logcat like this ``` I/art (31281): instance field access on object that has non-reference type Conflictoolean): [0x60] I/art (31281):...
Hi I am using redex and get an error the TRACE is ``` Inconsistency found in Dex code for Lcom/xxx/xxx;.a:(Ljava/lang/String;)J Type error in method Lcom/xxx/xxx;.a:(Ljava/lang/String;)J class name Lcom/xxx/xxx; at instruction...
## Background When using `DebugInfoKind::NoCustomSymbolication`, line numbers are not properly emitted in the final proguard mapping. There are two causes: 1. Line Number mappings from original proguard file are not...
**Background** In our build pipeline, D8 is ran after Redex on some of our DEX files which fails on parsing debug info. **Stacktraces** Stacktrace 1: ``` [CIRCULAR REFERENCE:java.lang.AssertionError] Caused by:...
**Background** For the [following RxKotlin class](https://github.com/ReactiveX/RxKotlin/blob/3.x/src/main/kotlin/io/reactivex/rxjava3/kotlin/Flowables.kt), D8 generates the following: ``` public final class Flowables { public static final Flowables INSTANCE = null; static { new Flowables(); } private Flowables()...
Summary: Promote {D22559365 (https://github.com/facebook/redex/commit/0796076de46e90d09f077dd497a57cec7b5eb8fd)} to staging and stable. Differential Revision: D22591092
Traceback (most recent call last): File "tools/hprof/dump_classes_from_hprof.py", line 1261, in hp = parse_filename(args.hprof) File "tools/hprof/dump_classes_from_hprof.py", line 53, in parse_filename return parse_hprof_dump(open(filename, 'rb')) File "tools/hprof/dump_classes_from_hprof.py", line 45, in parse_hprof_dump hprof_data.resolve() File...
run proguard void ClassScopes::build_interface_scopes(): assertion `scopes.size() > 0' failed libc++abi.dylib: terminating with uncaught exception of type RedexException: libredex/VirtualScope.cpp:886: void ClassScopes::build_interface_scopes(): assertion `scopes.size() > 0' failed. 0 redex-all 0x0000000103050b42 _Z23crash_backtrace_handleri +...
Hi, I'm using the latest redex (December 23, 2019). When running the following command the redex completes successfully: redex -c default.config -o out.apk in.apk -P proguard.cfg --sign -s key.keystore -a...
WARNING: Unable to find RequiresApi annotation. It's either unused (okay) or been deleted (not okay) WARNING: No inliner config Failed to allocate Lgnu/crypto/hash/Haval;.transform:([BI)V CFG: Block B0: entry preds: [0x7fa428a87d60] OPCODE:...