@@ -87,7 +87,7 @@ frida-compile examples/simple_strace.js -o trace.js && frida -U -f <PACKAGE> -l
87
87
### 2.A Simple tracing
88
88
Simple tracing without hook from attach moment, with excluded module and syscall (by name)
89
89
```
90
- var Interruptor = require('./android-arm64-strace.min.js').default .LinuxArm64();
90
+ var Interruptor = require('./android-arm64-strace.min.js').target .LinuxArm64();
91
91
92
92
// better results, when app is loaded
93
93
Java.perform(()=>{
@@ -187,7 +187,7 @@ https://marcin.juszkiewicz.com.pl/download/tables/syscalls.html
187
187
First, you need to get the tracer factory adapted to your OS/Architecture :
188
188
For now only "LinuxArm64()" is available.
189
189
```
190
- var Interruptor = require('../dist/index.js').default .LinuxArm64();
190
+ var Interruptor = require('../dist/index.js').target .LinuxArm64();
191
191
```
192
192
193
193
Next step is to intanciante a tracer with a specific options.
@@ -201,21 +201,21 @@ A full list of options can be found into the next section.
201
201
Final step, choose when you want to start to trace :
202
202
* A. When frida script is executed
203
203
```
204
- var Interruptor = require('../dist/index.js').default .LinuxArm64();
204
+ var Interruptor = require('../dist/index.js').target .LinuxArm64();
205
205
206
206
Interruptor.newAgentTracer( /* opts */).start();
207
207
```
208
208
209
209
* B. The first time a module is opened by the linker
210
210
```
211
- var Interruptor = require('../dist/index.js').default .LinuxArm64();
211
+ var Interruptor = require('../dist/index.js').target .LinuxArm64();
212
212
213
213
Interruptor.newAgentTracer( /* opts */).startOnLoad(/my_lib\.so$/g);
214
214
```
215
215
216
216
* C. From your hooks
217
217
```
218
- var Interruptor = require('../dist/index.js').default .LinuxArm64();
218
+ var Interruptor = require('../dist/index.js').target .LinuxArm64();
219
219
220
220
Interceptor.attach( /* ... */,{
221
221
onEnter: function(){
0 commit comments