frida / frida-tools

Frida CLI tools
Other
348 stars 97 forks source link

Fix incorrect cached resolver name #47

Closed dki closed 3 years ago

dki commented 3 years ago

When an ObjC resolver is created, it is incorrectly cached under this.cachedModuleResolver instead of this.cachedObjcResolver. This results in cryptic errors if a trace combines both ObjC and function tracing when the ObjC resolver is initialized first, since the wrong resolver ends up being used to resolve the functions.

oleavr commented 3 years ago

Whoa, nice catch! Thanks! 🙌