mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00

With this patch the model is: - "print" cleans the data so that non-printable characters get escaped. This is not necessarily reversible. - to print in a reversible way, one can go through escape_string(); this escapes backslashes as well to make the decoding non-ambigious. - Logging always escapes similar to escape_string(), making it reversible. Compared to master, we also change the escaping as follows: - We now only escape with "\xXX", no more "^X" or "\0". Exception: backslashes. - We escape backlashes as "\\". - There's no "alternative" output style anymore, i.e., fmt() '%A' qualifier is gone. Baselines in testing/btest are updated, external tests not yet. Addresses BIT-1333.
17 lines
745 B
Text
17 lines
745 B
Text
Demo::Foo - A Foo test analyzer (dynamic, version 1.0)
|
|
[File Analyzer] Foo (ANALYZER_FOO)
|
|
[Event] foo_piece
|
|
|
|
===
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, The National Center
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, net, consult your lo
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, most everything else
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, low:\x0a\x0a /Mac
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, es and directories o
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, r example, here is a
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, application, StuffIt
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, tion BinHex by doubl
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, laced, or are going
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, sers several documen
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, er or can be printed
|
|
foo_piece, FGy9Oo9JLY8SFxMJ2, \x0a\x0aBug reports shoul
|