Coder Social home page Coder Social logo

hook jni函数的bug about whale HOT 1 OPEN

aslody avatar aslody commented on August 19, 2024
hook jni函数的bug

from whale.

Comments (1)

lpcdma avatar lpcdma commented on August 19, 2024

上面那个改下flags就过了
7.1.2上是另外一个问题,看了半天时间,无解!

2019-03-20 09:41:10.463 25616-25616/com.example.nfh A/art: art/runtime/oat_quick_method_header.cc:55] Failed to find Dex offset for PC offset 0x69da1613(PC 0x0, entry_point=0x9625e9ed current entry_point=0x962433f5) in java.lang.String com.example.nfh.MainActivity.stringFromJNI()
 Runtime aborting...
 Aborting thread:
 "main" prio=10 tid=1 Runnable
   | group="" sCount=0 dsCount=0 obj=0x73bbb6b8 self=0xaec85400
   | sysTid=25616 nice=-10 cgrp=default sched=0/0 handle=0xb1953534
   | state=R schedstat=( 883728013 53619393 286 ) utm=77 stm=11 core=2 HZ=100
   | stack=0xbe7c4000-0xbe7c6000 stackSize=8MB
   | held mutexes= "abort lock" "mutator lock"(shared held)
   native: #00 pc 00351a4d  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128)
   native: #01 pc 00332049  /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+304)
   native: #02 pc 003250c1  /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+24)
   native: #03 pc 00324f0b  /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+362)
   native: #04 pc 0031bc5d  /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+92)
   native: #05 pc 000b52cb  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+1134)
   native: #06 pc 002d437d  /system/lib/libart.so (_ZNK3art20OatQuickMethodHeader7ToDexPcEPNS_9ArtMethodEjb+900)
   native: #07 pc 0033c5fb  /system/lib/libart.so (_ZN3art20CurrentMethodVisitor10VisitFrameEv+38)
   native: #08 pc 00329bb5  /system/lib/libart.so (_ZN3art12StackVisitor9WalkStackEb+440)
   native: #09 pc 00334b8b  /system/lib/libart.so (_ZNK3art6Thread16GetCurrentMethodEPjb+54)
   native: #10 pc 00383b0f  /system/lib/libart.so (artFindNativeMethod+422)
   native: #11 pc 000a93f5  /system/lib/libart.so (art_jni_dlsym_lookup_stub+4)

http://androidxref.com/7.1.2_r36/xref/art/runtime/oat_quick_method_header.cc#37

from whale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.