我反编译了一个APK文件,发现它加载了一个外部库,如下所示:
public class Encrypt
{
private static Encrypt a;
static
{
System.loadLibrary("encrypt");
}
public static Encrypt a()
{
if (a == null)
a = new Encrypt();
return a;
}
...
我还找到了" libencrypt.so"文件,然后我可以调用它中的函数吗? 我尝试在Python中使用,但失败了
"OSError: ./libencrypt.so: wrong ELF class: ELFCLASS32".
from ctypes import *
encryptlib = cdll.LoadLibrary('./libencrypt.so')