diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-12-10 15:49:04 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-10 16:37:02 +0100 |
| commit | 28bd3e371b1f31cb243f0df56b9c7720971a89db (patch) | |
| tree | ac2ff223b4b855f0bcb554bc65dcff07a2f4e49c /sys/linux/test/vnet_tun | |
| parent | c7ba317e9bfa7672d851df1217c2c3ea045c55f1 (diff) | |
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.
Diffstat (limited to 'sys/linux/test/vnet_tun')
| -rw-r--r-- | sys/linux/test/vnet_tun | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
