Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | xi2path: Cast before snprintf | Jari Vetoniemi | 2018-02-23 | |
| | | | | | Make sure results are unsigned Found by cppcheck | |||
* | Makefile: Add -Warray-bounds=2 | Jari Vetoniemi | 2018-02-23 | |
| | ||||
* | wip | Jari Vetoniemi | 2018-02-23 | |
| | ||||
* | lexer.rl: hex can be as long as we want | Jari Vetoniemi | 2018-02-23 | |
| | | | | | | | | hex expression shared the esc_hex expression before. But esc_hex is limited to 2 hexdecimal characters, and thus poor choice for parsing hexdecimal numbers in source. (This is different from C which allows "n" length hex escapes causing problems when you mix hex escapes with strings for example) | |||
* | ragel.rl: mark anything as error | Jari Vetoniemi | 2018-02-23 | |
| | | | | | | | | The word label is mainly meant to define printable and conceated characters. In print_mark we use it to print tail in case we hit the valid* kleene star expression. Otherwise we will just show '^' mark on whatever byte we failed on. This allows to catch semantical failures such as having newlines at wrong place etc.. | |||
* | ragel.rl: better error matching | Jari Vetoniemi | 2018-02-23 | |
| | | | | | | Combine tail action into mark. Tokenize on 'space <valid>' or on punctuation. Treat single printable or valid* as word. | |||
* | doc: Add work-in-progress asciidoc | Jari Vetoniemi | 2017-12-07 | |
| | ||||
* | dump.c: Postcond that we actually read something | Jari Vetoniemi | 2017-12-07 | |
| | ||||
* | Add assert to tell compiler wrong behaviour is UDHEADmaster | Jari Vetoniemi | 2017-10-01 | |
| | ||||
* | Make -Wstrict-overflow less paranoid | Jari Vetoniemi | 2017-10-01 | |
| | | | | Seems to do stuff only when optimizations are enabled | |||
* | Fix install rule | Jari Vetoniemi | 2017-10-01 | |
| | ||||
* | s/s32/s64/ | Jari Vetoniemi | 2017-08-15 | |
| | ||||
* | ragel.rl: Add some asserts to confirm input | Jari Vetoniemi | 2017-05-07 | |
| | | | | Just some hardening: p should always be equal or behind pe. | |||
* | ragel.rl: Make search_err read "p" before stop | Jari Vetoniemi | 2017-05-07 | |
| | | | | | | | | | If we stop before reading the "p" false positive may be returned since "p" may be the start of new token. Thus case like `type: 3u8[4] str;` would fail to mark the real error since '3' is not read. Thus start marking from the last valid token that is ':'. | |||
* | validator.rl: Unused member | Jari Vetoniemi | 2017-05-03 | |
| | ||||
* | validator.rl: Allow multiple filters | Jari Vetoniemi | 2017-05-02 | |
| | ||||
* | dump.c: Align to_hex to at least 2 chars | Jari Vetoniemi | 2017-05-01 | |
| | | | | | This is to have nice aligned output when outputting byte arrays for example. | |||
* | dump.c: Fix print_array when data ends on 8 column | Jari Vetoniemi | 2017-05-01 | |
| | ||||
* | dump.c: More compact hex dumping | Jari Vetoniemi | 2017-05-01 | |
| | ||||
* | elf.fspec: visualize e_entry as hex | Jari Vetoniemi | 2017-05-01 | |
| | ||||
* | Simplify the install rule | Jari Vetoniemi | 2017-05-01 | |
| | ||||
* | Add elf.fspec | Jari Vetoniemi | 2017-05-01 | |
| | | | | Needs union support to be implemented fully. | |||
* | work in progress | Jari Vetoniemi | 2017-05-01 | |
| | ||||
* | Initial commit | Jari Vetoniemi | 2017-04-13 | |