Comments (2)
Hi,
Thanks very much for your bug notification!
I have had a look at both issues and think I understand why both were happening.
Issue 1, using attach rather than spawn will often lead to missing trace data. This is because jnitrace has to intercept all references to the JNIEnv to trace correctly. In many cases apps, like this one, will load method references during library load. When using attach jnitrace will not be able to intercept those initial load calls and so will miss all future JNI calls via those methods.
Issue 2, jnitrace was not tracking DeleteLocalRefs correctly, this led to it not deleting names of objects it keeps a mapping of. When jnitrace spotted future arguments or return values with the same reference ID, it was reusing the previous name for it rather than the latest.
I have pushed a fix for Issue 2 to GitHub and PyPi, version 3.0.7. Please can you test and let me know if that fixes the issue?
Thanks!
from jnitrace.
Closing this as no response in over a week.
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)
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.