Comments (6)
Good spot, this was a bug with the latest version of jnitrace. Thank you very much for reporting.
I have pushed a new version (3.2.1), please let me know if updating does not work. You can also try rolling back to 3.1.0 as that version should work too.
from jnitrace.
I upgraded to 3.2.1 (on mac osx big sur 11.0.1 x86) and it's still not writing to output file.
Also i'm unable to get the tracer to do much other than what looks like trace everything.
i'm looking only for traces in libttboringssl.so, but check the output below. for context libkeva.so is what looks like an obfuscator lib/anti-trace/anti-debug lib.
$jnitrace -l 'libttboringssl.so' com.zhiliaoapp.musically -R 192.168.86.65:6666
Tracing. Press any key to quit...
/* TID 19007 */
1019 ms [+] JavaVM->GetEnv
1019 ms |- JavaVM* : 0x78258a8200
1019 ms |- void** : 0x7fee618be0
1019 ms |: 0x78258cb1c0
1019 ms |- jint : 65542
1019 ms |= jint : 0
1019 ms ----------------------------Backtrace----------------------------
1019 ms |-> 0x78075cfd18: JNI_OnLoad+0x44 (libkeva.so:0x78075c2000)
1019 ms |-> 0x78075cfd18: JNI_OnLoad+0x44 (libkeva.so:0x78075c2000)
/* TID 19007 */
1333 ms [+] JNIEnv->FindClass
1333 ms |- JNIEnv* : 0x78258cb1c0
1333 ms |- char* : 0x78075e0e24
1333 ms |: com/bytedance/keva/KevaImpl
1333 ms |= jclass : 0x81 { com/bytedance/keva/KevaImpl }
1333 ms ----------------------------Backtrace----------------------------
1333 ms |-> 0x78075cfd3c: JNI_OnLoad+0x68 (libkeva.so:0x78075c2000)
1333 ms |-> 0x78075cfd3c: JNI_OnLoad+0x68 (libkeva.so:0x78075c2000)
/* TID 19007 */
1340 ms [+] JNIEnv->GetMethodID
1340 ms |- JNIEnv* : 0x78258cb1c0
1340 ms |- jclass : 0x81 { com/bytedance/keva/KevaImpl }
1340 ms |- char* : 0x78075e0e40
1340 ms |: addMapIntWhenLoading
1340 ms |- char* : 0x78075e0e55
1340 ms |: (Ljava/lang/String;IJ)V
1340 ms |= jmethodID : 0x9bbc2778 { addMapIntWhenLoading(Ljava/lang/String;IJ)V }
1340 ms ----------------------------Backtrace----------------------------
1340 ms |-> 0x78075cfd68: JNI_OnLoad+0x94 (libkeva.so:0x78075c2000)
1340 ms |-> 0x78075cfd68: JNI_OnLoad+0x94 (libkeva.so:0x78075c2000)
from jnitrace.
ah scratch that, i was tailing the log file, which was empty. However, jnitrace does write to it when it exits. So the log output thing is fixed.
Tracing specified native libs is still not working for me.
from jnitrace.
Glad that solved the problem. I'll take a look and see if I can work out why the lib in your command args is not being traced.
from jnitrace.
from jnitrace.
gonna close this and open a new issue
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.