github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/pkg/compiler/testdata/errors3.txt (about) 1 # Copyright 2020 syzkaller project authors. All rights reserved. 2 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 # Errors that happen during description generation phase. 5 6 discrimination(a int32) 7 discrimination$1(a int16) ### discrimination$1 arg a is redeclared with size 2, previously declared with size 4 at LOCATION 8 9 arg_size$1(a int16) 10 arg_size$2(a const[0x12345]) ### const val 0x12345 does not fit into 16 bits 11 12 bad_size_attr_struct { 13 a int64 14 } [size[4]] ### struct bad_size_attr_struct has size attribute 4 which is less than struct size 8 15 16 bad_size_attr_union [ 17 a int8 18 b int16 19 c int32 ### union bad_size_attr_union has size attribute 2 which is less than field int32 size 4 20 d int64 ### union bad_size_attr_union has size attribute 2 which is less than field int64 size 8 21 ] [size[2]] 22 23 bad_size_call(a ptr[in, bad_size_attr_struct], b ptr[in, bad_size_attr_union])