github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/pkg/compiler/testdata/warnings.txt (about) 1 # Copyright 2019 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 foo$suspicious_len(a len[b], b ptr[in, array[string]]) ### len target b refer to an array with variable-size elements (do you mean bytesize?) 5 foo$suspicious_len2(a ptr[in, suspicious_len_struct], b ptr[in, suspicious_len_struct]) 6 foo$suspicious_len3(a ptr[in, suspicious_len_template[string]], b ptr[in, suspicious_len_template[stringnoz]]) 7 8 suspicious_len_struct { 9 a len[b, int32] ### len target b refer to an array with variable-size elements (do you mean bytesize?) 10 b ptr[in, array[string]] 11 } 12 13 type suspicious_len_template[T] { 14 a len[b, int32] ### len target b refer to an array with variable-size elements (do you mean bytesize?) 15 b ptr[in, array[T]] 16 } 17 18 unsupported() ### unsupported syscall: unsupported due to missing const SYS_unsupported 19 unsupported$1() 20 foo(a const[NO_SUCH_CONST], b r0) ### unsupported syscall: foo due to missing const NO_SUCH_CONST 21 resource r0[int32]: NO_EITHER ### unsupported resource: r0 due to missing const NO_EITHER