| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | pkg/compiler: support size attribute for unions | Dmitry Vyukov | 2018-03-05 | 1 | -0/+8 |
| | | |||||
| * | pkg/compiler: add size attribute for structs | Dmitry Vyukov | 2018-03-05 | 1 | -0/+13 |
| | | | | | The size attribute allows to pad a struct up to the specified size. | ||||
| * | pkg/compiler: prohibit len of other union options | Dmitry Vyukov | 2018-02-23 | 1 | -0/+6 |
| | | |||||
| * | pkg/compiler: allow len of var-len arrays | Dmitry Vyukov | 2018-02-17 | 1 | -2/+0 |
| | | | | | | All netfilter subsystems use this unfortunately, so demote this to a warning. | ||||
| * | pkg/compiler: support type templates | Dmitry Vyukov | 2018-01-13 | 1 | -0/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Netlink descriptions contain tons of code duplication, and need much more for proper descriptions. Introduce type templates to simplify writing such descriptions and remove code duplication. Note: type templates are experimental, have poor error handling and are subject to change. Type templates can be declared as follows: ``` type buffer[DIR] ptr[DIR, array[int8]] type fileoff[BASE] BASE type nlattr[TYPE, PAYLOAD] { nla_len len[parent, int16] nla_type const[TYPE, int16] payload PAYLOAD } [align_4] ``` and later used as follows: ``` syscall(a buffer[in], b fileoff[int64], c ptr[in, nlattr[FOO, int32]]) ``` | ||||
| * | pkg/compiler: add check that len does not refer to array with varlen elements | Dmitry Vyukov | 2017-11-28 | 1 | -0/+2 |
| | | | | | | This [almost] always means a bug in descriptions. Fix all bugs identified by the check. | ||||
| * | pkg/compiler: don't genererate missing syscalls | Dmitry Vyukov | 2017-09-15 | 1 | -1/+2 |
| | | | | | | | | | We used to generate them only because manager had no idea what arch it is testing. So syscalls numbers had to match between all arches. This is not needed anymore. Also don't generate unreferenced structs/resources. | ||||
| * | sys, pkg/compiler: move padding computation to compiler | Dmitry Vyukov | 2017-09-04 | 1 | -0/+46 |
| | | | | | This makes types constant during execution, everything is precomputed. | ||||
| * | pkg/compiler: detect resources without ctors | Dmitry Vyukov | 2017-09-04 | 1 | -0/+87 |
| Fixes #217 | |||||
