frida-core icon indicating copy to clipboard operation
frida-core copied to clipboard

Android native crash when attaching some ARM code

Open zgzczzw opened this issue 3 years ago • 2 comments

I using frida 14.2.14 at Android. I found when i attaching some address, the app will crash, but other address won't.

for example, for ARM code like belows: image

app will crash when i attaching address 12F68 and 12F70

Interceptor.attach(libnative_lib_addr.add(0x12F68 + 1), {
      onEnter: function(args) {
        var lst = this.context
        if (print) {
          console.log('\n0x12F68+:\n')
          for (var i in JSON.parse(JSON.stringify(lst))) {
            try {
              console.log(i, ": ", lst[i].readUtf8String())
            } catch(error) {
              console.log(i, ": ", lst[i])
            }
          }
        }
      }
    })

and no crash stack, just show Process terminated

image

Can anybody tell me why?

zgzczzw avatar Apr 09 '21 08:04 zgzczzw

i have the same problem did u solve it????

AbdullahRaad995 avatar Dec 15 '21 21:12 AbdullahRaad995

no..

zgzczzw avatar Dec 24 '21 03:12 zgzczzw