Changes

447 bytes added ,  20:24, 2 December 2014
no edit summary
Line 24: Line 24:     
==== Parasite head ====
 
==== Parasite head ====
 +
 +
Parasite head lives in <code>parasite-head.S</code> file and simply prepares the own stack (nipping off a few bytes) and literally calls for body execution. Once main body execution is complete we simply call the cpu trap thus CRIU can intercept this moment and cure the victim restoring its original code contents.
 +
 +
==== Parasite body ====
 +
 +
Parasite body lives in pie/parasite.c file and as file extension implies is written in pure C language.
 
[[Category: Under the hood]]
 
[[Category: Under the hood]]