Vern Paxson
3ff3eee398
fixup! fixup! shift much of the internal use of ID* identifier pointers over to IDPtr objects
2025-09-03 12:42:58 -07:00
Vern Paxson
693aa244f9
shift much of the internal use of ID* identifier pointers over to IDPtr objects
2025-09-03 11:19:31 -07:00
Tim Wojtulewicz
b592b6c998
Use .contains() instead of .find() or .count()
2025-09-02 16:42:52 +00:00
Vern Paxson
a9b37467a4
remove non-functional column information from Location objects
2025-07-08 10:39:53 +02:00
Vern Paxson
5c63133226
isolate Location specifics to private class variables to enforce correct line number ordering
2025-07-08 10:39:28 +02:00
Benjamin Bannier
627c3ad726
Fix clang-tidy readability-isolate-declaration warnings
...
I missed one of these in review so a machine is probably better at
catching them.
I fixed the existing instances which where largely in code which look
dated. Where possible I slightly reorganized the code so we do not have
to leave values uninitialized, but did not touch up anything else.
2025-06-30 14:19:06 -07:00
Tim Wojtulewicz
12356a6393
Remove unnecessary #includes in script_opt
2025-05-19 10:25:05 -07:00
Tim Wojtulewicz
34ee136a3c
More std::move changes based on Coverity findings
2025-04-08 11:01:21 -07:00
Vern Paxson
5feadf5d69
fixed -O dump-final-ZAM to work in conjunction with -O no-ZAM-opt
2024-11-28 16:36:28 -08:00
Vern Paxson
e0e6c462ce
"-O dump-final-ZAM" option similar to "dump-ZAM" only prints final version of functions
2024-09-27 13:24:30 -07:00
Arne Welzel
71e9c8d436
script_opt: Use Func::GetName()
2024-09-27 15:11:17 +02:00
Vern Paxson
5fc2c601b4
updates to ZAM operations / gen-zam regularization, other than the operations themselves
2024-08-16 11:18:58 +02:00
Vern Paxson
c29db63fdd
ZAM execution changes to support richer profiling
2024-03-19 10:59:49 -07:00
Vern Paxson
c8d15f1eaa
use richer block-aware location information for ZAM instructions
2024-03-19 10:59:49 -07:00
Vern Paxson
4bd0a46c29
fixes for ZAM optimization of "switch" statements
2024-01-15 15:03:56 +01:00
Vern Paxson
e9b990254a
memory-handling fixes for information associated with low-level ZAM instructions
2023-12-12 09:45:19 +01:00
Vern Paxson
709d410fcd
regularized (some) types of pointers used in script optimization
2023-12-12 09:45:19 +01:00
Vern Paxson
740a087765
reworked AST optimizers analysis of side effects during aggregate operations & calls
2023-12-06 12:26:27 -08:00
Benjamin Bannier
f5a76c1aed
Reformat Zeek in Spicy style
...
This largely copies over Spicy's `.clang-format` configuration file. The
one place where we deviate is header include order since Zeek depends on
headers being included in a certain order.
2023-10-30 09:40:55 +01:00
Vern Paxson
91d70e6dd4
support for discarding ASTs once compiled via ZAM script optimization
2023-07-26 13:32:00 -07:00
Vern Paxson
b6b4a81e0d
removal of unused functionality and some follow-on simplifications
2023-06-30 09:36:14 +02:00
Vern Paxson
7d5760ac74
ZAM support for lambdas
2023-06-30 09:36:14 +02:00
Tim Wojtulewicz
2abc82722f
Fix a swath of AUTO_CAUSES_COPY issues reported by Coverity
2022-08-15 09:45:46 -07:00
Tim Wojtulewicz
f624c18383
Deprecate bro_int_t and bro_uint_t
2022-07-12 12:01:23 -07:00
Vern Paxson
84dc430e00
fix & btest for ZAM bug with inlined nested loop
2022-04-01 14:04:50 -07:00
Tim Wojtulewicz
b2f171ec69
Reformat the world
2021-09-16 15:35:39 -07:00
Vern Paxson
81e8354ada
still more nit-squashing
2021-09-14 16:04:04 -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
b6daf14868
a number of low-level tweaks from code review
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
906d1fc1f2
the main ZAM code
2021-09-08 10:23:38 -07:00