From 52395b6ee8e4f6c0f2b7816547870fc18e6c0b8a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 18 Dec 2019 15:24:10 +0100 Subject: sys/test: add few other tests for tricky bitfields Update #1542 --- sys/test/exec.txt | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'sys/test/exec.txt') diff --git a/sys/test/exec.txt b/sys/test/exec.txt index aaf8919eb..556f8b5ca 100644 --- a/sys/test/exec.txt +++ b/sys/test/exec.txt @@ -21,6 +21,9 @@ compare_data [ bf7 syz_bf_align[syz_bf_struct7] bf8 syz_bf_align[syz_bf_struct8] bf9 syz_bf_align[syz_bf_struct9] + bf10 syz_bf_align[syz_bf_struct10] + bf11 syz_bf_align[syz_bf_struct11] + bf12 syz_bf_align[syz_bf_struct12] str string blob array[int8] arr16be array[int16be] @@ -68,6 +71,36 @@ syz_bf_struct9 { f2 int16:4 } +syz_bf_struct10 { + f0 int32:4 + f1 int32:4 + f2 int32:4 + f3 int64:12 + f4 int64:12 + f5 int64:12 + f6 int64:12 + f7 int64:12 + f8 int8 +} + +syz_bf_struct11 { + f0 int8 + f1 int8 + f2 int8 + f3 int32:4 + f4 int32:4 +} + +syz_bf_struct12 { + f0 int8 + f1 int8 + f2 int8 + f3 int32:4 + f4 int32:4 + f5 int32:4 + f6 int8 +} + type syz_bf_align[T] { f0 int8 f1 T -- cgit mrf-deployment