Skip to content

Instantly share code, notes, and snippets.

@dkw72n
Created November 27, 2018 07:12
Show Gist options
  • Select an option

  • Save dkw72n/0954fa04012a2169f4149921820547ba to your computer and use it in GitHub Desktop.

Select an option

Save dkw72n/0954fa04012a2169f4149921820547ba to your computer and use it in GitHub Desktop.
How Android O Load Native Libraries
11-27 15:08:30.737 26073 26073 F DEBUG : #00 pc 01f689ac /data/app/com.<redacted>-9GqQwYpbE4wvEDimSdOLCg==/lib/arm/libUE4.so (JNI_OnLoad+32)
11-27 15:08:30.737 26073 26073 F DEBUG : #01 pc 00251e57 /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, _jobject*, _jstring*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*)+1910)
11-27 15:08:30.737 26073 26073 F DEBUG : #02 pc 000031ab /system/lib/libopenjdkjvm.so (JVM_NativeLoad+194)
11-27 15:08:30.737 26073 26073 F DEBUG : #03 pc 00254641 /system/framework/arm/boot.oat (offset 0x1cb000) (java.lang.Runtime.nativeLoad+160)
11-27 15:08:30.737 26073 26073 F DEBUG : #04 pc 0025404b /system/framework/arm/boot.oat (offset 0x1cb000) (java.lang.Runtime.doLoad+170)
11-27 15:08:30.737 26073 26073 F DEBUG : #05 pc 00255d41 /system/framework/arm/boot.oat (offset 0x1cb000) (java.lang.Runtime.loadLibrary0+816)
11-27 15:08:30.737 26073 26073 F DEBUG : #06 pc 00270369 /system/framework/arm/boot.oat (offset 0x1cb000) (java.lang.System.loadLibrary+88)
11-27 15:08:30.737 26073 26073 F DEBUG : #07 pc 00407f75 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
11-27 15:08:30.737 26073 26073 F DEBUG : #08 pc 0040d1eb /system/lib/libart.so (art_quick_invoke_static_stub+226)
11-27 15:08:30.737 26073 26073 F DEBUG : #09 pc 000aff15 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+180)
11-27 15:08:30.737 26073 26073 F DEBUG : #10 pc 00202d9b /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+222)
11-27 15:08:30.737 26073 26073 F DEBUG : #11 pc 001fe2e9 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+588)
11-27 15:08:30.737 26073 26073 F DEBUG : #12 pc 003f31a5 /system/lib/libart.so (MterpInvokeStatic+184)
11-27 15:08:30.737 26073 26073 F DEBUG : #13 pc 003fa514 /system/lib/libart.so (ExecuteMterpImpl+14612)
11-27 15:08:30.737 26073 26073 F DEBUG : #14 pc 001e517d /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)
11-27 15:08:30.737 26073 26073 F DEBUG : #15 pc 001e9879 /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*)+92)
11-27 15:08:30.737 26073 26073 F DEBUG : #16 pc 003e7987 /system/lib/libart.so (artQuickToInterpreterBridge+934)
11-27 15:08:30.738 26073 26073 F DEBUG : #17 pc 0040c4f1 /system/lib/libart.so (art_quick_to_interpreter_bridge+32)
11-27 15:08:30.738 26073 26073 F DEBUG : #18 pc 00407f75 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
11-27 15:08:30.738 26073 26073 F DEBUG : #19 pc 0040d1eb /system/lib/libart.so (art_quick_invoke_static_stub+226)
11-27 15:08:30.738 26073 26073 F DEBUG : #20 pc 000aff15 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+180)
11-27 15:08:30.738 26073 26073 F DEBUG : #21 pc 000f8f47 /system/lib/libart.so (art::ClassLinker::InitializeClass(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+2166)
11-27 15:08:30.738 26073 26073 F DEBUG : #22 pc 000e70fb /system/lib/libart.so (art::ClassLinker::EnsureInitialized(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+118)
11-27 15:08:30.738 26073 26073 F DEBUG : #23 pc 002fa4fd /system/lib/libart.so (art::Class_newInstance(_JNIEnv*, _jobject*)+864)
11-27 15:08:30.738 26073 26073 F DEBUG : #24 pc 001cb1d3 /system/framework/arm/boot.oat (offset 0x1cb000) (java.lang.Object.internalClone [DEDUPED]+74)
11-27 15:08:30.738 26073 26073 F DEBUG : #25 pc 00742f09 /system/framework/arm/boot-framework.oat (offset 0x5d4000) (android.app.Instrumentation.newActivity+64)
11-27 15:08:30.738 26073 26073 F DEBUG : #26 pc 006727fd /system/framework/arm/boot-framework.oat (offset 0x5d4000) (android.app.ActivityThread.performLaunchActivity+660)
11-27 15:08:30.738 26073 26073 F DEBUG : #27 pc 0066c141 /system/framework/arm/boot-framework.oat (offset 0x5d4000) (android.app.ActivityThread.handleLaunchActivity+496)
11-27 15:08:30.738 26073 26073 F DEBUG : #28 pc 0065fb3b /system/framework/arm/boot-framework.oat (offset 0x5d4000) (android.app.ActivityThread$H.handleMessage+8226)
11-27 15:08:30.738 26073 26073 F DEBUG : #29 pc 0065c1e3 /system/framework/arm/boot-framework.oat (offset 0x5d4000) (android.os.Handler.dispatchMessage+138)
11-27 15:08:30.738 26073 26073 F DEBUG : #30 pc 00d5ea25 /system/framework/arm/boot-framework.oat (offset 0x5d4000) (android.os.Looper.loop+1068)
11-27 15:08:30.738 26073 26073 F DEBUG : #31 pc 006713e5 /system/framework/arm/boot-framework.oat (offset 0x5d4000) (android.app.ActivityThread.main+860)
11-27 15:08:30.738 26073 26073 F DEBUG : #32 pc 00407f75 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
11-27 15:08:30.738 26073 26073 F DEBUG : #33 pc 0040d1eb /system/lib/libart.so (art_quick_invoke_static_stub+226)
11-27 15:08:30.738 26073 26073 F DEBUG : #34 pc 000aff15 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+180)
11-27 15:08:30.738 26073 26073 F DEBUG : #35 pc 0035b541 /system/lib/libart.so (art::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::ArgArray*, art::JValue*, char const*)+52)
11-27 15:08:30.738 26073 26073 F DEBUG : #36 pc 0035ca7d /system/lib/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+944)
11-27 15:08:30.738 26073 26073 F DEBUG : #37 pc 0030af5d /system/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobject*)+40)
11-27 15:08:30.738 26073 26073 F DEBUG : #38 pc 002389ff /system/framework/arm/boot.oat (offset 0x1cb000) (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+110)
11-27 15:08:30.738 26073 26073 F DEBUG : #39 pc 012ecc7b /system/framework/arm/boot-framework.oat (offset 0x5d4000) (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+114)
11-27 15:08:30.738 26073 26073 F DEBUG : #40 pc 012f45f1 /system/framework/arm/boot-framework.oat (offset 0x5d4000) (com.android.internal.os.ZygoteInit.main+2504)
11-27 15:08:30.739 26073 26073 F DEBUG : #41 pc 00407f75 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
11-27 15:08:30.739 26073 26073 F DEBUG : #42 pc 0040d1eb /system/lib/libart.so (art_quick_invoke_static_stub+226)
11-27 15:08:30.739 26073 26073 F DEBUG : #43 pc 000aff15 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+180)
11-27 15:08:30.739 26073 26073 F DEBUG : #44 pc 0035b541 /system/lib/libart.so (art::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::ArgArray*, art::JValue*, char const*)+52)
11-27 15:08:30.739 26073 26073 F DEBUG : #45 pc 0035b31d /system/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+300)
11-27 15:08:30.739 26073 26073 F DEBUG : #46 pc 002a87f5 /system/lib/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+432)
11-27 15:08:30.739 26073 26073 F DEBUG : #47 pc 0006c0c3 /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+38)
11-27 15:08:30.739 26073 26073 F DEBUG : #48 pc 0006da3d /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+452)
11-27 15:08:30.739 26073 26073 F DEBUG : #49 pc 00001b41 /system/bin/app_process32 (main+756)
11-27 15:08:30.739 26073 26073 F DEBUG : #50 pc 0007af45 /system/lib/libc.so (__libc_init+48)
11-27 15:08:30.739 26073 26073 F DEBUG : #51 pc 00001748 /system/bin/app_process32 (_start_main+92)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment