intercept read from fd
This commit is contained in:
parent
26b85c3e4a
commit
dbef1c1a78
@ -262,7 +262,7 @@ Interceptor.attach(Module.findExportByName("/system/lib/libc.so", "open"), {
|
|||||||
|
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var fds = {};
|
var fds = {}; // for f in /proc/`pidof $APP`/fd/*; do echo $f': 'readlink $f; done
|
||||||
Interceptor.attach(Module.findExportByName(null, 'open'), {
|
Interceptor.attach(Module.findExportByName(null, 'open'), {
|
||||||
onEnter: function (args) {
|
onEnter: function (args) {
|
||||||
var fname = args[0].readCString();
|
var fname = args[0].readCString();
|
||||||
|
Loading…
Reference in New Issue
Block a user