setprop persist.device_config.runtime_native.usap_pool_enabled false
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Interceptor.attach(dlopenRef, { | |
onEnter:function(args){ | |
this.path = args[0].readCString(); | |
},onLeave:function(retval){ | |
if (this.path != null) { | |
if (checkLibrary(this.path)) { | |
trackedLibs.set(retval.toString(), true); | |
} | |
else { | |
libBlacklist.set(retval.toString(), true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── [4.0K] bin | |
│ ├── [ 24K] autopoint | |
│ ├── [125K] envsubst | |
│ ├── [ 28K] gapplication | |
│ ├── [ 81K] gdbus | |
│ ├── [2.0K] gdbus-codegen | |
│ ├── [121K] gettext | |
│ ├── [ 42K] gettextize | |
│ ├── [4.5K] gettext.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11-23 18:02:50.363 22621 22621 F art : art/runtime/indirect_reference_table.cc:82] JNI ERROR (app bug): accessed stale Local 0x55847a90ad (index 42027 in a table of size 209) | |
11-23 18:02:50.386 22621 22621 F art : art/runtime/runtime.cc:438] Runtime aborting... | |
11-23 18:02:50.386 22621 22621 F art : art/runtime/runtime.cc:438] Aborting thread: | |
11-23 18:02:50.386 22621 22621 F art : art/runtime/runtime.cc:438] "main" prio=5 tid=1 Runnable | |
11-23 18:02:50.386 22621 22621 F art : art/runtime/runtime.cc:438] | group="" sCount=0 dsCount=0 obj=0x12c041f0 self=0x7f942cba00 | |
11-23 18:02:50.386 22621 22621 F art : art/runtime/runtime.cc:438] | sysTid=22621 nice=0 cgrp=default sched=0/0 handle=0x7f94b2cab0 | |
11-23 18:02:50.386 22621 22621 F art : art/runtime/runtime.cc:438] | state=R schedstat=( 682180112 4030261 62 ) utm=49 stm=19 core=6 HZ=100 | |
11-23 18:02:50.386 22621 22621 F art : art/runtime/runtime.cc:438] | stack=0x7fde1a8000-0x7fde1aa000 stackSize=8MB | |
11-23 18:02:50.386 22621 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let gettid_ptr = Module.getExportByName(null, 'gettid'); | |
let my_gettid = new NativeFunction(gettid_ptr, 'int', []); | |
Interceptor.attach(gettid_ptr, { | |
onEnter: function (args) { | |
console.log(`ddddhm`); | |
} | |
}); | |
let jnienv_addr = Java.vm.getEnv().handle.readPointer(); | |
let findclass_addr = jnienv_addr.add(6 * Process.pointerSize).readPointer(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
#include <cstdlib> | |
#include <cstdint> | |
#include <cstring> | |
#include <jni.h> | |
#include <set> | |
#include "LIEF/ELF.hpp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <android/log.h> | |
#include <jni.h> | |
#include <binder/Binder.h> | |
#include <binder/Parcel.h> | |
#include <binder/IServiceManager.h> | |
#include <dlfcn.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
set prog=%~f0 | |
set JAVA_HOME=C:\Users\see\Documents\android-studio\jre | |
set java_exe=%JAVA_HOME%\bin\java.exe | |
set jarfile=dx.jar |