Intercepting Running Linux Processes with ptrace

A guide to intercepting running Linux processes via ptrace, injecting assembly payloads, and restoring execution state without a restart.