syzkaller/pkg/compiler
Dmitry Vyukov 162bd26be4 pkg/compiler: make buffer alias to ptr[array[int8]]
Ptr type has special handling of direction (pointers are always input).
But buffer type missed this special case all the time.
Make buffer less special by aliasing to the ptr[array[int8]] type.
As the result buffer type can't have optional trailing "opt" attribute
because we don't have such support for templates yet.
Change such cases to use ptr type directly.

Fixes #1097
2019-04-01 12:46:10 +02:00
..
testdata pkg/compiler: make buffer alias to ptr[array[int8]] 2019-04-01 12:46:10 +02:00
check.go pkg/compiler: fix potential nil deref 2019-03-06 16:54:38 +01:00
compiler_test.go pkg/compiler: fix potential nil deref 2019-03-06 16:54:38 +01:00
compiler.go pkg/compiler: add error handler in CollectUnused 2018-11-21 02:37:06 +01:00
consts_test.go pkg/compiler: check for unused declarations 2018-06-30 19:34:41 +02:00
consts.go prog, pkg/compiler: fix warnings 2019-03-29 19:04:30 +01:00
fuzz.go fuzz.yaml: add pkg/compiler and trace2syz fuzzers 2019-03-05 15:57:06 +01:00
gen.go pkg/csource: use 0 for missing syscall args 2018-12-27 13:11:57 +01:00
types.go pkg/compiler: make buffer alias to ptr[array[int8]] 2019-04-01 12:46:10 +02:00