2019-02-04 20:08:30 +00:00
|
|
|
.class final Lcom/facebook/soloader/SoLoader$1;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "SoLoader.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lcom/facebook/soloader/h;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/facebook/soloader/SoLoader;->a(Lcom/facebook/soloader/h;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x8
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-06-01 02:00:00 +00:00
|
|
|
.field final synthetic WE:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
.field final synthetic WF:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
.field final synthetic WG:Ljava/lang/String;
|
2019-02-22 00:19:04 +00:00
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
.field final synthetic WH:Ljava/lang/Runtime;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
.field final synthetic WI:Ljava/lang/reflect/Method;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/Runtime;Ljava/lang/reflect/Method;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
iput-boolean p1, p0, Lcom/facebook/soloader/SoLoader$1;->WE:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
iput-object p2, p0, Lcom/facebook/soloader/SoLoader$1;->WF:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
iput-object p3, p0, Lcom/facebook/soloader/SoLoader$1;->WG:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
iput-object p4, p0, Lcom/facebook/soloader/SoLoader$1;->WH:Ljava/lang/Runtime;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
iput-object p5, p0, Lcom/facebook/soloader/SoLoader$1;->WI:Ljava/lang/reflect/Method;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-04-25 10:39:51 +00:00
|
|
|
.method private static aD(Ljava/lang/String;)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 7
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
new-instance v0, Ljava/io/File;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Ljava/io/File;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string p0, "MD5"
|
|
|
|
|
|
|
|
invoke-static {p0}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/io/FileInputStream;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
|
|
|
|
:try_end_0
|
2019-02-17 02:24:41 +00:00
|
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_4
|
|
|
|
.catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_3
|
2019-02-04 20:08:30 +00:00
|
|
|
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_0 .. :try_end_0} :catch_2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/16 v2, 0x1000
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
new-array v2, v2, [B
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {v1, v2}, Ljava/io/InputStream;->read([B)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
if-lez v3, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0, v2, v4, v3}, Ljava/security/MessageDigest;->update([BII)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string v2, "%32x"
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
new-array v5, v3, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v6, Ljava/math/BigInteger;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/security/MessageDigest;->digest()[B
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-direct {v6, v3, p0}, Ljava/math/BigInteger;-><init>(I[B)V
|
|
|
|
|
|
|
|
aput-object v6, v5, v4
|
|
|
|
|
|
|
|
invoke-static {v2, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
:try_start_2
|
|
|
|
invoke-virtual {v1}, Ljava/io/InputStream;->close()V
|
|
|
|
:try_end_2
|
2019-02-17 02:24:41 +00:00
|
|
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_4
|
|
|
|
.catch Ljava/lang/SecurityException; {:try_start_2 .. :try_end_2} :catch_3
|
2019-02-04 20:08:30 +00:00
|
|
|
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_2 .. :try_end_2} :catch_2
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p0
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
:try_start_3
|
|
|
|
throw v0
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
:try_start_4
|
|
|
|
invoke-virtual {v1}, Ljava/io/InputStream;->close()V
|
|
|
|
:try_end_4
|
|
|
|
.catch Ljava/lang/Throwable; {:try_start_4 .. :try_end_4} :catch_1
|
2019-02-17 02:24:41 +00:00
|
|
|
.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_4
|
|
|
|
.catch Ljava/lang/SecurityException; {:try_start_4 .. :try_end_4} :catch_3
|
2019-02-04 20:08:30 +00:00
|
|
|
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_4 .. :try_end_4} :catch_2
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:try_start_5
|
|
|
|
invoke-virtual {v1}, Ljava/io/InputStream;->close()V
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
:goto_2
|
|
|
|
throw p0
|
|
|
|
:try_end_5
|
2019-02-17 02:24:41 +00:00
|
|
|
.catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_4
|
|
|
|
.catch Ljava/lang/SecurityException; {:try_start_5 .. :try_end_5} :catch_3
|
2019-02-04 20:08:30 +00:00
|
|
|
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_5 .. :try_end_5} :catch_2
|
|
|
|
|
|
|
|
:catch_2
|
|
|
|
move-exception p0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/security/NoSuchAlgorithmException;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:catch_3
|
|
|
|
move-exception p0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-virtual {p0}, Ljava/lang/SecurityException;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:catch_4
|
|
|
|
move-exception p0
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {p0}, Ljava/io/IOException;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final g(Ljava/lang/String;I)V
|
2019-02-17 02:24:41 +00:00
|
|
|
.locals 8
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
iget-boolean v0, p0, Lcom/facebook/soloader/SoLoader$1;->WE:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
if-eqz v0, :cond_5
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x4
|
|
|
|
|
|
|
|
and-int/2addr p2, v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const/4 v1, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const/4 v2, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-ne p2, v0, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
iget-object p2, p0, Lcom/facebook/soloader/SoLoader$1;->WF:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2019-06-01 02:00:00 +00:00
|
|
|
iget-object p2, p0, Lcom/facebook/soloader/SoLoader$1;->WG:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-06-01 02:00:00 +00:00
|
|
|
iget-object v3, p0, Lcom/facebook/soloader/SoLoader$1;->WH:Ljava/lang/Runtime;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
monitor-enter v3
|
|
|
|
:try_end_0
|
2019-02-17 02:24:41 +00:00
|
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_2
|
|
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_1
|
2019-02-04 20:08:30 +00:00
|
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_2
|
|
|
|
|
|
|
|
:try_start_1
|
2019-06-01 02:00:00 +00:00
|
|
|
iget-object v4, p0, Lcom/facebook/soloader/SoLoader$1;->WI:Ljava/lang/reflect/Method;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-06-01 02:00:00 +00:00
|
|
|
iget-object v5, p0, Lcom/facebook/soloader/SoLoader$1;->WH:Ljava/lang/Runtime;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
const/4 v6, 0x3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-array v6, v6, [Ljava/lang/Object;
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aput-object p1, v6, v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const-class v2, Lcom/facebook/soloader/SoLoader;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-result-object v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
aput-object v2, v6, v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
const/4 v1, 0x2
|
|
|
|
|
|
|
|
aput-object p2, v6, v1
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-virtual {v4, v5, v6}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
2019-02-04 20:29:01 +00:00
|
|
|
|
|
|
|
check-cast v1, Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
if-nez v1, :cond_3
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:try_start_2
|
|
|
|
monitor-exit v3
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
if-eqz v1, :cond_2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string v2, "Error when loading lib: "
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-direct {v0, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string v1, " lib hash: "
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-04-25 10:39:51 +00:00
|
|
|
invoke-static {p1}, Lcom/facebook/soloader/SoLoader$1;->aD(Ljava/lang/String;)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-string p1, " search path is "
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string p2, "SoLoader"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-static {p2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
:cond_2
|
2019-02-04 20:29:01 +00:00
|
|
|
return-void
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
move-object v7, v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
move-object v0, v7
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
goto :goto_2
|
2019-02-04 20:29:01 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
:cond_3
|
2019-02-04 20:29:01 +00:00
|
|
|
:try_start_3
|
|
|
|
new-instance v0, Ljava/lang/UnsatisfiedLinkError;
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/UnsatisfiedLinkError;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v1
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
:goto_2
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_start_4
|
|
|
|
monitor-exit v3
|
|
|
|
:try_end_4
|
|
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_1
|
|
|
|
|
|
|
|
:try_start_5
|
|
|
|
throw v1
|
|
|
|
:try_end_5
|
2019-02-17 02:24:41 +00:00
|
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_5 .. :try_end_5} :catch_2
|
|
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_5 .. :try_end_5} :catch_1
|
2019-02-04 20:08:30 +00:00
|
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_5 .. :try_end_5} :catch_0
|
|
|
|
.catchall {:try_start_5 .. :try_end_5} :catchall_2
|
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception v1
|
|
|
|
|
2019-02-08 08:21:44 +00:00
|
|
|
goto :goto_4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v1
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:catch_2
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
:goto_3
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_start_6
|
|
|
|
const-string v2, "Error: Cannot load "
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
new-instance v2, Ljava/lang/RuntimeException;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-direct {v2, v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
throw v2
|
|
|
|
:try_end_6
|
|
|
|
.catchall {:try_start_6 .. :try_end_6} :catchall_2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-08 08:21:44 +00:00
|
|
|
:goto_4
|
2019-02-17 02:24:41 +00:00
|
|
|
if-eqz v0, :cond_4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, "Error when loading lib: "
|
|
|
|
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v0, " lib hash: "
|
|
|
|
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-04-25 10:39:51 +00:00
|
|
|
invoke-static {p1}, Lcom/facebook/soloader/SoLoader$1;->aD(Ljava/lang/String;)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string p1, " search path is "
|
|
|
|
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "SoLoader"
|
|
|
|
|
|
|
|
invoke-static {p2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
:cond_4
|
2019-02-04 20:08:30 +00:00
|
|
|
throw v1
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
:cond_5
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-static {p1}, Ljava/lang/System;->load(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|