Coverage Report

Created: 2026-10-31 07:03

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/zeek/build/src/analyzer/protocol/pop3/events.bif.cc
Line
Count
Source
1
// This file was automatically generated by bifcl from /src/zeek/src/analyzer/protocol/pop3/events.bif (plugin mode).
2
3
4
#include "events.bif.h"
5
#include "zeek/Func.h"
6
7
zeek::EventHandlerPtr pop3_request; 
8
void zeek::BifEvent::enqueue_pop3_request(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::StringVal> command, zeek::IntrusivePtr<zeek::StringVal> arg)
9
0
  {
10
  // Note that it is intentional that here we do not
11
  // check if ::pop3_request is NULL, which should happen *before*
12
  // zeek::BifEvent::enqueue_pop3_request is called to avoid unnecessary Val
13
  // allocation.
14
15
0
  zeek::event_mgr.Enqueue(::pop3_request, zeek::Args{
16
0
          c->GetVal(),
17
0
          zeek::val_mgr->Bool(is_orig),
18
0
          std::move(command),
19
0
          std::move(arg),
20
0
          },
21
0
      zeek::util::detail::SOURCE_LOCAL, analyzer ? analyzer->GetID() : 0, c);
22
0
  }
23
24
zeek::EventHandlerPtr pop3_reply; 
25
void zeek::BifEvent::enqueue_pop3_reply(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::StringVal> cmd, zeek::IntrusivePtr<zeek::StringVal> msg)
26
0
  {
27
  // Note that it is intentional that here we do not
28
  // check if ::pop3_reply is NULL, which should happen *before*
29
  // zeek::BifEvent::enqueue_pop3_reply is called to avoid unnecessary Val
30
  // allocation.
31
32
0
  zeek::event_mgr.Enqueue(::pop3_reply, zeek::Args{
33
0
          c->GetVal(),
34
0
          zeek::val_mgr->Bool(is_orig),
35
0
          std::move(cmd),
36
0
          std::move(msg),
37
0
          },
38
0
      zeek::util::detail::SOURCE_LOCAL, analyzer ? analyzer->GetID() : 0, c);
39
0
  }
40
41
zeek::EventHandlerPtr pop3_data; 
42
void zeek::BifEvent::enqueue_pop3_data(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::StringVal> data)
43
0
  {
44
  // Note that it is intentional that here we do not
45
  // check if ::pop3_data is NULL, which should happen *before*
46
  // zeek::BifEvent::enqueue_pop3_data is called to avoid unnecessary Val
47
  // allocation.
48
49
0
  zeek::event_mgr.Enqueue(::pop3_data, zeek::Args{
50
0
          c->GetVal(),
51
0
          zeek::val_mgr->Bool(is_orig),
52
0
          std::move(data),
53
0
          },
54
0
      zeek::util::detail::SOURCE_LOCAL, analyzer ? analyzer->GetID() : 0, c);
55
0
  }
56
57
zeek::EventHandlerPtr pop3_unexpected; 
58
void zeek::BifEvent::enqueue_pop3_unexpected(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::StringVal> msg, zeek::IntrusivePtr<zeek::StringVal> detail)
59
0
  {
60
  // Note that it is intentional that here we do not
61
  // check if ::pop3_unexpected is NULL, which should happen *before*
62
  // zeek::BifEvent::enqueue_pop3_unexpected is called to avoid unnecessary Val
63
  // allocation.
64
65
0
  zeek::event_mgr.Enqueue(::pop3_unexpected, zeek::Args{
66
0
          c->GetVal(),
67
0
          zeek::val_mgr->Bool(is_orig),
68
0
          std::move(msg),
69
0
          std::move(detail),
70
0
          },
71
0
      zeek::util::detail::SOURCE_LOCAL, analyzer ? analyzer->GetID() : 0, c);
72
0
  }
73
74
zeek::EventHandlerPtr pop3_starttls; 
75
void zeek::BifEvent::enqueue_pop3_starttls(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c)
76
0
  {
77
  // Note that it is intentional that here we do not
78
  // check if ::pop3_starttls is NULL, which should happen *before*
79
  // zeek::BifEvent::enqueue_pop3_starttls is called to avoid unnecessary Val
80
  // allocation.
81
82
0
  zeek::event_mgr.Enqueue(::pop3_starttls, zeek::Args{
83
0
          c->GetVal(),
84
0
          },
85
0
      zeek::util::detail::SOURCE_LOCAL, analyzer ? analyzer->GetID() : 0, c);
86
0
  }
87
88
zeek::EventHandlerPtr pop3_login_success; 
89
void zeek::BifEvent::enqueue_pop3_login_success(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::StringVal> user, zeek::IntrusivePtr<zeek::StringVal> password)
90
0
  {
91
  // Note that it is intentional that here we do not
92
  // check if ::pop3_login_success is NULL, which should happen *before*
93
  // zeek::BifEvent::enqueue_pop3_login_success is called to avoid unnecessary Val
94
  // allocation.
95
96
0
  zeek::event_mgr.Enqueue(::pop3_login_success, zeek::Args{
97
0
          c->GetVal(),
98
0
          zeek::val_mgr->Bool(is_orig),
99
0
          std::move(user),
100
0
          std::move(password),
101
0
          },
102
0
      zeek::util::detail::SOURCE_LOCAL, analyzer ? analyzer->GetID() : 0, c);
103
0
  }
104
105
zeek::EventHandlerPtr pop3_login_failure; 
106
void zeek::BifEvent::enqueue_pop3_login_failure(zeek::analyzer::Analyzer* analyzer, zeek::Connection* c, int is_orig, zeek::IntrusivePtr<zeek::StringVal> user, zeek::IntrusivePtr<zeek::StringVal> password)
107
0
  {
108
  // Note that it is intentional that here we do not
109
  // check if ::pop3_login_failure is NULL, which should happen *before*
110
  // zeek::BifEvent::enqueue_pop3_login_failure is called to avoid unnecessary Val
111
  // allocation.
112
113
0
  zeek::event_mgr.Enqueue(::pop3_login_failure, zeek::Args{
114
0
          c->GetVal(),
115
0
          zeek::val_mgr->Bool(is_orig),
116
0
          std::move(user),
117
0
          std::move(password),
118
0
          },
119
0
      zeek::util::detail::SOURCE_LOCAL, analyzer ? analyzer->GetID() : 0, c);
120
0
  }
121