FOX-DS
13960a98ad
Fix protocol forwarding in dce_rpc-auth
2021-09-14 03:09:16 -04:00
Vern Paxson
693fc14eb2
tweaks to address some compiler warnings
2021-09-13 19:55:26 -07:00
Vern Paxson
7f3993ca0e
tweaks to address concerns flagged by Coverity
2021-09-13 12:57:15 -07:00
Tim Wojtulewicz
8414d13030
Merge remote-tracking branch 'origin/topic/vern/vector-hole-loops'
...
* origin/topic/vern/vector-hole-loops:
fix for looping over vectors with holes per https://github.com/zeek/zeek/issues/1763
btest for https://github.com/zeek/zeek/issues/1763
2021-09-08 12:04:56 -07:00
Tim Wojtulewicz
b7e264f8ef
Merge remote-tracking branch 'origin/topic/seth/tsv-logs-utf8-by-default'
...
* origin/topic/seth/tsv-logs-utf8-by-default:
Fix mis-usage of string::append that leads to an overflow
Use json_escape_utf8 for all utf8 data in ODesc
Switch the TSV Zeek logs to be UTF8 by default.
2021-09-08 12:04:13 -07:00
Tim Wojtulewicz
a251aa07f7
Merge remote-tracking branch 'origin/topic/vern/ZAM-remainder'
...
* origin/topic/vern/ZAM-remainder: (37 commits)
fix race condition in btest output ordering
whoops, forgot to canonicalize filenames in new btest
extend btest to include a coercion overflow
fixed a typo in a comment
fixes for vector coercion overflows, typing, and holes
factoring out logic to check for overflows during coercions
test case for vector coercions, including holes
low-level cleanups found by code review
additional conversions of size() to empty() checks that were missed previously
indentation nit
flag loop that has slightly subtle logic
use ## to start major sections
a number of low-level tweaks from code review
use std::find_if rather than explicit loop
switch simple loops that don't need indices to being iterator-based
use container empty() rather than size() where appropriate
Baseline variants for "-a zam"
new "-a ZAM" testing baseline alternative
updates for usage issues: support for -uu, maybe/definitely distinctions
enable reducer to track folding to enable constant propagation
...
2021-09-08 11:44:35 -07:00
Vern Paxson
acaaa0d36a
fix race condition in btest output ordering
2021-09-08 10:23:39 -07:00
Vern Paxson
74fbfa3aae
whoops, forgot to canonicalize filenames in new btest
2021-09-08 10:23:39 -07:00
Vern Paxson
9d896d114b
extend btest to include a coercion overflow
2021-09-08 10:23:39 -07:00
Vern Paxson
7f3ab84e5c
fixed a typo in a comment
2021-09-08 10:23:39 -07:00
Vern Paxson
196b8767e8
fixes for vector coercion overflows, typing, and holes
2021-09-08 10:23:39 -07:00
Vern Paxson
a67897135e
factoring out logic to check for overflows during coercions
2021-09-08 10:23:39 -07:00
Vern Paxson
9757d37332
test case for vector coercions, including holes
2021-09-08 10:23:39 -07:00
Vern Paxson
38578a2ea3
low-level cleanups found by code review
2021-09-08 10:23:39 -07:00
Vern Paxson
8bc04d3593
additional conversions of size() to empty() checks that were missed previously
2021-09-08 10:23:39 -07:00
Vern Paxson
9d38946a95
indentation nit
2021-09-08 10:23:39 -07:00
Vern Paxson
bd7edd27fd
flag loop that has slightly subtle logic
2021-09-08 10:23:38 -07:00
Vern Paxson
d58573adb1
use ## to start major sections
2021-09-08 10:23:38 -07:00
Vern Paxson
b6daf14868
a number of low-level tweaks from code review
2021-09-08 10:23:38 -07:00
Vern Paxson
c10737d168
use std::find_if rather than explicit loop
2021-09-08 10:23:38 -07:00
Vern Paxson
d609a11312
switch simple loops that don't need indices to being iterator-based
2021-09-08 10:23:38 -07:00
Vern Paxson
ffd1905f90
use container empty() rather than size() where appropriate
2021-09-08 10:23:38 -07:00
Vern Paxson
9b2eb2c373
Baseline variants for "-a zam"
2021-09-08 10:23:38 -07:00
Vern Paxson
9722b4216f
new "-a ZAM" testing baseline alternative
2021-09-08 10:23:38 -07:00
Vern Paxson
f89ed411cf
updates for usage issues: support for -uu, maybe/definitely distinctions
2021-09-08 10:23:38 -07:00
Vern Paxson
6726eaa0a9
enable reducer to track folding to enable constant propagation
2021-09-08 10:23:38 -07:00
Vern Paxson
da6ac0b521
switch to ID definition regions; reworked driver functions; more info for reporting uncompilable functions
2021-09-08 10:23:38 -07:00
Vern Paxson
83a0d89caf
README for using ZAM
2021-09-08 10:23:38 -07:00
Vern Paxson
906d1fc1f2
the main ZAM code
2021-09-08 10:23:38 -07:00
Vern Paxson
ddac6e5f67
reworking of command-line options related to script optimization
2021-09-08 10:23:38 -07:00
Vern Paxson
4637da37a7
definitions of ZAM operations
2021-09-08 10:23:38 -07:00
Vern Paxson
df3c61120a
standalone templator for ZAM operations
2021-09-08 10:23:38 -07:00
Vern Paxson
cffc954905
computing of identifier definition regions
2021-09-08 10:23:38 -07:00
Vern Paxson
16bd121ea0
for parse-only, only do script analysis if looking for usage issues
2021-09-08 10:23:38 -07:00
Vern Paxson
9a9995bdd1
tracking of optimization information associated with identifiers
2021-09-08 10:23:38 -07:00
Vern Paxson
074b18f3e8
tracking of optimization information associated with expressions
2021-09-08 10:23:38 -07:00
Vern Paxson
3ac725f44b
tracking of optimization information associated with statements
2021-09-08 10:23:38 -07:00
Vern Paxson
ed3c87d253
simple AST optimization for ?: operator
2021-09-08 10:23:38 -07:00
Vern Paxson
fb101f7b0e
track implicit assignments when profiling, associate counts with assignees
2021-09-08 10:23:38 -07:00
Vern Paxson
dbb509448f
preparing for a new Stmt subclass for ZAM function bodies
2021-09-08 10:23:38 -07:00
Vern Paxson
51fee244c9
provide ZAM execution with direct access to ZVal elements
2021-09-08 10:23:38 -07:00
Vern Paxson
9f68002392
factoring to support debugging of Dict iterators - no semantic changes
2021-09-08 10:23:38 -07:00
Vern Paxson
b4a44ed663
low-level tidying/nits - no semantic changes
2021-09-08 10:23:38 -07:00
Vern Paxson
4c80bd6782
fix for looping over vectors with holes per https://github.com/zeek/zeek/issues/1763
2021-09-07 10:26:42 -07:00
Vern Paxson
87fce26a0b
btest for https://github.com/zeek/zeek/issues/1763
2021-09-07 10:21:50 -07:00
Tim Wojtulewicz
58cb9163d1
Fix mis-usage of string::append that leads to an overflow
2021-09-07 09:16:53 -07:00
Tim Wojtulewicz
404fed6923
Use json_escape_utf8 for all utf8 data in ODesc
2021-09-07 09:16:53 -07:00
Seth Hall
a4ceb98bf8
Switch the TSV Zeek logs to be UTF8 by default.
...
There is a paired zeek-testing branch for some updates there.
2021-09-07 09:16:53 -07:00
Justin Azoff
3bf8c8ceb6
Optimzie software framework version parsing
...
Add a small cache in front of the parse method. This cache should
reduce most of the calls to parse, and ultimately save memory because
redundant versions of the parsed strings will not be created in memory.
Move the parsing itself to the proxies where the caching can be more
efficient.
2021-09-05 13:18:51 -04:00
Tim Wojtulewicz
0746ef7ecc
Merge remote-tracking branch 'origin/topic/vlad/analyzer_coverage'
...
* origin/topic/vlad/analyzer_coverage:
Add btests for DNS WKS and BINDS
Add btest for DNS WKS RR.
Add btest for DNS NSEC3PARAM RR.
2021-09-03 18:12:28 +00:00