frida / frida-core

Frida core library intended for static linking into bindings

Home Page:https://frida.re

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Potentially misleading error when `resume` fails on AMD64 and ARM64

drosseau opened this issue · comments

commented

I ran into an error where resume was failing on ARM64 and kept getting the error:

frida.NotSupportedError: unable to handle 32-bit processes due to build configuration

I tried tracing this error down and it is thrown in the obtain_for_32bit method. I think the reason this code path is even being taken is the error handling over in resume. I think it'd make sense to catch errors there and rethrow the original if they fail, otherwise you get a potentially misleading error.

Oh, nice catch! Would you be interested in opening a PR?