frida / frida-gum

Cross-platform instrumentation and introspection library written in C
https://frida.re
Other
733 stars 242 forks source link

gumjs: Add NativePointer#readVolatile() #738

Closed hsorbo closed 1 year ago

hsorbo commented 1 year ago

Adds Memory.readVolatileByteArray to quickjs/v8.

This uses gum_memory_read instead of memcpy used by Memory.readByteArray to prevent os-exceptions on invalid memory addresses