tree-sitter/test
Phil Turnbull e7662c2213 Handle out-of-bound read in utf16_iterate
Also simplify the test so we call `utf16_iterate` directly. Calling
`utf16_iterate` via `SpyInput` and `ts_document_parse` doesn't seem to reliably
trigger the problem using valgrind.

valgrind also doesn't detect the problem if we use a string literal like:
  `utf16_iterate("", 1, &code_point);`
2017-07-17 13:57:12 -07:00
..
compiler Fix compiler warnings in flatten_grammar_test 2017-07-14 10:26:34 -07:00
fixtures Support anonymous tokens inside of RENAME rules 2017-07-14 10:19:58 -07:00
fuzz Add libFuzzer support 2017-07-14 13:50:41 -07:00
helpers Support anonymous tokens inside of RENAME rules 2017-07-14 10:19:58 -07:00
integration Support anonymous tokens inside of RENAME rules 2017-07-14 10:19:58 -07:00
runtime Handle out-of-bound read in utf16_iterate 2017-07-17 13:57:12 -07:00
benchmarks.cc Represent all speeds as size_t in benchmarks 2017-07-06 12:24:41 -07:00
test_helper.h Rename spec -> test 2017-03-09 20:40:01 -08:00
tests.cc Rename spec -> test 2017-03-09 20:40:01 -08:00