zeek/src
Max Kellermann 80d6bbc4dc parse.y: fix several memory leaks after lookup_ID()
lookup_ID() returns a referenced pointer to the caller.  Quite a lot
of code paths don't release those references.
2020-02-24 13:00:22 +01:00
..
3rdparty@1e939893b3 Update libkqueue for a linux bugfix 2020-02-14 21:15:21 -08:00
analyzer analyzer/protocol/http: fix potential memory leak 2020-02-19 15:12:28 +01:00
broker IntrusivePtr: replace the "add_ref" parameter with tag structs 2020-02-20 15:56:50 +01:00
file_analysis CompHash: use class IntrusivePtr for the type field 2020-02-20 15:57:39 +01:00
input input/Manager: fix memory leak in UnrollRecordType() 2020-02-19 15:12:28 +01:00
iosource Merge remote-tracking branch 'MaxKellermann/eliminate_code 2020-02-14 16:17:31 -07:00
logging Use const-references in lots of places (preformance-unnecessary-value-param) 2020-02-11 14:11:18 -08:00
plugin Val: eliminate the "Scope.h" include 2020-02-12 10:10:26 +01:00
probabilistic CompHash: use class IntrusivePtr for the type field 2020-02-20 15:57:39 +01:00
supervisor IntrusivePtr: replace the "add_ref" parameter with tag structs 2020-02-20 15:56:50 +01:00
threading Merge branch 'noreturn' of https://github.com/MaxKellermann/zeek 2020-02-21 15:37:33 -08:00
zeekygen Mark a few clang-tidy findings as false-positive 2020-02-11 14:11:22 -08:00
Anon.cc Anon: remove unnecessary {map,vector}::clear() calls 2020-02-07 10:56:14 +01:00
Anon.h Anon: remove unnecessary {map,vector}::clear() calls 2020-02-07 10:56:14 +01:00
Attr.cc &on_change: Address feedback of Jon. 2020-02-06 14:42:03 -08:00
Attr.h Merge remote-tracking branch 'origin/master' into topic/johanna/table-on-change 2020-02-05 12:41:19 -08:00
Base64.cc UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
Base64.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
binpac-lib.pac
binpac.pac
binpac_bro-lib.pac Change failure in utf16_bytestring_to_utf8_val to be a conn weird. 2016-08-17 00:57:49 -04:00
binpac_bro.h include cleanup 2020-02-04 20:51:02 +01:00
bro-bif.h include cleanup 2020-02-04 20:51:02 +01:00
bro.pac Change failure in utf16_bytestring_to_utf8_val to be a conn weird. 2016-08-17 00:57:49 -04:00
bro_inet_ntop.c
bro_inet_ntop.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
Brofiler.cc include cleanup 2020-02-04 20:51:02 +01:00
Brofiler.h include cleanup 2020-02-04 20:51:02 +01:00
BroList.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
BroString.cc UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
BroString.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
bsd-getopt-long.c 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
bsd-getopt-long.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
CCL.cc UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
CCL.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
CMakeLists.txt digest: eliminate the "Reporter.h" include 2020-02-13 09:13:59 +01:00
CompHash.cc Merge branch 'smart_ptr' of https://github.com/MaxKellermann/zeek 2020-02-21 10:15:24 -08:00
CompHash.h CompHash: use class IntrusivePtr for the type field 2020-02-20 15:57:39 +01:00
Conn.cc Use const-references in lots of places (preformance-unnecessary-value-param) 2020-02-11 14:11:18 -08:00
Conn.h Use const-references in lots of places (preformance-unnecessary-value-param) 2020-02-11 14:11:18 -08:00
const.bif Rename Bro to Zeek in Zeekygen-generated documentation 2019-06-06 18:52:22 -07:00
Continuation.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
ConvertUTF.c Merge remote-tracking branch 'origin/topic/seth/rdp' 2015-03-30 17:10:04 -05:00
ConvertUTF.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
cq.c Merge remote-tracking branch 'origin/topic/seth/stats-improvement' 2016-05-07 11:51:35 -07:00
cq.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
DbgBreakpoint.cc DbgBreakpoint: fix memory leak 2020-02-19 15:12:28 +01:00
DbgBreakpoint.h Fix missing namespace that was causing a build error 2020-02-11 14:11:22 -08:00
DbgDisplay.h include cleanup 2020-02-04 20:51:02 +01:00
DbgHelp.cc 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
DbgWatch.cc 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
DbgWatch.h include cleanup 2020-02-04 20:51:02 +01:00
Debug.cc include cleanup 2020-02-04 20:51:02 +01:00
Debug.h include cleanup 2020-02-04 20:51:02 +01:00
DebugCmdInfoConstants.cc Rename bro to zeek in error messages 2019-06-16 23:08:45 -05:00
DebugCmdInfoConstants.h
DebugCmdInfoConstants.in Rename bro to zeek in error messages 2019-06-16 23:08:45 -05:00
DebugCmds.cc DebugCmds: fix memory leak 2020-02-19 15:12:28 +01:00
DebugCmds.h Remove "using namespace std" from header files 2019-10-30 12:26:10 -07:00
DebugLogger.cc Initial structure for supervisor-mode 2019-09-27 19:17:58 -07:00
DebugLogger.h Initial structure for supervisor-mode 2019-09-27 19:17:58 -07:00
Desc.cc include cleanup 2020-02-04 20:51:02 +01:00
Desc.h include cleanup 2020-02-04 20:51:02 +01:00
DFA.cc include cleanup 2020-02-04 20:51:02 +01:00
DFA.h include cleanup 2020-02-04 20:51:02 +01:00
Dict.cc Merge remote-tracking branch 'origin/topic/timw/dict-unit-tests' 2020-02-13 19:34:29 -08:00
Dict.h Code cleanup in Dict.h 2020-02-11 20:28:49 -05:00
digest.cc digest: eliminate the "Reporter.h" include 2020-02-13 09:13:59 +01:00
digest.h digest: eliminate the "Reporter.h" include 2020-02-13 09:13:59 +01:00
Discard.cc Val: eliminate the "BroString.h" include 2020-02-13 09:13:59 +01:00
Discard.h include cleanup 2020-02-04 20:51:02 +01:00
DNS_Mgr.cc Val: eliminate the "BroString.h" include 2020-02-13 09:13:59 +01:00
DNS_Mgr.h include cleanup 2020-02-04 20:51:02 +01:00
EquivClass.cc include cleanup 2020-02-04 20:51:02 +01:00
EquivClass.h include cleanup 2020-02-04 20:51:02 +01:00
event.bif Add Pcap::file_done event 2020-02-06 17:50:17 -08:00
Event.cc Check for failure when registering event manager with iosource manager (Coverity 1419398) 2020-02-12 16:39:00 -08:00
Event.h GH-773: Make EventMgr an IOSource so that events interrupt kevent waits 2020-02-05 15:43:37 -05:00
EventHandler.cc broker: include cleanup 2020-02-13 10:12:03 +01:00
EventHandler.h include cleanup 2020-02-04 20:51:02 +01:00
EventLauncher.cc
EventLauncher.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
EventRegistry.cc include cleanup 2020-02-04 20:51:02 +01:00
EventRegistry.h include cleanup 2020-02-04 20:51:02 +01:00
Expr.cc Expr: fix two memory leaks in AssignExpr::InitVal() 2020-02-24 12:14:10 +01:00
Expr.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
File.cc include cleanup 2020-02-04 20:51:02 +01:00
File.h include cleanup 2020-02-04 20:51:02 +01:00
Flare.cc Merge branch 'noreturn' of https://github.com/MaxKellermann/zeek 2020-02-21 15:37:33 -08:00
Flare.h Address supervisor code re-factoring feedback from Robin 2020-01-21 22:26:17 -08:00
Frag.cc include cleanup 2020-02-04 20:51:02 +01:00
Frag.h include cleanup 2020-02-04 20:51:02 +01:00
Frame.cc IntrusivePtr: rename detach() to release() 2020-02-20 08:58:21 +01:00
Frame.h Use const-references in lots of places (preformance-unnecessary-value-param) 2020-02-11 14:11:18 -08:00
Func.cc Func: fix memory leaks in check_built_in_call() 2020-02-24 13:00:22 +01:00
Func.h include cleanup 2020-02-04 20:51:02 +01:00
Hash.cc include cleanup 2020-02-04 20:51:02 +01:00
Hash.h include cleanup 2020-02-04 20:51:02 +01:00
ID.cc UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
ID.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
input.h Merge remote-tracking branch 'origin/master' into topic/jsiwek/supervisor 2019-11-05 10:11:47 -08:00
IntrusivePtr.h IntrusivePtr: replace the "add_ref" parameter with tag structs 2020-02-20 15:56:50 +01:00
IntSet.cc 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
IntSet.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
IP.cc Val: eliminate the "BroString.h" include 2020-02-13 09:13:59 +01:00
IP.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
IPAddr.cc UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
IPAddr.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
List.h Remove APIs that were explicitly deprecated to be removed in 3.1. 2020-01-29 12:08:09 +00:00
main.cc GH-773: Make EventMgr an IOSource so that events interrupt kevent waits 2020-02-05 15:43:37 -05:00
make_dbg_constants.py Merge remote-tracking branch 'origin/topic/dnthayer/ticket1440' 2015-08-07 13:10:08 -07:00
modp_numtoa.c Do not use scientific notations when printing doubles in logs. 2016-05-23 16:07:22 -07:00
modp_numtoa.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
module_util.cc Merge remote-tracking branch 'origin/topic/timw/util-unit-tests' 2020-01-06 09:44:43 -08:00
module_util.h module_util: make GLOBAL_MODULE_NAME constexpr 2020-02-07 10:56:14 +01:00
nb_dns.c util, nb_dns: fix off-by-one bugs in strncpy() calls 2020-01-29 20:22:16 +01:00
nb_dns.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
Net.cc Fix various format specifiers 2020-02-14 11:10:41 -08:00
Net.h include cleanup 2020-02-04 20:51:02 +01:00
net_util.cc Mark safe_snprintf and safe_vsnprintf as deprecated, remove uses of them 2020-01-02 15:36:39 -07:00
net_util.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
NetVar.cc include cleanup 2020-02-04 20:51:02 +01:00
NetVar.h Add Supervisor BIF/event API skeleton 2019-10-15 12:59:45 -07:00
NFA.cc include cleanup 2020-02-04 20:51:02 +01:00
NFA.h include cleanup 2020-02-04 20:51:02 +01:00
Notifier.cc include cleanup 2020-02-04 20:51:02 +01:00
Notifier.h include cleanup 2020-02-04 20:51:02 +01:00
Obj.cc Obj: make no_location constexpr 2020-02-16 19:22:35 +01:00
Obj.h Merge branch 'refactor_obj' of https://github.com/MaxKellermann/zeek 2020-02-21 20:06:09 -08:00
OpaqueVal.cc CompHash: use class IntrusivePtr for the type field 2020-02-20 15:57:39 +01:00
OpaqueVal.h OpaqueVal: remove misplaced virtual keywords 2020-02-20 15:57:57 +01:00
option.bif option.bif: fix crash bug by referencing Func, not Val 2020-02-24 12:14:10 +01:00
Options.cc include cleanup 2020-02-04 20:51:02 +01:00
Options.h Change packet source fields of Options to std::optional 2020-01-31 15:41:23 -08:00
PacketDumper.cc include cleanup 2020-02-04 20:51:02 +01:00
PacketDumper.h include cleanup 2020-02-04 20:51:02 +01:00
PacketFilter.cc include cleanup 2020-02-04 20:51:02 +01:00
PacketFilter.h include cleanup 2020-02-04 20:51:02 +01:00
parse.y parse.y: fix several memory leaks after lookup_ID() 2020-02-24 13:00:22 +01:00
patricia.c Fix packet filter memory leaks 2020-01-02 12:05:49 -08:00
patricia.h Fix packet filter memory leaks 2020-01-02 12:05:49 -08:00
Pipe.cc Add checks for failed fcntl calls 2020-01-29 16:04:46 -08:00
Pipe.h Address supervisor code re-factoring feedback from Robin 2020-01-21 22:26:17 -08:00
PolicyFile.cc 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
PolicyFile.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
PrefixTable.cc include cleanup 2020-02-04 20:51:02 +01:00
PrefixTable.h include cleanup 2020-02-04 20:51:02 +01:00
PriorityQueue.cc Remove CQ_TimerMgr in favor of PQ_TimerMgr 2020-01-31 09:34:54 -07:00
PriorityQueue.h include cleanup 2020-02-04 20:51:02 +01:00
Queue.h include cleanup 2020-02-04 20:51:02 +01:00
RandTest.cc include cleanup 2020-02-04 20:51:02 +01:00
RandTest.h include cleanup 2020-02-04 20:51:02 +01:00
re-parse.y include cleanup 2020-02-04 20:51:02 +01:00
re-scan.l include cleanup 2020-02-04 20:51:02 +01:00
RE.cc Mark a few clang-tidy findings as false-positive 2020-02-11 14:11:22 -08:00
RE.h RE: make the RE_Matcher destructor non-virtual 2020-02-13 09:17:30 +01:00
Reassem.cc include cleanup 2020-02-04 20:51:02 +01:00
Reassem.h include cleanup 2020-02-04 20:51:02 +01:00
reporter.bif Fix memory leak in Reporter::get_weird_sampling_whitelist() BIF 2020-01-02 12:05:49 -08:00
Reporter.cc file_analysis: include cleanup 2020-02-13 10:12:03 +01:00
Reporter.h Reporter: add [[noreturn]] attribute to several methods 2020-02-21 20:43:09 +01:00
rule-parse.y include cleanup 2020-02-04 20:51:02 +01:00
rule-scan.l include cleanup 2020-02-04 20:51:02 +01:00
Rule.cc include cleanup 2020-02-04 20:51:02 +01:00
Rule.h include cleanup 2020-02-04 20:51:02 +01:00
RuleAction.cc UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
RuleAction.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
RuleCondition.cc include cleanup 2020-02-04 20:51:02 +01:00
RuleCondition.h include cleanup 2020-02-04 20:51:02 +01:00
RuleMatcher.cc RuleMatcher: delete PatternSet instances in destructor (memleak) 2020-02-24 12:14:10 +01:00
RuleMatcher.h include cleanup 2020-02-04 20:51:02 +01:00
scan.l scan.l: fix crash bug in do_atif() 2020-02-19 15:12:28 +01:00
Scope.cc Scope: convert Scope::Lookup() and others to template 2020-02-07 10:56:14 +01:00
Scope.h Scope: convert Scope::Lookup() and others to template 2020-02-07 10:56:14 +01:00
SerializationFormat.cc include cleanup 2020-02-04 20:51:02 +01:00
SerializationFormat.h include cleanup 2020-02-04 20:51:02 +01:00
Sessions.cc Give real variable names to SegmentProfiler objects when defining them (bugprone-unused-raii) 2020-02-11 14:11:22 -08:00
Sessions.h include cleanup 2020-02-04 20:51:02 +01:00
setsignal.c 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
setsignal.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
siphash24.c Merge remote-tracking branch 'origin/topic/johanna/bit-1612' 2016-07-14 16:26:17 -07:00
siphash24.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
SmithWaterman.cc include cleanup 2020-02-04 20:51:02 +01:00
SmithWaterman.h Remove "using namespace std" from header files 2019-10-30 12:26:10 -07:00
stats.bif Remove concept of multiple timer managers 2020-01-31 10:13:09 -07:00
Stats.cc Fix various format specifiers 2020-02-14 11:10:41 -08:00
Stats.h include cleanup 2020-02-04 20:51:02 +01:00
Stmt.cc CompHash: use class IntrusivePtr for the type field 2020-02-20 15:57:39 +01:00
Stmt.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
StmtEnums.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
strings.bif Remove APIs that were explicitly deprecated to be removed in 3.1. 2020-01-29 12:08:09 +00:00
strsep.c 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
Tag.cc Move constructors/operators should be marked noexcept to avoid the compiler picking the copy constructor instead (performance-noexcept-move-constructor) 2020-02-11 11:02:08 -08:00
Tag.h Move constructors/operators should be marked noexcept to avoid the compiler picking the copy constructor instead (performance-noexcept-move-constructor) 2020-02-11 11:02:08 -08:00
Timer.cc Remove concept of multiple timer managers 2020-01-31 10:13:09 -07:00
Timer.h include cleanup 2020-02-04 20:51:02 +01:00
Traverse.cc include cleanup 2020-02-04 20:51:02 +01:00
Traverse.h include cleanup 2020-02-04 20:51:02 +01:00
TraverseTypes.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
Trigger.cc UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
Trigger.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
TunnelEncapsulation.cc Pre-allocate and re-use Vals for bool, int, count, enum and empty string 2019-01-09 18:29:23 -06:00
TunnelEncapsulation.h include cleanup 2020-02-04 20:51:02 +01:00
Type.cc Merge branch 'refactor_obj' of https://github.com/MaxKellermann/zeek 2020-02-21 20:06:09 -08:00
Type.h Merge branch 'refactor_obj' of https://github.com/MaxKellermann/zeek 2020-02-21 20:06:09 -08:00
types.bif Table expiry now raises &on_change handlers 2020-02-05 12:37:52 -08:00
UID.cc UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
UID.h UID, ..: un-inline methods to reduce header dependencies 2020-02-04 20:51:02 +01:00
util-config.h.in Additional Bro to Zeek renaming 2019-05-19 16:51:36 -05:00
util.cc Val: forward-declare class PDict, reduce includes 2020-02-12 10:10:26 +01:00
util.h util: pass string_view to without_bropath_component() 2020-02-07 10:56:14 +01:00
Val.cc Merge branch 'refactor_obj' of https://github.com/MaxKellermann/zeek 2020-02-21 20:06:09 -08:00
Val.h Merge branch 'refactor_obj' of https://github.com/MaxKellermann/zeek 2020-02-21 20:06:09 -08:00
Var.cc Var: fix memory leaks in add_global() and add_local() 2020-02-24 13:00:22 +01:00
Var.h include cleanup 2020-02-04 20:51:02 +01:00
version.c.in 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
WeirdState.cc include cleanup 2020-02-04 20:51:02 +01:00
WeirdState.h Switch from header guards to pragma once 2019-09-17 14:10:30 +02:00
zeek-affinity.cc Address supervisor code re-factoring feedback from Robin 2020-01-21 22:26:17 -08:00
zeek-affinity.h Address supervisor code re-factoring feedback from Robin 2020-01-21 22:26:17 -08:00
zeek.bif IntrusivePtr: replace the "add_ref" parameter with tag structs 2020-02-20 15:56:50 +01:00