Fishnet is an Android library that dumps Java and native crashes, format of the log file is almost the same as the one generated by Android.
- Architectures: arm64-v8a, armeabi-v7a, x86, x86_64, risc-v64
- Android: 5.0 and above
- Log types: Native, Java, ANR
- FORTIFY
- fdsan (Android 10+)
- Scudo error (Android 11+)
- GWP-ASan (Android 14 +)
- MTE (Android 14 QPR3 +)
-
Download the aar and include it in your project.
-
In your
Application
class, add the following code,
import com.kyant.fishnet.Fishnet
class App : Application() {
override fun attachBaseContext(base: Context?) {
super.attachBaseContext(base)
val logPath = File(filesDir, "logs").apply { mkdirs() }.absolutePath
Fishnet.init(this, logPath)
}
}
- Run application and make a testing crash, the log file will be generated in the path you specified.
See the app
module,
the pre-built APK can be found in the GitHub releases.
TBD
git clone https://github.com/Kyant0/Fishnet.git
cd Fishnet
git submodule init
git submodule update
git apply fishnet_external.patch