frida / frida-node

Frida Node.js bindings
281 stars 65 forks source link

TlsSetValue equivalent #68

Closed CaledoniaProject closed 3 years ago

CaledoniaProject commented 3 years ago

What is equivalent to TlsSetValue() in Frida?

Since this pointer in onEnter/onLeave will not work across Interceptor hooks, what do you suggest?

oleavr commented 3 years ago

Use a Map<number, T> mapping this.threadId (onEnter/onLeave) / Process.getCurrentThreadId() (other places) to any associated data.