title: Using Compel with PTRACE_TRACEME
body: <p>I have been using compel for my project lately &amp; it ran fine as I just had to inject code during the runtime of the victim, basically at any convenient point of time post victim's execution. However, now I'm in a situation where I have to ptrace the victim, right from the beginning of its execution &amp; at the same time do parasite injection during its runtime. Hence, I have no choice than to use PTRACE_TRACEME right before execve and use compel apis at runtime for injection. Since compel_stop_task uses PTRACE_SEIZE and PTRACE_INTERRUPT for stopping the application and for other things, it gives me a hard time to ptrace victim from beginning &amp; do parasitic injection during runtime. I tried tweaking the code in infect.c of compel, but couldn't succeed as I am fully not aware of the compel code.</p>
  <p>Is it possible to use compel in such cases?? Like having the victim being traced right from the beginning of its execution &amp; use compel apis for code injection during runtime?? or am I missing some documentation that suggest how to use compel apis in such cases?? Kindly help me with is issue here.</p>
  <p><a href="https://criu.org/Main_Page" rel="nofollow noreferrer">https://criu.org/Main_Page</a></p>
  <p><a href="https://github.com/checkpoint-restore" rel="nofollow noreferrer">https://github.com/checkpoint-restore</a></p>