selftests/bpf: Verify copy_register_state() preserves parent/live fields

[ Upstream commit b9fa9bc839 ]

A testcase to check that verifier.c:copy_register_state() preserves
register parentage chain and livness information.

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20230106142214.1040390-3-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Eduard Zingerman 2023-01-06 16:22:14 +02:00 • committed by Greg Kroah-Hartman
commit 544062e65f