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
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
Tim Wojtulewicz
a54ffd18f3
Merge remote-tracking branch 'origin/topic/vlad/snmp_asn1_oid_performance'
...
* origin/topic/vlad/snmp_asn1_oid_performance:
Code modernization: use ranged-based for loop where possible
Improve performance of asn1_oid_to_val string conversions.
2021-09-03 18:11:01 +00:00
Tim Wojtulewicz
0b708e3625
Merge remote-tracking branch 'origin/topic/timw/1500-disable-tsan-sqlite'
...
* origin/topic/timw/1500-disable-tsan-sqlite:
Disable the scripts.base.frameworks.logging.sqlite.simultaneous-writes test under TSan
Mark MsgThread::cnt_sent_{in,out} as atomic to avoid a data race
Disable call to sqlite3_enable_shared_cache under ThreadSanitizer
2021-09-03 18:09:31 +00:00
Tim Wojtulewicz
0369ca01bc
Disable the scripts.base.frameworks.logging.sqlite.simultaneous-writes test under TSan
...
Due to a bug (or intentional code) in SQLite, we disabled enabling the shared cache
in sqlite3 if running under ThreadSanitizer (see cf1fefbe0b0a6163b389cc92b5a6878c7fc95f1f).
Unfortunately, this has the side-effect of breaking the simultaneous-writes test because
the shared cache is disabled. This is hopefully a temporary fix until SQLite fixes the
issue on their side.
2021-09-03 10:38:15 -07:00
Tim Wojtulewicz
4dc20826fd
Mark MsgThread::cnt_sent_{in,out} as atomic to avoid a data race
2021-09-03 10:38:15 -07:00
Tim Wojtulewicz
a2ab1b1484
Disable call to sqlite3_enable_shared_cache under ThreadSanitizer
...
See https://sqlite.org/forum/forumpost/54424d80ee for details.
2021-09-03 10:38:15 -07:00
Tim Wojtulewicz
f1f7ab5870
Merge remote-tracking branch 'origin/topic/timw/1589-ip-regexes'
...
* origin/topic/timw/1589-ip-regexes:
GH-1589: Avoid extracting IP-like strings from SMTP headers
2021-09-03 17:36:36 +00:00
Tim Wojtulewicz
569552b320
GH-1589: Avoid extracting IP-like strings from SMTP headers
2021-09-03 17:35:10 +00:00
Christian Kreibich
f8e87d3814
Update doc submodule [nomail] [skip ci]
2021-09-03 09:49:29 -07:00
Christian Kreibich
283cf927ea
Merge branch 'topic/christian/external-testsuite-tweaks'
...
* topic/christian/external-testsuite-tweaks:
Minor updates to the external-testsuite scripts
2021-09-03 09:45:29 -07:00
Christian Kreibich
b999448e3d
Minor updates to the external-testsuite scripts
...
Delete the unused Baseline folder, remove a Bro-era name from gitignore,
change create-new-repo to work with a second argument that is actually
a URL, and tweak whitespace. Expand description in README and update the
explanation of OPENSSL_ENABLE_MD5_VERIFY in subdir-btest.cfg.
2021-09-01 17:29:40 -07:00
Vlad Grigorescu
418bfe1fab
Merge remote-tracking branch 'origin/master' into topic/vlad/analyzer_coverage
2021-09-01 12:01:01 -05:00
Vlad Grigorescu
f9c36f5c37
Add btests for DNS WKS and BINDS
2021-09-01 12:00:50 -05:00