Files
reverse-engineering-anything/src/frida
Deepak Jain 2337ebe130 fix(frida): keep ptrace seize guidance from overclaiming
The remediation for a refused ptrace seize said injection was unavailable
whatever the target. Frida's reason carries no errno, so REA cannot tell a
host that lacks PTRACE_SEIZE, such as PRoot-Distro, from a ptrace permission
policy that refused only the selected process. Sending the second case to
another host would be wrong.

Word the remediation as two possibilities. If other targets fail the same
way, run REA on a host with native ptrace support or use a remote Frida
server. Otherwise check the ptrace permissions that apply to this target. The
regression test now asserts the conditional wording and that the host-wide
claim is gone.

Refs #9103

Signed-off-by: Deepak Jain <deepujain@gmail.com>
2026-11-21 21:24:01 +01:00
..