Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.
This commit is contained in:
132
apk_decompiled/sources/kotlinx/coroutines/DebugKt.java
Normal file
132
apk_decompiled/sources/kotlinx/coroutines/DebugKt.java
Normal file
@@ -0,0 +1,132 @@
|
||||
package kotlinx.coroutines;
|
||||
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.PublishedApi;
|
||||
import kotlin.internal.InlineOnly;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
|
||||
@Metadata(d1 = {"\u0000(\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0017\u0010\u0014\u001a\u00020\u00152\f\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00010\u0017H\u0081\b\u001a\b\u0010\u0018\u001a\u00020\u0015H\u0000\"\u0014\u0010\u0000\u001a\u00020\u0001X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\u0003\"\u0014\u0010\u0004\u001a\u00020\u0005X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007\"\u0014\u0010\b\u001a\u00020\u0001X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\u0003\"\u000e\u0010\n\u001a\u00020\u000bX\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\f\u001a\u00020\u000bX\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\r\u001a\u00020\u000bX\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u000e\u001a\u00020\u000bX\u0086T¢\u0006\u0002\n\u0000\"\u001c\u0010\u000f\u001a\u00020\u00018\u0000X\u0081\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0010\u0010\u0011\u001a\u0004\b\u0012\u0010\u0003\"\u000e\u0010\u0013\u001a\u00020\u000bX\u0080T¢\u0006\u0002\n\u0000¨\u0006\u0019"}, d2 = {"ASSERTIONS_ENABLED", "", "getASSERTIONS_ENABLED", "()Z", "COROUTINE_ID", "Ljava/util/concurrent/atomic/AtomicLong;", "getCOROUTINE_ID", "()Ljava/util/concurrent/atomic/AtomicLong;", "DEBUG", "getDEBUG", "DEBUG_PROPERTY_NAME", "", "DEBUG_PROPERTY_VALUE_AUTO", "DEBUG_PROPERTY_VALUE_OFF", "DEBUG_PROPERTY_VALUE_ON", "RECOVER_STACK_TRACES", "getRECOVER_STACK_TRACES$annotations", "()V", "getRECOVER_STACK_TRACES", "STACKTRACE_RECOVERY_PROPERTY_NAME", "assert", "", "value", "Lkotlin/Function0;", "resetCoroutineId", "kotlinx-coroutines-core"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class DebugKt {
|
||||
private static final boolean ASSERTIONS_ENABLED = false;
|
||||
private static final AtomicLong COROUTINE_ID;
|
||||
private static final boolean DEBUG;
|
||||
public static final String DEBUG_PROPERTY_NAME = "kotlinx.coroutines.debug";
|
||||
public static final String DEBUG_PROPERTY_VALUE_AUTO = "auto";
|
||||
public static final String DEBUG_PROPERTY_VALUE_OFF = "off";
|
||||
public static final String DEBUG_PROPERTY_VALUE_ON = "on";
|
||||
private static final boolean RECOVER_STACK_TRACES;
|
||||
public static final String STACKTRACE_RECOVERY_PROPERTY_NAME = "kotlinx.coroutines.stacktrace.recovery";
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:19:0x0037, code lost:
|
||||
|
||||
if (r0.equals(kotlinx.coroutines.DebugKt.DEBUG_PROPERTY_VALUE_ON) != false) goto L23;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:20:0x0042, code lost:
|
||||
|
||||
r0 = true;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:29:0x0040, code lost:
|
||||
|
||||
if (r0.equals("") != false) goto L23;
|
||||
*/
|
||||
static {
|
||||
/*
|
||||
java.lang.String r0 = "kotlinx.coroutines.debug"
|
||||
java.lang.String r0 = kotlinx.coroutines.internal.SystemPropsKt.systemProp(r0)
|
||||
r1 = 1
|
||||
r2 = 0
|
||||
if (r0 == 0) goto L2f
|
||||
int r3 = r0.hashCode()
|
||||
if (r3 == 0) goto L3a
|
||||
r4 = 3551(0xddf, float:4.976E-42)
|
||||
if (r3 == r4) goto L31
|
||||
r4 = 109935(0x1ad6f, float:1.54052E-40)
|
||||
if (r3 == r4) goto L27
|
||||
r4 = 3005871(0x2dddaf, float:4.212122E-39)
|
||||
if (r3 != r4) goto L44
|
||||
java.lang.String r3 = "auto"
|
||||
boolean r3 = r0.equals(r3)
|
||||
if (r3 == 0) goto L44
|
||||
goto L2f
|
||||
L27:
|
||||
java.lang.String r3 = "off"
|
||||
boolean r3 = r0.equals(r3)
|
||||
if (r3 == 0) goto L44
|
||||
L2f:
|
||||
r0 = r2
|
||||
goto L61
|
||||
L31:
|
||||
java.lang.String r3 = "on"
|
||||
boolean r3 = r0.equals(r3)
|
||||
if (r3 == 0) goto L44
|
||||
goto L42
|
||||
L3a:
|
||||
java.lang.String r3 = ""
|
||||
boolean r3 = r0.equals(r3)
|
||||
if (r3 == 0) goto L44
|
||||
L42:
|
||||
r0 = r1
|
||||
goto L61
|
||||
L44:
|
||||
java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
|
||||
java.lang.StringBuilder r2 = new java.lang.StringBuilder
|
||||
java.lang.String r3 = "System property 'kotlinx.coroutines.debug' has unrecognized value '"
|
||||
r2.<init>(r3)
|
||||
r2.append(r0)
|
||||
r0 = 39
|
||||
r2.append(r0)
|
||||
java.lang.String r0 = r2.toString()
|
||||
java.lang.String r0 = r0.toString()
|
||||
r1.<init>(r0)
|
||||
throw r1
|
||||
L61:
|
||||
kotlinx.coroutines.DebugKt.DEBUG = r0
|
||||
if (r0 == 0) goto L6e
|
||||
java.lang.String r0 = "kotlinx.coroutines.stacktrace.recovery"
|
||||
boolean r0 = kotlinx.coroutines.internal.SystemPropsKt.systemProp(r0, r1)
|
||||
if (r0 == 0) goto L6e
|
||||
goto L6f
|
||||
L6e:
|
||||
r1 = r2
|
||||
L6f:
|
||||
kotlinx.coroutines.DebugKt.RECOVER_STACK_TRACES = r1
|
||||
java.util.concurrent.atomic.AtomicLong r0 = new java.util.concurrent.atomic.AtomicLong
|
||||
r1 = 0
|
||||
r0.<init>(r1)
|
||||
kotlinx.coroutines.DebugKt.COROUTINE_ID = r0
|
||||
return
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: kotlinx.coroutines.DebugKt.<clinit>():void");
|
||||
}
|
||||
|
||||
@InlineOnly
|
||||
/* renamed from: assert, reason: not valid java name */
|
||||
private static final void m1618assert(Function0<Boolean> function0) {
|
||||
}
|
||||
|
||||
public static final boolean getASSERTIONS_ENABLED() {
|
||||
return ASSERTIONS_ENABLED;
|
||||
}
|
||||
|
||||
public static final AtomicLong getCOROUTINE_ID() {
|
||||
return COROUTINE_ID;
|
||||
}
|
||||
|
||||
public static final boolean getDEBUG() {
|
||||
return DEBUG;
|
||||
}
|
||||
|
||||
public static final boolean getRECOVER_STACK_TRACES() {
|
||||
return RECOVER_STACK_TRACES;
|
||||
}
|
||||
|
||||
@PublishedApi
|
||||
public static /* synthetic */ void getRECOVER_STACK_TRACES$annotations() {
|
||||
}
|
||||
|
||||
public static final void resetCoroutineId() {
|
||||
COROUTINE_ID.set(0L);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user