crash.software
Projects
Pull Requests
Issues
Builds
criu
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
criu
Files
🤬
Sign In
7905b9f6
ROOT
/
compel
/
src
/
lib
/
infect.c
Search
History
1591 lines
|
ISO-8859-1
|
35 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
__sys
(
foo
)
__sys_err
(
ret
)
UNIX_PATH_MAX
PARASITE_STACK_SIZE
SECCOMP_MODE_DISABLED
prepare_thread
(
int,struct thread_ctx*
)
:
int
close_safe
(
int*
)
{...}
:
void
parse_pid_status
(
int,struct seize_task_status*,void*
)
{...}
:
int
compel_stop_task
(
int
)
{...}
:
int
compel_interrupt_task
(
int
)
{...}
:
int
skip_sigstop
(
int,int
)
{...}
:
int
compel_wait_task
(
int,int,int,void,struct seize_task_status*,void*
)
{...}
:
int
compel_resume_task
(
pid_t,int,int
)
{...}
:
int
gen_parasite_saddr
(
struct sockaddr_un*,int
)
{...}
:
int
prepare_tsock
(
struct parasite_ctl*,pid_t,struct parasite_init_args*
)
{...}
:
int
setup_child_handler
(
struct parasite_ctl*
)
{...}
:
int
restore_child_handler
(
struct parasite_ctl*
)
{...}
:
int
parasite_run
(
pid_t,int,unsigned long,void*,user_regs_struct_t*,struct thread_ctx*
)
{...}
:
int
restore_thread_ctx
(
int,struct thread_ctx*
)
{...}
:
int
parasite_trap
(
struct parasite_ctl*,pid_t,user_regs_struct_t*,struct thread_ctx*
)
{...}
:
int
compel_execute_syscall
(
struct parasite_ctl*,user_regs_struct_t*,const char*
)
{...}
:
int
compel_run_at
(
struct parasite_ctl*,unsigned long,user_regs_struct_t*
)
{...}
:
int
accept_tsock
(
struct parasite_ctl*
)
{...}
:
int
parasite_init_daemon
(
struct parasite_ctl*
)
{...}
:
int
parasite_start_daemon
(
struct parasite_ctl*
)
{...}
:
int
parasite_mmap_exchange
(
struct parasite_ctl*,unsigned long
)
{...}
:
int
parasite_memfd_exchange
(
struct parasite_ctl*,unsigned long
)
{...}
:
int
compel_relocs_apply
(
void*,void*,size_t,compel_reloc_t*,size_t
)
{...}
:
void
compel_map_exchange
(
struct parasite_ctl*,unsigned long
)
{...}
:
int
total_pie_size
(
size_t
)
{...}
:
unsigned long
compel_infect
(
struct parasite_ctl*,unsigned long,unsigned long
)
{...}
:
int
compel_prepare_thread
(
struct parasite_ctl*,int
)
{...}
:
struct parasite_thread_ctl*
prepare_thread
(
int,struct thread_ctx*
)
{...}
:
int
compel_release_thread
(
struct parasite_thread_ctl*
)
{...}
:
void
compel_prepare_noctx
(
int
)
{...}
:
struct parasite_ctl*
find_executable_area
(
int
)
{...}
:
unsigned long
make_sock_for
(
int
)
{...}
:
int
simple_open_proc
(
int,int,const char*,...
)
{...}
:
int
handle_sigchld
(
int,siginfo_t*,void*
)
{...}
:
void
plain_regs_struct
regs
:
user_regs_struct_t
fpregs
:
user_fpregs_struct_t
save_regs_plain
(
void*,user_regs_struct_t*,user_fpregs_struct_t*
)
{...}
:
int
make_sigframe_plain
(
void*,struct rt_sigframe*,struct rt_sigframe*,k_rtsigset_t*
)
{...}
:
int
compel_prepare
(
int
)
{...}
:
struct parasite_ctl*
task_in_parasite
(
struct parasite_ctl*,user_regs_struct_t*
)
{...}
:
bool
parasite_fini_seized
(
struct parasite_ctl*
)
{...}
:
int
compel_stop_daemon
(
struct parasite_ctl*
)
{...}
:
int
compel_cure_remote
(
struct parasite_ctl*
)
{...}
:
int
compel_cure_local
(
struct parasite_ctl*
)
{...}
:
int
compel_cure
(
struct parasite_ctl*
)
{...}
:
int
compel_parasite_args_p
(
struct parasite_ctl*
)
{...}
:
void*
compel_parasite_args_s
(
struct parasite_ctl*,unsigned long
)
{...}
:
void*
compel_run_in_thread
(
struct parasite_thread_ctl*,unsigned int
)
{...}
:
int
compel_unmap
(
struct parasite_ctl*,unsigned long
)
{...}
:
int
compel_stop_pie
(
pid_t,void*,enum trace_flags*,bool
)
{...}
:
int
task_is_trapped
(
int,pid_t
)
{...}
:
bool
is_required_syscall
(
user_regs_struct_t*,pid_t,const int,const int
)
{...}
:
int
compel_stop_on_syscall
(
int,const int,const int,enum trace_flags
)
{...}
:
int
compel_mode_native
(
struct parasite_ctl*
)
{...}
:
int
thread_ctx_sigmask
(
struct thread_ctx*
)
{...}
:
k_rtsigset_t*
compel_thread_sigmask
(
struct parasite_thread_ctl*
)
{...}
:
k_rtsigset_t*
compel_task_sigmask
(
struct parasite_ctl*
)
{...}
:
k_rtsigset_t*
compel_get_thread_regs
(
struct parasite_thread_ctl*,save_regs_t,void*
)
{...}
:
int
compel_infect_ctx
(
struct parasite_ctl*
)
{...}
:
struct infect_ctx*
compel_parasite_blob_desc
(
struct parasite_ctl*
)
{...}
:
struct parasite_blob_desc*
compel_get_leader_sp
(
struct parasite_ctl*
)
{...}
:
uint64_t
compel_get_thread_sp
(
struct parasite_thread_ctl*
)
{...}
:
uint64_t
All occurrences
Please wait...
Page is in error, reload to recover