COMPEL(1) CRIU Manual COMPEL(1) (NAME) compel - (SYNOPSIS) compel hgen [option ...] compel plugins [PLUGIN_NAME ...] compel [--compat] includes | cflags | ldflags compel [--compat] [--static] libs (DESCRIPTION) compel ( parasite code ) . compel . libcompel.a (c-header) . (ARGUMENTS) (Positional Arguments) hgen po. . plugins . ldflags ldflags compel (link) . cflags cflags compel . includes include. libs compel . (OPTIONS) -f, --file FILE FILE compel . -o, --output FILE FILE compel . -p, --prefix NAME . -l, --log-level NUM compel. -h, --help . -V, --version compel. (SOURCE EXAMPLES) (Parasitic Code) #include int parasite_trap_cmd(int cmd, void *args); // ()compel_run_in_thread int parasite_daemon_cmd(int cmd, void *arg); // ()compel_rpc_call ()compel_rpc_call_sync void parasite_cleanup(void); // ()compel_cure (Infecting code) compel . #include #include "parasite.h" : o : int compel_stop_task(int pid); o : struct parasite_ctl *compel_prepare(int pid); o : int compel_syscall(ctl, int syscall_nr, long *ret, int arg ...); o : int compel_infect(ctl, nr_thread, size_of_args_area); o : int compel_cure(ctl); // ctl o : int compel_resume_task(pid, orig_state, state) int compel_resume_task_sig(pid, orig_state, state, stop_signo). // ()compel_resume_task_sig . stop_signo ()compel_parse_stop_signo . ctl PREFIX_setup_c_header() ctl . PREFIX hgen -p . (EXAMPLES) (h.) (po.) : compel hgen -f parasite.po -o parasite.h parasite.po compel compel . (AUTHOR) CRIU. criu 4.1.1 07/29/2025 COMPEL(1)