frida / frida-rust

Frida Rust bindings
Other
188 stars 53 forks source link

memory leak with Interceptor listeners #152

Closed ajwerner closed 2 months ago

ajwerner commented 2 months ago

The code in invocation_listener_transform and probe_listener_transform allocate managed objects but don't provide a clear mechanism to free those objects.

ajwerner commented 2 months ago

Turns out there's also a missing Drop implementation on the Interceptor itself. I'll send some patches, but leaving this here until I do.