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:
56
apk_decompiled/sources/androidx/room/B.java
Normal file
56
apk_decompiled/sources/androidx/room/B.java
Normal file
@@ -0,0 +1,56 @@
|
||||
package androidx.room;
|
||||
|
||||
import java.util.ArrayDeque;
|
||||
import java.util.concurrent.Executor;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import n.C0508b;
|
||||
import n.ExecutorC0507a;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class B implements Executor {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final ArrayDeque f3945a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public Runnable f3946b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final Object f3947c;
|
||||
|
||||
public B() {
|
||||
ExecutorC0507a executor = C0508b.f7833c;
|
||||
Intrinsics.checkNotNullParameter(executor, "executor");
|
||||
this.f3945a = new ArrayDeque();
|
||||
this.f3947c = new Object();
|
||||
}
|
||||
|
||||
public final void a() {
|
||||
synchronized (this.f3947c) {
|
||||
Object poll = this.f3945a.poll();
|
||||
Runnable runnable = (Runnable) poll;
|
||||
this.f3946b = runnable;
|
||||
if (poll != null) {
|
||||
C0508b.L().f7834a.f7837b.execute(runnable);
|
||||
}
|
||||
Unit unit = Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Executor
|
||||
public final void execute(Runnable command) {
|
||||
Intrinsics.checkNotNullParameter(command, "command");
|
||||
synchronized (this.f3947c) {
|
||||
try {
|
||||
this.f3945a.offer(new F.n(1, command, this));
|
||||
if (this.f3946b == null) {
|
||||
a();
|
||||
}
|
||||
Unit unit = Unit.INSTANCE;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user