criu/test
Younes Manton 17ec539132 compel: Add test to check parasite stack setup
Some ABIs allow functions to store data in caller frame, which
means that we have to allocate an initial stack frame before
executing code on the parasite stack.

This test saves the contents of writable memory that follows the stack
after the victim has been infected but before we start using the
parasite stack. It later checks that the saved data matches the
current contents of the two memory areas. This is done while the
victim is halted so we expect a match unless executing parasite code
caused memory corruption. The test doesn't detect cases where we
corrupted memory by writing the same value.

Signed-off-by: Younes Manton <ymanton@ca.ibm.com>
2023-04-15 21:17:21 -07:00
..
compel Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
exhaustive Fix some codespell warnings 2022-04-28 17:53:52 -07:00
inhfd vim: remove wrong 8-space tabs indent from python files 2021-09-03 10:31:00 -07:00
javaTests Fix some codespell warnings 2022-04-28 17:53:52 -07:00
jenkins Revert "ci: skip new hugetlb maps09/maps10 tests for pre-dump" 2023-04-15 21:17:21 -07:00
others test/others/crit/test.sh: use bash array 2023-04-15 21:17:21 -07:00
pki test: create new tls certificates 2021-09-03 10:31:00 -07:00
zdtm compel: Add test to check parasite stack setup 2023-04-15 21:17:21 -07:00
.gitignore zdtm: Add javaTests output to .gitignore 2021-09-03 10:31:00 -07:00
abrt.sh test/abrt: skip core dumps from the seccomp_filter test 2019-04-20 20:25:26 -07:00
check_actions.py test/other: Resolve Py3 compatibility issues 2019-09-07 15:59:56 +03:00
crit-recode.py vim: remove wrong 8-space tabs indent from python files 2021-09-03 10:31:00 -07:00
empty-netns-prep.sh test: don't use nsenter in tests 2017-05-19 09:17:20 +03:00
groups.desc zdtm.py: Generator of groups of tests 2015-12-08 14:54:41 +03:00
inhfd.desc zdtm.py: Add inhfd tests for --inherit-fd option 2015-10-19 12:42:01 +03:00
Makefile Add --skip-file-rwx-check opt test 2023-04-15 21:17:21 -07:00
pycriu Adapt zdtm for python3 compatibility 2018-07-09 18:25:16 +03:00
show_action.sh test: Check action scripts to work as we expect 2016-05-06 14:39:25 +03:00
umount2.c zdtm: add a program to umount a test root 2016-09-26 15:42:40 +03:00
zdtm.desc test: Get rid of live directory 2016-02-20 13:40:52 +03:00
zdtm.py zdtm: make root mount private in criu mntns 2023-04-15 21:17:21 -07:00
zdtm_ct.c zdtm: zdtm_ct fix compilation error with strict-prototypes on 2022-04-28 17:53:52 -07:00
zdtm_mount_cgroups zdtm: use unique holder for cgroups 2022-04-28 17:53:52 -07:00
zdtm_umount_cgroups zdtm: use unique holder for cgroups 2022-04-28 17:53:52 -07:00