aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/compiler_test.go
Commit message (Collapse)AuthorAgeFilesLines
* sys: support type aliases (aka typedefs)Dmitry Vyukov2018-01-081-19/+30
| | | | | | | | | | | | | | | | | | | | | | Complex types that are often repeated can be given short type aliases using the following syntax: ``` type identifier underlying_type ``` For example: ``` type signalno int32[0:65] type net_port proc[20000, 4, int16be] ``` Then, type alias can be used instead of the underlying type in any contexts. Underlying type needs to be described as if it's a struct field, that is, with the base type if it's required. However, type alias can be used as syscall arguments as well. Underlying types are currently restricted to integer types, `ptr`, `ptr64`, `const`, `flags` and `proc` types.
* sys/syz-extract: support fuchsiaDmitry Vyukov2017-09-251-2/+3
|
* all: more assorted fuchsia supportDmitry Vyukov2017-09-221-4/+5
|
* sys: move linux descriptions to sys/linuxDmitry Vyukov2017-09-151-2/+2
|
* sys, pkg/compiler: move padding computation to compilerDmitry Vyukov2017-09-041-0/+30
| | | | This makes types constant during execution, everything is precomputed.
* pkg/compiler: use correct arch ptr sizeDmitry Vyukov2017-09-041-3/+3
|
* pkg/compiler: detect resources without ctorsDmitry Vyukov2017-09-041-1/+1
| | | | Fixes #217
* pkg/compiler: verify validity of len targetsDmitry Vyukov2017-09-041-9/+13
| | | | Update #217
* pkg/compiler: check and generate typesDmitry Vyukov2017-09-021-5/+23
| | | | | | Move most of the logic from sysgen to pkg/compiler. Update #217
* pkg/compiler: more static error checkingDmitry Vyukov2017-08-271-52/+17
| | | | Update #217
* pkg/compiler: move more const-processing code to compilerDmitry Vyukov2017-08-271-0/+21
|
* pkg/compiler, sys/syz-sysgen: move const handling to pkg/compilerDmitry Vyukov2017-08-271-5/+11
| | | | Now pkg/compiler deals with consts.
* sys/syz-extract: switch to the new parserDmitry Vyukov2017-08-181-0/+59