• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Address Sanitizer on Non Native Project

Blastom

Lurker
Currently, I have an Unity Android Project with a weird random signal 11 crash.
The backtrace pointed to a jni lib called libulua.so. But I don't have the source code of it and it has no symbol map in it. So addr2line cannot help here.

So I want to find a way to monitor the memory problems. I'm trying to grab info about Address Sanitizer, but what I found told me that it only works on native code build - build by combining .so libs and java codes doesn't count.
Is it possible to use Address Sanitizer to monitor a jni lib in Android java project? If so, is there any tutorial or wiki to tell me how to do it?

Or is there any other way to solve my problem?
 
Back
Top Bottom