Changes

36 bytes added ,  21:38, 8 December 2016
→‎Infecting: improve setup_c_header description
Line 72: Line 72:     
First, the <code>ctl</code> should be configured with the blob information. For that,
 
First, the <code>ctl</code> should be configured with the blob information. For that,
you should call <code>''PREFIX''_setup_c_header()</code> function,
+
you should call <code>''PREFIX''_setup_c_header()</code> function
where <code>''PREFIX''</code> is the same as the argument given to
+
with <code>ctl</code> as an argument. Here <code>''PREFIX''</code>
<code>-p</code> option to <code>compel hgen</code>.
+
is the same as the argument given to <code>-p</code> option
 +
to <code>compel hgen</code>.
    
Second, when infecting a parasite one should specify the amount of threads it will mess with (1, if only the thread leader will be accessed) and the maximum size of the memory area shared between infecting task and parasite used for arguments/result passing.
 
Second, when infecting a parasite one should specify the amount of threads it will mess with (1, if only the thread leader will be accessed) and the maximum size of the memory area shared between infecting task and parasite used for arguments/result passing.