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:
47
apk_decompiled/sources/kotlinx/coroutines/EventLoopKt.java
Normal file
47
apk_decompiled/sources/kotlinx/coroutines/EventLoopKt.java
Normal file
@@ -0,0 +1,47 @@
|
||||
package kotlinx.coroutines;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.PublishedApi;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.LongCompanionObject;
|
||||
import kotlinx.coroutines.scheduling.CoroutineScheduler;
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0000\u001a\b\u0010\u0000\u001a\u00020\u0001H\u0000\u001a\u0019\u0010\u0002\u001a\u00020\u00032\u000e\b\u0004\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00030\u0005H\u0080\b\u001a\b\u0010\u0006\u001a\u00020\u0007H\u0007\u001a\b\u0010\b\u001a\u00020\u0007H\u0001\u001a\f\u0010\t\u001a\u00020\n*\u00020\u000bH\u0001¨\u0006\f"}, d2 = {"createEventLoop", "Lkotlinx/coroutines/EventLoop;", "platformAutoreleasePool", "", "block", "Lkotlin/Function0;", "processNextEventInCurrentThread", "", "runSingleTaskFromCurrentSystemDispatcher", "isIoDispatcherThread", "", "Ljava/lang/Thread;", "kotlinx-coroutines-core"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class EventLoopKt {
|
||||
public static final EventLoop createEventLoop() {
|
||||
return new BlockingEventLoop(Thread.currentThread());
|
||||
}
|
||||
|
||||
@InternalCoroutinesApi
|
||||
@PublishedApi
|
||||
@DelicateCoroutinesApi
|
||||
public static final boolean isIoDispatcherThread(Thread thread) {
|
||||
if (thread instanceof CoroutineScheduler.Worker) {
|
||||
return ((CoroutineScheduler.Worker) thread).isIo();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static final void platformAutoreleasePool(Function0<Unit> function0) {
|
||||
function0.invoke();
|
||||
}
|
||||
|
||||
@InternalCoroutinesApi
|
||||
public static final long processNextEventInCurrentThread() {
|
||||
EventLoop currentOrNull$kotlinx_coroutines_core = ThreadLocalEventLoop.INSTANCE.currentOrNull$kotlinx_coroutines_core();
|
||||
return currentOrNull$kotlinx_coroutines_core != null ? currentOrNull$kotlinx_coroutines_core.processNextEvent() : LongCompanionObject.MAX_VALUE;
|
||||
}
|
||||
|
||||
@InternalCoroutinesApi
|
||||
@PublishedApi
|
||||
@DelicateCoroutinesApi
|
||||
public static final long runSingleTaskFromCurrentSystemDispatcher() {
|
||||
Thread currentThread = Thread.currentThread();
|
||||
if (currentThread instanceof CoroutineScheduler.Worker) {
|
||||
return ((CoroutineScheduler.Worker) currentThread).runSingleTask();
|
||||
}
|
||||
throw new IllegalStateException("Expected CoroutineScheduler.Worker, but got " + currentThread);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user