zeek/testing/btest/scripts/base/frameworks/input
Arne Welzel ecfa03ea1d input/Raw: Rework GetLine()
This isn't a straightforward fix, unfortunately. The existing GetLine()
implementation didn't deal well with input that's incrementally produced
where individually read chunks wouldn't end with the separator.

The prior implementation increased the buffer each time it failed to find
a separator in the current buffer, but then also ended up not searching the
full new buffer size for the terminator, doing that endlessly.

This change reworks the Raw reader to rely only on bufpos for reading
and searching purposes and skip reallocation if the buffer size if it
wasn't actually exhausted.

Closes #3957
2024-10-09 14:21:07 -07:00
..
config Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
path-prefix Rename all BRO-prefixed environment variables 2019-05-22 00:12:31 -05:00
raw input/Raw: Rework GetLine() 2024-10-09 14:21:07 -07:00
sqlite GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
bad_patterns.zeek Improve btest timeouts 2020-02-06 17:50:17 -08:00
basic.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
bignumber.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
binary.zeek Ascii reader test with 0-bytes 2021-02-12 14:49:33 +00:00
default.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
empty-values-hashing.zeek Skip input framework entries with missing but non-optional fields 2021-06-30 20:02:26 -07:00
emptyvals.zeek Skip input framework entries with missing but non-optional fields 2021-06-30 20:02:26 -07:00
errors.zeek input/Manager: Improve type checks of record fields with type any 2024-07-19 11:35:54 +02:00
event.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
from_json.zeek Merge remote-tracking branch 'amazing-pp/topic/fupeng/from_json_bif' 2023-05-09 10:36:58 +02:00
invalid-lines-duplicate.zeek Fix input error test nondeterminism 2024-10-02 13:26:41 -04:00
invalid-lines.zeek input: Add location info for invalid enums 2022-11-29 12:36:11 +01:00
invalidnumbers.zeek Skip negative integers in input framework where not type-permissible 2021-01-28 23:46:43 -08:00
invalidset.zeek Spelling testing 2022-11-16 20:05:03 -05:00
invalidtable.zeek Better input framework error messages for unset non-optionals 2023-07-21 15:11:31 +01:00
invalidtext.zeek Spelling testing 2022-11-16 20:05:03 -05:00
missing-enum.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
missing-file-initially.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
missing-file.zeek Improve btest timeouts 2020-02-06 17:50:17 -08:00
missing-table-value.zeek Fix similar issues with ValueTo* methods in the input framework 2021-04-08 14:07:16 -07:00
onecolumn-norecord.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
onecolumn-record.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
optional.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
patterns.zeek Merge branch 'master' of https://github.com/ZekeMedley/zeek 2019-06-04 19:19:19 -07:00
port-embedded.zeek Skip negative integers in input framework where not type-permissible 2021-01-28 23:46:43 -08:00
port.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
predicate-stream.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
predicate.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
predicatemodify.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
predicatemodifyandreread.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
predicaterefusesecondsamerecord.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
repeat.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
reread.zeek Fix race conditions in scripts.base.frameworks.input.reread 2021-07-12 13:25:03 -07:00
set-event-reread.zeek GH-1083: Fix Input Framework 'change' events for 'set' destinations 2020-07-23 23:29:09 -07:00
set-event-stream.zeek GH-1083: Fix Input Framework 'change' events for 'set' destinations 2020-07-23 23:29:09 -07:00
set.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
setseparator.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
setspecialcases.zeek Fix a bug with splitting strings in Ascii input reader 2022-07-21 11:53:47 -07:00
stream.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
subrecord-event.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
subrecord.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
tableevent.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
twotables.zeek Fix race conditions in scripts.base.frameworks.input.reread 2021-07-12 13:25:03 -07:00
unsupported_types.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
windows.zeek GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00