255 lines
5.8 KiB
Smali
255 lines
5.8 KiB
Smali
.class public final Lsj/a;
|
|
.super Ljava/lang/Object;
|
|
.source "AgentPremain.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"all"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lsj/a$a;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\t\u0008\u00c1\u0002\u0018\u00002\u00020\u0001:\u0001\u0008B\t\u0008\u0002\u00a2\u0006\u0004\u0008\u0010\u0010\u0011J\u001a\u0010\u0007\u001a\u00020\u00062\u0008\u0010\u0003\u001a\u0004\u0018\u00010\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0007J\u0008\u0010\u0008\u001a\u00020\u0006H\u0002R\"\u0010\n\u001a\u00020\t8\u0006@\u0006X\u0086\u000e\u00a2\u0006\u0012\n\u0004\u0008\n\u0010\u000b\u001a\u0004\u0008\u000c\u0010\r\"\u0004\u0008\u000e\u0010\u000f\u00a8\u0006\u0012"
|
|
}
|
|
d2 = {
|
|
"Lsj/a;",
|
|
"",
|
|
"",
|
|
"args",
|
|
"Ljava/lang/instrument/Instrumentation;",
|
|
"instrumentation",
|
|
"Lkotlin/d1;",
|
|
"c",
|
|
"a",
|
|
"",
|
|
"isInstalledStatically",
|
|
"Z",
|
|
"b",
|
|
"()Z",
|
|
"d",
|
|
"(Z)V",
|
|
"<init>",
|
|
"()V",
|
|
"kotlinx-coroutines-core"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static a:Z
|
|
|
|
.field public static final b:Z
|
|
|
|
.field public static final c:Lsj/a;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
new-instance v0, Lsj/a;
|
|
|
|
invoke-direct {v0}, Lsj/a;-><init>()V
|
|
|
|
sput-object v0, Lsj/a;->c:Lsj/a;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
sget-object v1, Lkotlin/Result;->Companion:Lkotlin/Result$a;
|
|
|
|
const-string v1, "kotlinx.coroutines.debug.enable.creation.stack.trace"
|
|
|
|
.line 3
|
|
invoke-static {v1}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-static {v1}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v1, v0
|
|
|
|
.line 4
|
|
:goto_0
|
|
invoke-static {v1}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
sget-object v2, Lkotlin/Result;->Companion:Lkotlin/Result$a;
|
|
|
|
invoke-static {v1}, Lkotlin/d0;->a(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
.line 5
|
|
:goto_1
|
|
invoke-static {v1}, Lkotlin/Result;->isFailure-impl(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
move-object v0, v1
|
|
|
|
:goto_2
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
sget-object v0, Lkotlinx/coroutines/debug/internal/DebugProbesImpl;->l:Lkotlinx/coroutines/debug/internal/DebugProbesImpl;
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/debug/internal/DebugProbesImpl;->u()Z
|
|
|
|
move-result v0
|
|
|
|
:goto_3
|
|
sput-boolean v0, Lsj/a;->b:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final c(Ljava/lang/String;Ljava/lang/instrument/Instrumentation;)V
|
|
.locals 0
|
|
.param p0 # Ljava/lang/String;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/lang/instrument/Instrumentation;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation runtime Lkotlin/jvm/JvmStatic;
|
|
.end annotation
|
|
|
|
const/4 p0, 0x1
|
|
|
|
.line 1
|
|
sput-boolean p0, Lsj/a;->a:Z
|
|
|
|
.line 2
|
|
sget-object p0, Lsj/a$a;->a:Lsj/a$a;
|
|
|
|
check-cast p0, Ljava/lang/instrument/ClassFileTransformer;
|
|
|
|
invoke-interface {p1, p0}, Ljava/lang/instrument/Instrumentation;->addTransformer(Ljava/lang/instrument/ClassFileTransformer;)V
|
|
|
|
.line 3
|
|
sget-object p0, Lkotlinx/coroutines/debug/internal/DebugProbesImpl;->l:Lkotlinx/coroutines/debug/internal/DebugProbesImpl;
|
|
|
|
sget-boolean p1, Lsj/a;->b:Z
|
|
|
|
invoke-virtual {p0, p1}, Lkotlinx/coroutines/debug/internal/DebugProbesImpl;->K(Z)V
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/debug/internal/DebugProbesImpl;->x()V
|
|
|
|
.line 5
|
|
sget-object p0, Lsj/a;->c:Lsj/a;
|
|
|
|
invoke-virtual {p0}, Lsj/a;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
:try_start_0
|
|
new-instance v0, Lsun/misc/Signal;
|
|
|
|
const-string v1, "TRAP"
|
|
|
|
invoke-direct {v0, v1}, Lsun/misc/Signal;-><init>(Ljava/lang/String;)V
|
|
|
|
sget-object v1, Lsj/a$b;->a:Lsj/a$b;
|
|
|
|
check-cast v1, Lsun/misc/SignalHandler;
|
|
|
|
invoke-static {v0, v1}, Lsun/misc/Signal;->handle(Lsun/misc/Signal;Lsun/misc/SignalHandler;)Lsun/misc/SignalHandler;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:catchall_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-boolean v0, Lsj/a;->a:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final d(Z)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
sput-boolean p1, Lsj/a;->a:Z
|
|
|
|
return-void
|
|
.end method
|