Open HexKitchen opened 3 months ago
Hi ! Thank you for your contribution.
We wonder whether this issue might be linked to Frida itself. We also noticed this commit from the 16.2.2 release:
gumjs: Preserve thread’s system error over NativeCallback invocations. Thanks @HexKitchen!
Have you been able to confirm that the problem is now solved without applying this patch?
We tested this pull request on arm64 and it broke the tracer for some reason, the pull request was reverted until we understand the problem better.
It is not 100% clear whether the problem was actually due to this commit or some other variable, but we do not have time to test more extensively at the moment. We will potentially re-merge this later after more testing has been done.
When tracing an executable, the tracing code interferes with the thread's system error code, which can cause incorrect execution of the traced process.
Example:
Output (without tracing):
Output (with tracing):