Comments (7)
Hi, Just to let you know. I have pushed some new features like you suggested. There is now:
-i - to specify method names you want in the output
-e - to specific method names you do not want in the output
-o - to specify an output path to store the data in JSON format.
Hope you find them useful :)
Version 2.0.0 available through pip
from jnitrace.
Thanks for the bug report. Do you mind letting me know what phone you are running on and what app you are using so I can try and reproduce?
from jnitrace.
I think I have found the issue. I have pushed a new version to pip, jnitrace 1.3.3. That should be a temporary fix for the problem. Will start working on a longer term solution. Thanks.
from jnitrace.
@chame1eon Thank you for your hard work, this warning has now been resolved, but unfortunately, the app still crash. As a reference, my phone is nexus6p, os6.0.1, frida 12.6.11, the app can be found here https://github.com/la0s/AndroidQ_SMID/releases
from jnitrace.
No problem. Thanks for the useful feedback.
I think I have gotten to the bottom of the issue. I had the JNI function definitions for GetArrayElement incorrect. I had them returning a primitive type rather than a pointer. When your code used those methods my code was returning incorrect values that caused the crash.
I was able to reproduce this issue as you mentioned and after the changes I made I was able to run jnitrace on the app with no crashes (it did take a long time to run though).
Latest version is available through pip, version 1.3.4. If that fixes your issues, let me know and I can close this issue.
from jnitrace.
👏👏Thanks for fixing the error, now the app can run normally, but the app takes a long time to show, which may be because there are too many JNI apis to trace, so I think it is possible to follow the function of custom tracing, such as ExceptionOccurred, DeleteGlobalRef that we are not interested 😁
from jnitrace.
No problem. I am going to close the issue as the bug is fixed. I agree with you on the filtering the JNI API calls. I am working on a feature update to do that 😀
from jnitrace.
Related Issues (20)
- filters not working? HOT 5
- APP has stopped HOT 2
- App stopped when spawn mode HOT 1
- Jinitrace with frida gadget HOT 5
- Is there an implementation library for C++? HOT 2
- app 直接闪退了,打印输出如下,什么都没有? HOT 1
- Error after attach, spawn app crashing HOT 4
- jnitrace 怎么打印返回的jstring值 HOT 1
- jnitrace为何无法attach? HOT 1
- “jntrace -l *” unrecognized arguments HOT 2
- jnitrace blank response HOT 1
- npm run watch error -> build error HOT 1
- 安装了jnitrace,却提示commond no found HOT 2
- Attach mode maybe has some bugs HOT 1
- frida error HOT 1
- Not work / empty response HOT 2
- Tracing. Press any key to quit... HOT 6
- App crashing - Tracing. Press any key to quit... HOT 2
- the err and break whta happend? HOT 1
- Error when running script line 1: expecting '(' at <anonymous> (/frida/repl-2.js:1) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jnitrace.