From 28bd3e371b1f31cb243f0df56b9c7720971a89db Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 10 Dec 2018 15:49:04 +0100 Subject: prog: support AUTO args in programs AUTO arguments can be used for: - consts - lens - pointers For const's and len's AUTO is replaced with the natural value, addresses for AUTO pointers are allocated linearly. This greatly simplifies writing test programs by hand as most of the time we want these natural values. Update tests to use AUTO. --- sys/linux/test/vnet_tun | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/linux/test/vnet_tun') diff --git a/sys/linux/test/vnet_tun b/sys/linux/test/vnet_tun index bb88fc9d6..c1b08e695 100644 --- a/sys/linux/test/vnet_tun +++ b/sys/linux/test/vnet_tun @@ -1,2 +1,2 @@ -syz_emit_ethernet() -syz_emit_ethernet() +syz_emit_ethernet(0x0, 0x0, 0x0) +syz_emit_ethernet(0x0, 0x0, 0x0) -- cgit mrf-deployment