Skip to content

Commit e7b5d10

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 970cdbc + 54afe96 commit e7b5d10

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ frida-compile examples/simple_strace.js -o trace.js && frida -U -f <PACKAGE> -l
8787
### 2.A Simple tracing
8888
Simple tracing without hook from attach moment, with excluded module and syscall (by name)
8989
```
90-
var Interruptor = require('./android-arm64-strace.min.js').default.LinuxArm64();
90+
var Interruptor = require('./android-arm64-strace.min.js').target.LinuxArm64();
9191
9292
// better results, when app is loaded
9393
Java.perform(()=>{
@@ -187,7 +187,7 @@ https://marcin.juszkiewicz.com.pl/download/tables/syscalls.html
187187
First, you need to get the tracer factory adapted to your OS/Architecture :
188188
For now only "LinuxArm64()" is available.
189189
```
190-
var Interruptor = require('../dist/index.js').default.LinuxArm64();
190+
var Interruptor = require('../dist/index.js').target.LinuxArm64();
191191
```
192192

193193
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.
201201
Final step, choose when you want to start to trace :
202202
* A. When frida script is executed
203203
```
204-
var Interruptor = require('../dist/index.js').default.LinuxArm64();
204+
var Interruptor = require('../dist/index.js').target.LinuxArm64();
205205
206206
Interruptor.newAgentTracer( /* opts */).start();
207207
```
208208

209209
* B. The first time a module is opened by the linker
210210
```
211-
var Interruptor = require('../dist/index.js').default.LinuxArm64();
211+
var Interruptor = require('../dist/index.js').target.LinuxArm64();
212212
213213
Interruptor.newAgentTracer( /* opts */).startOnLoad(/my_lib\.so$/g);
214214
```
215215

216216
* C. From your hooks
217217
```
218-
var Interruptor = require('../dist/index.js').default.LinuxArm64();
218+
var Interruptor = require('../dist/index.js').target.LinuxArm64();
219219
220220
Interceptor.attach( /* ... */,{
221221
onEnter: function(){

0 commit comments

Comments
 (0)