criu/compel
Younes Manton 461fa72715 compel: Add APIs to facilitate testing
Starting the daemon is the first time we run code in the victim
using the parasite stack.

It's useful for testing to be able to infect the victim without starting
the daemon so that we can inspect the victim's state, set up stack
guards, and so on before stack-related corruption can happen.

Add compel_infect_no_daemon() to infect the victim but not start the
daemon and compel_start_daemon() to start the daemon after the victim
is infected.

Add compel_get_stack() to get the victim's main and thread parasite
stacks.

Signed-off-by: Younes Manton <ymanton@ca.ibm.com>
2023-04-15 21:17:21 -07:00
..
arch breakpoint: enable breakpoints by default on amd64 and arm64 2023-04-15 21:17:21 -07:00
include compel: Add APIs to facilitate testing 2023-04-15 21:17:21 -07:00
plugins kerndat: check whether the openat2 syscall is supported 2022-04-28 17:53:52 -07:00
src compel: Add APIs to facilitate testing 2023-04-15 21:17:21 -07:00
test Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
.gitignore compel: adapt .gitgnore for aarch64 and ppc64le 2017-08-09 18:51:42 +03:00
compel-host compel cli: show includes 2017-03-15 00:09:55 +03:00
Makefile x86: Use PTRACE_GET_THREAD_AREA instead of sys_get_thread_area() 2021-09-03 10:31:00 -07:00