/src/suricata7/src/util-streaming-buffer.h
Line | Count | Source |
1 | | /* Copyright (C) 2015-2016 Open Information Security Foundation |
2 | | * |
3 | | * You can copy, redistribute or modify this Program under the terms of |
4 | | * the GNU General Public License version 2 as published by the Free |
5 | | * Software Foundation. |
6 | | * |
7 | | * This program is distributed in the hope that it will be useful, |
8 | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
9 | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
10 | | * GNU General Public License for more details. |
11 | | * |
12 | | * You should have received a copy of the GNU General Public License |
13 | | * version 2 along with this program; if not, write to the Free Software |
14 | | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
15 | | * 02110-1301, USA. |
16 | | */ |
17 | | |
18 | | /* |
19 | | * This API is meant to be used with streaming data. A single memory |
20 | | * block is used to store the data. StreamingBufferSegment points to |
21 | | * chunk of data in the single StreamingBuffer. It points by offset |
22 | | * and length, so no pointers. The buffer is resized on demand and |
23 | | * slides forward, either automatically or manually. |
24 | | * |
25 | | * When a segment needs it's data it uses StreamingBufferSegmentGetData |
26 | | * which takes care of checking if the segment still has a valid offset |
27 | | * and length. |
28 | | * |
29 | | * The StreamingBuffer::stream_offset is an absolute offset since the |
30 | | * start of the data streaming. |
31 | | * |
32 | | * Similarly, StreamingBufferSegment::stream_offset is also an absolute |
33 | | * offset. |
34 | | * |
35 | | * Using the segments is optional. |
36 | | * |
37 | | * |
38 | | * stream_offset buf_offset stream_offset + buf_size |
39 | | * ^ ^ ^ |
40 | | * | | | |
41 | | * | | | |
42 | | * +--------------------------------------------+ |
43 | | * | data | empty | |
44 | | * | xxxxxxxxxx | | |
45 | | * +------^--------^--------+-------------------+ |
46 | | * | | |
47 | | * | | |
48 | | * | | |
49 | | * | | |
50 | | * | | |
51 | | * +------+--------+-------+ |
52 | | * | StreamingBufferSegment| |
53 | | * +-----------+-----------+ |
54 | | * | offset | len | |
55 | | * +-----------+-----------+ |
56 | | */ |
57 | | |
58 | | |
59 | | #ifndef __UTIL_STREAMING_BUFFER_H__ |
60 | | #define __UTIL_STREAMING_BUFFER_H__ |
61 | | |
62 | | #include "tree.h" |
63 | | |
64 | 33 | #define STREAMING_BUFFER_REGION_GAP_DEFAULT 262144 |
65 | | |
66 | | typedef struct StreamingBufferConfig_ { |
67 | | uint32_t buf_size; |
68 | | uint16_t max_regions; /**< max concurrent memory regions. 0 means no limit. */ |
69 | | uint32_t region_gap; /**< max gap size before a new region will be created. */ |
70 | | void *(*Calloc)(size_t n, size_t size); |
71 | | void *(*Realloc)(void *ptr, size_t orig_size, size_t size); |
72 | | void (*Free)(void *ptr, size_t size); |
73 | | } StreamingBufferConfig; |
74 | | |
75 | | #define STREAMING_BUFFER_CONFIG_INITIALIZER \ |
76 | | { \ |
77 | | 2048, 8, STREAMING_BUFFER_REGION_GAP_DEFAULT, NULL, NULL, NULL, \ |
78 | | } |
79 | | |
80 | | #define STREAMING_BUFFER_REGION_INIT \ |
81 | 169k | { \ |
82 | 169k | NULL, 0, 0, 0ULL, NULL, \ |
83 | 169k | } |
84 | | |
85 | | typedef struct StreamingBufferRegion_ { |
86 | | uint8_t *buf; /**< memory block for reassembly */ |
87 | | uint32_t buf_size; /**< size of memory block */ |
88 | | uint32_t buf_offset; /**< how far we are in buf_size */ |
89 | | uint64_t stream_offset; /**< stream offset of this region */ |
90 | | struct StreamingBufferRegion_ *next; |
91 | | } StreamingBufferRegion; |
92 | | |
93 | | /** |
94 | | * \brief block of continues data |
95 | | */ |
96 | | typedef struct StreamingBufferBlock { |
97 | | uint64_t offset; |
98 | | RB_ENTRY(StreamingBufferBlock) rb; |
99 | | uint32_t len; |
100 | | } __attribute__((__packed__)) StreamingBufferBlock; |
101 | | |
102 | | int SBBCompare(struct StreamingBufferBlock *a, struct StreamingBufferBlock *b); |
103 | | |
104 | | /* red-black tree prototype for SACK records */ |
105 | | RB_HEAD(SBB, StreamingBufferBlock); |
106 | | RB_PROTOTYPE(SBB, StreamingBufferBlock, rb, SBBCompare); |
107 | | StreamingBufferBlock *SBB_RB_FIND_INCLUSIVE(struct SBB *head, StreamingBufferBlock *elm); |
108 | | |
109 | | typedef struct StreamingBuffer_ { |
110 | | StreamingBufferRegion region; |
111 | | struct SBB sbb_tree; /**< red black tree of Stream Buffer Blocks */ |
112 | | StreamingBufferBlock *head; /**< head, should always be the same as RB_MIN */ |
113 | | uint32_t sbb_size; /**< data size covered by sbbs */ |
114 | | uint16_t regions; |
115 | | uint16_t max_regions; |
116 | | #ifdef DEBUG |
117 | | uint32_t buf_size_max; |
118 | | #endif |
119 | | } StreamingBuffer; |
120 | | |
121 | | static inline bool StreamingBufferHasData(const StreamingBuffer *sb) |
122 | 10.3M | { |
123 | 10.3M | return (sb->region.stream_offset || sb->region.buf_offset || sb->region.next != NULL || |
124 | 10.3M | !RB_EMPTY(&sb->sbb_tree)); |
125 | 10.3M | } Unexecuted instantiation: fuzz_applayerparserparse.c:StreamingBufferHasData Unexecuted instantiation: app-layer-parser.c:StreamingBufferHasData Unexecuted instantiation: app-layer-rdp.c:StreamingBufferHasData Unexecuted instantiation: app-layer-rfb.c:StreamingBufferHasData Unexecuted instantiation: app-layer-sip.c:StreamingBufferHasData Unexecuted instantiation: app-layer-smb.c:StreamingBufferHasData Unexecuted instantiation: app-layer-smtp.c:StreamingBufferHasData Unexecuted instantiation: app-layer-snmp.c:StreamingBufferHasData Unexecuted instantiation: app-layer-ssh.c:StreamingBufferHasData Unexecuted instantiation: app-layer-ssl.c:StreamingBufferHasData Unexecuted instantiation: app-layer-tftp.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-state.c:StreamingBufferHasData Unexecuted instantiation: flow.c:StreamingBufferHasData Unexecuted instantiation: flow-hash.c:StreamingBufferHasData Unexecuted instantiation: flow-manager.c:StreamingBufferHasData Unexecuted instantiation: flow-queue.c:StreamingBufferHasData Unexecuted instantiation: flow-spare-pool.c:StreamingBufferHasData Unexecuted instantiation: flow-storage.c:StreamingBufferHasData flow-timeout.c:StreamingBufferHasData Line | Count | Source | 122 | 108k | { | 123 | 108k | return (sb->region.stream_offset || sb->region.buf_offset || sb->region.next != NULL || | 124 | 108k | !RB_EMPTY(&sb->sbb_tree)); | 125 | 108k | } |
Unexecuted instantiation: flow-util.c:StreamingBufferHasData Unexecuted instantiation: host-timeout.c:StreamingBufferHasData Unexecuted instantiation: ippair-timeout.c:StreamingBufferHasData Unexecuted instantiation: output-file.c:StreamingBufferHasData Unexecuted instantiation: output-filedata.c:StreamingBufferHasData Unexecuted instantiation: output-flow.c:StreamingBufferHasData Unexecuted instantiation: packet.c:StreamingBufferHasData Unexecuted instantiation: reputation.c:StreamingBufferHasData Unexecuted instantiation: runmodes.c:StreamingBufferHasData Unexecuted instantiation: runmode-unix-socket.c:StreamingBufferHasData Unexecuted instantiation: runmode-windivert.c:StreamingBufferHasData Unexecuted instantiation: stream-tcp.c:StreamingBufferHasData Unexecuted instantiation: stream-tcp-cache.c:StreamingBufferHasData Unexecuted instantiation: stream-tcp-list.c:StreamingBufferHasData stream-tcp-reassemble.c:StreamingBufferHasData Line | Count | Source | 122 | 10.2M | { | 123 | 10.2M | return (sb->region.stream_offset || sb->region.buf_offset || sb->region.next != NULL || | 124 | 10.2M | !RB_EMPTY(&sb->sbb_tree)); | 125 | 10.2M | } |
Unexecuted instantiation: stream-tcp-sack.c:StreamingBufferHasData Unexecuted instantiation: suricata.c:StreamingBufferHasData Unexecuted instantiation: tmqh-packetpool.c:StreamingBufferHasData Unexecuted instantiation: tm-threads.c:StreamingBufferHasData Unexecuted instantiation: unix-manager.c:StreamingBufferHasData Unexecuted instantiation: util-debug.c:StreamingBufferHasData Unexecuted instantiation: util-decode-mime.c:StreamingBufferHasData Unexecuted instantiation: util-exception-policy.c:StreamingBufferHasData Unexecuted instantiation: util-file.c:StreamingBufferHasData Unexecuted instantiation: util-host-os-info.c:StreamingBufferHasData Unexecuted instantiation: util-ja3.c:StreamingBufferHasData Unexecuted instantiation: util-landlock.c:StreamingBufferHasData Unexecuted instantiation: util-macset.c:StreamingBufferHasData Unexecuted instantiation: util-mpm.c:StreamingBufferHasData Unexecuted instantiation: util-print.c:StreamingBufferHasData Unexecuted instantiation: util-running-modes.c:StreamingBufferHasData Unexecuted instantiation: util-streaming-buffer.c:StreamingBufferHasData Unexecuted instantiation: util-threshold-config.c:StreamingBufferHasData Unexecuted instantiation: util-time.c:StreamingBufferHasData Unexecuted instantiation: util-var.c:StreamingBufferHasData Unexecuted instantiation: util-var-name.c:StreamingBufferHasData Unexecuted instantiation: app-layer.c:StreamingBufferHasData Unexecuted instantiation: app-layer-detect-proto.c:StreamingBufferHasData Unexecuted instantiation: app-layer-dnp3.c:StreamingBufferHasData Unexecuted instantiation: app-layer-dnp3-objects.c:StreamingBufferHasData Unexecuted instantiation: app-layer-enip.c:StreamingBufferHasData Unexecuted instantiation: app-layer-enip-common.c:StreamingBufferHasData Unexecuted instantiation: app-layer-events.c:StreamingBufferHasData Unexecuted instantiation: app-layer-ftp.c:StreamingBufferHasData Unexecuted instantiation: app-layer-frames.c:StreamingBufferHasData Unexecuted instantiation: app-layer-htp.c:StreamingBufferHasData Unexecuted instantiation: app-layer-htp-file.c:StreamingBufferHasData Unexecuted instantiation: app-layer-htp-range.c:StreamingBufferHasData Unexecuted instantiation: app-layer-http2.c:StreamingBufferHasData Unexecuted instantiation: app-layer-ike.c:StreamingBufferHasData Unexecuted instantiation: app-layer-krb5.c:StreamingBufferHasData Unexecuted instantiation: app-layer-modbus.c:StreamingBufferHasData Unexecuted instantiation: app-layer-quic.c:StreamingBufferHasData Unexecuted instantiation: app-layer-mqtt.c:StreamingBufferHasData Unexecuted instantiation: app-layer-nfs-tcp.c:StreamingBufferHasData Unexecuted instantiation: app-layer-nfs-udp.c:StreamingBufferHasData Unexecuted instantiation: app-layer-ntp.c:StreamingBufferHasData Unexecuted instantiation: counters.c:StreamingBufferHasData Unexecuted instantiation: datasets-string.c:StreamingBufferHasData Unexecuted instantiation: decode.c:StreamingBufferHasData Unexecuted instantiation: decode-geneve.c:StreamingBufferHasData Unexecuted instantiation: decode-teredo.c:StreamingBufferHasData Unexecuted instantiation: decode-udp.c:StreamingBufferHasData Unexecuted instantiation: decode-vxlan.c:StreamingBufferHasData Unexecuted instantiation: defrag.c:StreamingBufferHasData Unexecuted instantiation: detect-content.c:StreamingBufferHasData Unexecuted instantiation: detect-dsize.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-address.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-address-ipv4.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-address-ipv6.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-alert.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-build.c:StreamingBufferHasData Unexecuted instantiation: detect-engine.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-content-inspection.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-frame.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-iponly.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-loader.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-mpm.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-payload.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-port.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-prefilter.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-prefilter-common.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-proto.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-register.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-siggroup.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-sigorder.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-tag.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-threshold.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-uint.c:StreamingBufferHasData Unexecuted instantiation: detect-fast-pattern.c:StreamingBufferHasData Unexecuted instantiation: detect-file-data.c:StreamingBufferHasData Unexecuted instantiation: detect-filemagic.c:StreamingBufferHasData Unexecuted instantiation: detect-filemd5.c:StreamingBufferHasData Unexecuted instantiation: detect-filename.c:StreamingBufferHasData Unexecuted instantiation: detect-filesha1.c:StreamingBufferHasData Unexecuted instantiation: detect-filesha256.c:StreamingBufferHasData Unexecuted instantiation: detect-filesize.c:StreamingBufferHasData Unexecuted instantiation: detect-filestore.c:StreamingBufferHasData Unexecuted instantiation: detect-flowbits.c:StreamingBufferHasData Unexecuted instantiation: detect-flow.c:StreamingBufferHasData Unexecuted instantiation: detect-flow-age.c:StreamingBufferHasData Unexecuted instantiation: detect-flowint.c:StreamingBufferHasData Unexecuted instantiation: detect-flowvar.c:StreamingBufferHasData Unexecuted instantiation: detect-fragbits.c:StreamingBufferHasData Unexecuted instantiation: detect-fragoffset.c:StreamingBufferHasData Unexecuted instantiation: detect-frame.c:StreamingBufferHasData Unexecuted instantiation: detect-ftpbounce.c:StreamingBufferHasData Unexecuted instantiation: detect-ftpdata.c:StreamingBufferHasData Unexecuted instantiation: detect-geoip.c:StreamingBufferHasData Unexecuted instantiation: detect-gid.c:StreamingBufferHasData Unexecuted instantiation: detect-hostbits.c:StreamingBufferHasData Unexecuted instantiation: detect-http2.c:StreamingBufferHasData Unexecuted instantiation: detect-http-client-body.c:StreamingBufferHasData Unexecuted instantiation: detect-http-cookie.c:StreamingBufferHasData Unexecuted instantiation: detect-http-header.c:StreamingBufferHasData Unexecuted instantiation: detect-http-header-common.c:StreamingBufferHasData Unexecuted instantiation: detect-http-header-names.c:StreamingBufferHasData Unexecuted instantiation: detect-http-host.c:StreamingBufferHasData Unexecuted instantiation: detect-http-location.c:StreamingBufferHasData Unexecuted instantiation: detect-http-method.c:StreamingBufferHasData Unexecuted instantiation: detect-http-protocol.c:StreamingBufferHasData Unexecuted instantiation: detect-http-raw-header.c:StreamingBufferHasData Unexecuted instantiation: detect-http-referer.c:StreamingBufferHasData Unexecuted instantiation: detect-http-request-line.c:StreamingBufferHasData Unexecuted instantiation: detect-http-response-line.c:StreamingBufferHasData Unexecuted instantiation: detect-http-server-body.c:StreamingBufferHasData Unexecuted instantiation: detect-http-server.c:StreamingBufferHasData Unexecuted instantiation: detect-http-start.c:StreamingBufferHasData Unexecuted instantiation: detect-http-stat-code.c:StreamingBufferHasData Unexecuted instantiation: detect-http-stat-msg.c:StreamingBufferHasData Unexecuted instantiation: detect-http-ua.c:StreamingBufferHasData Unexecuted instantiation: detect-http-uri.c:StreamingBufferHasData Unexecuted instantiation: detect-icmp-id.c:StreamingBufferHasData Unexecuted instantiation: detect-icmp-seq.c:StreamingBufferHasData Unexecuted instantiation: detect-icmpv4hdr.c:StreamingBufferHasData Unexecuted instantiation: detect-icmpv6hdr.c:StreamingBufferHasData Unexecuted instantiation: detect-icmpv6-mtu.c:StreamingBufferHasData Unexecuted instantiation: detect-icode.c:StreamingBufferHasData Unexecuted instantiation: detect-id.c:StreamingBufferHasData Unexecuted instantiation: detect-ike-exch-type.c:StreamingBufferHasData Unexecuted instantiation: detect-ike-spi.c:StreamingBufferHasData Unexecuted instantiation: detect-ike-vendor.c:StreamingBufferHasData Unexecuted instantiation: detect-ike-chosen-sa.c:StreamingBufferHasData Unexecuted instantiation: detect-ike-key-exchange-payload-length.c:StreamingBufferHasData Unexecuted instantiation: detect-ike-nonce-payload-length.c:StreamingBufferHasData Unexecuted instantiation: detect-ike-nonce-payload.c:StreamingBufferHasData Unexecuted instantiation: detect-ike-key-exchange-payload.c:StreamingBufferHasData Unexecuted instantiation: detect-ipaddr.c:StreamingBufferHasData Unexecuted instantiation: detect-ipopts.c:StreamingBufferHasData Unexecuted instantiation: detect-ipproto.c:StreamingBufferHasData Unexecuted instantiation: detect-iprep.c:StreamingBufferHasData Unexecuted instantiation: detect-ipv4hdr.c:StreamingBufferHasData Unexecuted instantiation: detect-ipv6hdr.c:StreamingBufferHasData Unexecuted instantiation: detect-isdataat.c:StreamingBufferHasData Unexecuted instantiation: detect-itype.c:StreamingBufferHasData Unexecuted instantiation: detect-ja4-hash.c:StreamingBufferHasData Unexecuted instantiation: detect-krb5-cname.c:StreamingBufferHasData Unexecuted instantiation: detect-krb5-errcode.c:StreamingBufferHasData Unexecuted instantiation: detect-krb5-msgtype.c:StreamingBufferHasData Unexecuted instantiation: detect-krb5-sname.c:StreamingBufferHasData Unexecuted instantiation: detect-krb5-ticket-encryption.c:StreamingBufferHasData Unexecuted instantiation: detect-l3proto.c:StreamingBufferHasData Unexecuted instantiation: detect-lua.c:StreamingBufferHasData Unexecuted instantiation: detect-mark.c:StreamingBufferHasData Unexecuted instantiation: detect-metadata.c:StreamingBufferHasData Unexecuted instantiation: detect-modbus.c:StreamingBufferHasData Unexecuted instantiation: detect-quic-sni.c:StreamingBufferHasData Unexecuted instantiation: detect-quic-ua.c:StreamingBufferHasData Unexecuted instantiation: detect-quic-version.c:StreamingBufferHasData Unexecuted instantiation: detect-quic-cyu-hash.c:StreamingBufferHasData Unexecuted instantiation: detect-quic-cyu-string.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-connack-sessionpresent.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-connect-clientid.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-connect-flags.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-connect-password.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-connect-username.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-connect-willmessage.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-connect-willtopic.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-flags.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-protocol-version.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-publish-message.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-publish-topic.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-qos.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-reason-code.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-subscribe-topic.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-type.c:StreamingBufferHasData Unexecuted instantiation: detect-mqtt-unsubscribe-topic.c:StreamingBufferHasData Unexecuted instantiation: detect-msg.c:StreamingBufferHasData Unexecuted instantiation: detect-nfs-procedure.c:StreamingBufferHasData Unexecuted instantiation: detect-nfs-version.c:StreamingBufferHasData Unexecuted instantiation: detect-noalert.c:StreamingBufferHasData Unexecuted instantiation: detect-nocase.c:StreamingBufferHasData Unexecuted instantiation: detect-offset.c:StreamingBufferHasData Unexecuted instantiation: detect-parse.c:StreamingBufferHasData Unexecuted instantiation: detect-pcre.c:StreamingBufferHasData Unexecuted instantiation: detect-pkt-data.c:StreamingBufferHasData Unexecuted instantiation: detect-pktvar.c:StreamingBufferHasData Unexecuted instantiation: detect-prefilter.c:StreamingBufferHasData Unexecuted instantiation: detect-priority.c:StreamingBufferHasData Unexecuted instantiation: detect-rawbytes.c:StreamingBufferHasData Unexecuted instantiation: detect-reference.c:StreamingBufferHasData Unexecuted instantiation: detect-replace.c:StreamingBufferHasData Unexecuted instantiation: detect-requires.c:StreamingBufferHasData Unexecuted instantiation: detect-rev.c:StreamingBufferHasData Unexecuted instantiation: detect-rfb-name.c:StreamingBufferHasData Unexecuted instantiation: detect-rfb-secresult.c:StreamingBufferHasData Unexecuted instantiation: detect-rfb-sectype.c:StreamingBufferHasData Unexecuted instantiation: detect-rpc.c:StreamingBufferHasData Unexecuted instantiation: detect-sameip.c:StreamingBufferHasData Unexecuted instantiation: detect-sid.c:StreamingBufferHasData Unexecuted instantiation: detect-sip-method.c:StreamingBufferHasData Unexecuted instantiation: detect-sip-protocol.c:StreamingBufferHasData Unexecuted instantiation: detect-sip-request-line.c:StreamingBufferHasData Unexecuted instantiation: detect-sip-response-line.c:StreamingBufferHasData Unexecuted instantiation: detect-sip-stat-code.c:StreamingBufferHasData Unexecuted instantiation: detect-sip-stat-msg.c:StreamingBufferHasData Unexecuted instantiation: detect-sip-uri.c:StreamingBufferHasData Unexecuted instantiation: detect-smb-ntlmssp.c:StreamingBufferHasData Unexecuted instantiation: detect-smb-share.c:StreamingBufferHasData Unexecuted instantiation: detect-snmp-community.c:StreamingBufferHasData Unexecuted instantiation: detect-snmp-pdu_type.c:StreamingBufferHasData Unexecuted instantiation: detect-snmp-usm.c:StreamingBufferHasData Unexecuted instantiation: detect-snmp-version.c:StreamingBufferHasData Unexecuted instantiation: detect-dhcp-leasetime.c:StreamingBufferHasData Unexecuted instantiation: detect-dhcp-rebinding-time.c:StreamingBufferHasData Unexecuted instantiation: detect-dhcp-renewal-time.c:StreamingBufferHasData Unexecuted instantiation: detect-ssh-hassh.c:StreamingBufferHasData Unexecuted instantiation: detect-ssh-hassh-server.c:StreamingBufferHasData Unexecuted instantiation: detect-ssh-hassh-server-string.c:StreamingBufferHasData Unexecuted instantiation: detect-ssh-hassh-string.c:StreamingBufferHasData Unexecuted instantiation: detect-ssh-proto.c:StreamingBufferHasData Unexecuted instantiation: detect-ssh-proto-version.c:StreamingBufferHasData Unexecuted instantiation: detect-ssh-software.c:StreamingBufferHasData Unexecuted instantiation: detect-ssh-software-version.c:StreamingBufferHasData Unexecuted instantiation: detect-ssl-state.c:StreamingBufferHasData Unexecuted instantiation: detect-ssl-version.c:StreamingBufferHasData Unexecuted instantiation: detect-stream_size.c:StreamingBufferHasData Unexecuted instantiation: detect-tag.c:StreamingBufferHasData Unexecuted instantiation: detect-target.c:StreamingBufferHasData Unexecuted instantiation: detect-tcp-ack.c:StreamingBufferHasData Unexecuted instantiation: detect-tcp-flags.c:StreamingBufferHasData Unexecuted instantiation: detect-tcphdr.c:StreamingBufferHasData Unexecuted instantiation: detect-tcpmss.c:StreamingBufferHasData Unexecuted instantiation: detect-tcp-seq.c:StreamingBufferHasData Unexecuted instantiation: detect-tcp-window.c:StreamingBufferHasData Unexecuted instantiation: detect-template2.c:StreamingBufferHasData Unexecuted instantiation: detect-template.c:StreamingBufferHasData Unexecuted instantiation: detect-template-rust-buffer.c:StreamingBufferHasData Unexecuted instantiation: detect-threshold.c:StreamingBufferHasData Unexecuted instantiation: detect-tls.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-cert-fingerprint.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-cert-issuer.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-certs.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-cert-serial.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-cert-subject.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-cert-validity.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-ja3-hash.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-ja3s-hash.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-ja3s-string.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-ja3-string.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-sni.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-version.c:StreamingBufferHasData Unexecuted instantiation: detect-tls-random.c:StreamingBufferHasData Unexecuted instantiation: detect-tos.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-casechange.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-compress-whitespace.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-dotprefix.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-header-lowercase.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-md5.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-pcrexform.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-sha1.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-sha256.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-strip-pseudo-headers.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-strip-whitespace.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-urldecode.c:StreamingBufferHasData Unexecuted instantiation: detect-transform-xor.c:StreamingBufferHasData Unexecuted instantiation: detect-ttl.c:StreamingBufferHasData Unexecuted instantiation: detect-udphdr.c:StreamingBufferHasData Unexecuted instantiation: detect-uricontent.c:StreamingBufferHasData Unexecuted instantiation: detect-urilen.c:StreamingBufferHasData Unexecuted instantiation: detect-within.c:StreamingBufferHasData Unexecuted instantiation: detect-xbits.c:StreamingBufferHasData Unexecuted instantiation: flow-bit.c:StreamingBufferHasData Unexecuted instantiation: flow-var.c:StreamingBufferHasData Unexecuted instantiation: flow-worker.c:StreamingBufferHasData Unexecuted instantiation: host-bit.c:StreamingBufferHasData Unexecuted instantiation: host.c:StreamingBufferHasData Unexecuted instantiation: ippair-bit.c:StreamingBufferHasData Unexecuted instantiation: ippair.c:StreamingBufferHasData Unexecuted instantiation: output.c:StreamingBufferHasData Unexecuted instantiation: output-eve-stream.c:StreamingBufferHasData Unexecuted instantiation: output-filestore.c:StreamingBufferHasData Unexecuted instantiation: output-json-alert.c:StreamingBufferHasData Unexecuted instantiation: output-json-anomaly.c:StreamingBufferHasData Unexecuted instantiation: output-json-bittorrent-dht.c:StreamingBufferHasData Unexecuted instantiation: output-json.c:StreamingBufferHasData Unexecuted instantiation: output-json-common.c:StreamingBufferHasData Unexecuted instantiation: output-json-dcerpc.c:StreamingBufferHasData Unexecuted instantiation: output-json-dhcp.c:StreamingBufferHasData Unexecuted instantiation: output-json-dnp3.c:StreamingBufferHasData Unexecuted instantiation: output-json-dnp3-objects.c:StreamingBufferHasData Unexecuted instantiation: output-json-dns.c:StreamingBufferHasData Unexecuted instantiation: output-json-drop.c:StreamingBufferHasData Unexecuted instantiation: output-json-email-common.c:StreamingBufferHasData Unexecuted instantiation: output-json-file.c:StreamingBufferHasData Unexecuted instantiation: output-json-flow.c:StreamingBufferHasData Unexecuted instantiation: output-json-frame.c:StreamingBufferHasData Unexecuted instantiation: output-json-ftp.c:StreamingBufferHasData Unexecuted instantiation: output-json-http2.c:StreamingBufferHasData Unexecuted instantiation: output-json-http.c:StreamingBufferHasData Unexecuted instantiation: output-json-ike.c:StreamingBufferHasData Unexecuted instantiation: output-json-krb5.c:StreamingBufferHasData Unexecuted instantiation: output-json-metadata.c:StreamingBufferHasData Unexecuted instantiation: output-json-modbus.c:StreamingBufferHasData Unexecuted instantiation: output-json-quic.c:StreamingBufferHasData Unexecuted instantiation: output-json-mqtt.c:StreamingBufferHasData Unexecuted instantiation: output-json-netflow.c:StreamingBufferHasData Unexecuted instantiation: output-json-nfs.c:StreamingBufferHasData Unexecuted instantiation: output-json-pgsql.c:StreamingBufferHasData Unexecuted instantiation: output-json-rdp.c:StreamingBufferHasData Unexecuted instantiation: output-json-rfb.c:StreamingBufferHasData Unexecuted instantiation: output-json-sip.c:StreamingBufferHasData Unexecuted instantiation: output-json-smb.c:StreamingBufferHasData Unexecuted instantiation: output-json-smtp.c:StreamingBufferHasData Unexecuted instantiation: output-json-snmp.c:StreamingBufferHasData Unexecuted instantiation: output-json-ssh.c:StreamingBufferHasData Unexecuted instantiation: output-json-stats.c:StreamingBufferHasData Unexecuted instantiation: output-json-template.c:StreamingBufferHasData Unexecuted instantiation: output-json-tftp.c:StreamingBufferHasData Unexecuted instantiation: output-json-tls.c:StreamingBufferHasData Unexecuted instantiation: output-eve-syslog.c:StreamingBufferHasData Unexecuted instantiation: output-packet.c:StreamingBufferHasData Unexecuted instantiation: output-stats.c:StreamingBufferHasData Unexecuted instantiation: output-streaming.c:StreamingBufferHasData Unexecuted instantiation: output-tx.c:StreamingBufferHasData Unexecuted instantiation: runmode-af-packet.c:StreamingBufferHasData Unexecuted instantiation: runmode-af-xdp.c:StreamingBufferHasData Unexecuted instantiation: runmode-erf-dag.c:StreamingBufferHasData Unexecuted instantiation: runmode-erf-file.c:StreamingBufferHasData Unexecuted instantiation: runmode-ipfw.c:StreamingBufferHasData Unexecuted instantiation: runmode-napatech.c:StreamingBufferHasData Unexecuted instantiation: runmode-nfq.c:StreamingBufferHasData Unexecuted instantiation: runmode-pcap.c:StreamingBufferHasData Unexecuted instantiation: runmode-pcap-file.c:StreamingBufferHasData Unexecuted instantiation: rust-context.c:StreamingBufferHasData Unexecuted instantiation: source-pcap-file-helper.c:StreamingBufferHasData Unexecuted instantiation: source-pfring.c:StreamingBufferHasData Unexecuted instantiation: stream-tcp-inline.c:StreamingBufferHasData Unexecuted instantiation: util-action.c:StreamingBufferHasData Unexecuted instantiation: util-classification-config.c:StreamingBufferHasData Unexecuted instantiation: util-detect.c:StreamingBufferHasData Unexecuted instantiation: util-file-decompression.c:StreamingBufferHasData Unexecuted instantiation: util-file-swf-decompression.c:StreamingBufferHasData Unexecuted instantiation: util-logopenfile.c:StreamingBufferHasData Unexecuted instantiation: util-mpm-ac-bs.c:StreamingBufferHasData Unexecuted instantiation: util-mpm-ac.c:StreamingBufferHasData Unexecuted instantiation: util-mpm-ac-ks.c:StreamingBufferHasData Unexecuted instantiation: util-reference-config.c:StreamingBufferHasData Unexecuted instantiation: util-rule-vars.c:StreamingBufferHasData Unexecuted instantiation: util-runmodes.c:StreamingBufferHasData Unexecuted instantiation: util-port-interval-tree.c:StreamingBufferHasData Unexecuted instantiation: alert-debuglog.c:StreamingBufferHasData Unexecuted instantiation: alert-fastlog.c:StreamingBufferHasData Unexecuted instantiation: alert-syslog.c:StreamingBufferHasData Unexecuted instantiation: app-layer-htp-body.c:StreamingBufferHasData Unexecuted instantiation: app-layer-htp-xff.c:StreamingBufferHasData Unexecuted instantiation: app-layer-register.c:StreamingBufferHasData Unexecuted instantiation: detect-app-layer-event.c:StreamingBufferHasData Unexecuted instantiation: detect-app-layer-protocol.c:StreamingBufferHasData Unexecuted instantiation: detect-asn1.c:StreamingBufferHasData Unexecuted instantiation: detect-base64-data.c:StreamingBufferHasData Unexecuted instantiation: detect-base64-decode.c:StreamingBufferHasData Unexecuted instantiation: detect-bsize.c:StreamingBufferHasData Unexecuted instantiation: detect-bypass.c:StreamingBufferHasData Unexecuted instantiation: detect-byte.c:StreamingBufferHasData Unexecuted instantiation: detect-byte-extract.c:StreamingBufferHasData Unexecuted instantiation: detect-bytejump.c:StreamingBufferHasData Unexecuted instantiation: detect-bytemath.c:StreamingBufferHasData Unexecuted instantiation: detect-bytetest.c:StreamingBufferHasData Unexecuted instantiation: detect.c:StreamingBufferHasData Unexecuted instantiation: detect-cipservice.c:StreamingBufferHasData Unexecuted instantiation: detect-classtype.c:StreamingBufferHasData Unexecuted instantiation: detect-config.c:StreamingBufferHasData Unexecuted instantiation: detect-csum.c:StreamingBufferHasData Unexecuted instantiation: detect-datarep.c:StreamingBufferHasData Unexecuted instantiation: detect-dataset.c:StreamingBufferHasData Unexecuted instantiation: detect-dce-iface.c:StreamingBufferHasData Unexecuted instantiation: detect-dce-opnum.c:StreamingBufferHasData Unexecuted instantiation: detect-dce-stub-data.c:StreamingBufferHasData Unexecuted instantiation: detect-depth.c:StreamingBufferHasData Unexecuted instantiation: detect-detection-filter.c:StreamingBufferHasData Unexecuted instantiation: detect-distance.c:StreamingBufferHasData Unexecuted instantiation: detect-dnp3.c:StreamingBufferHasData Unexecuted instantiation: detect-dns-opcode.c:StreamingBufferHasData Unexecuted instantiation: detect-dns-query.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-analyzer.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-enip.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-event.c:StreamingBufferHasData Unexecuted instantiation: detect-engine-file.c:StreamingBufferHasData Unexecuted instantiation: detect-file-hash-common.c:StreamingBufferHasData Unexecuted instantiation: detect-http-accept.c:StreamingBufferHasData Unexecuted instantiation: detect-http-accept-enc.c:StreamingBufferHasData Unexecuted instantiation: detect-http-accept-lang.c:StreamingBufferHasData Unexecuted instantiation: detect-http-connection.c:StreamingBufferHasData Unexecuted instantiation: detect-http-content-len.c:StreamingBufferHasData Unexecuted instantiation: detect-http-content-type.c:StreamingBufferHasData Unexecuted instantiation: log-httplog.c:StreamingBufferHasData Unexecuted instantiation: log-pcap.c:StreamingBufferHasData Unexecuted instantiation: log-stats.c:StreamingBufferHasData Unexecuted instantiation: log-tcp-data.c:StreamingBufferHasData Unexecuted instantiation: log-tlslog.c:StreamingBufferHasData Unexecuted instantiation: log-tlsstore.c:StreamingBufferHasData Unexecuted instantiation: stream.c:StreamingBufferHasData Unexecuted instantiation: fuzz_sigpcap_aware.c:StreamingBufferHasData Unexecuted instantiation: util-unittest-helper.c:StreamingBufferHasData Unexecuted instantiation: fuzz_mimedecparseline.c:StreamingBufferHasData Unexecuted instantiation: fuzz_siginit.c:StreamingBufferHasData Unexecuted instantiation: fuzz_sigpcap.c:StreamingBufferHasData Unexecuted instantiation: fuzz_applayerprotodetectgetproto.c:StreamingBufferHasData Unexecuted instantiation: fuzz_predefpcap_aware.c:StreamingBufferHasData |
126 | | |
127 | | static inline uint64_t StreamingBufferGetConsecutiveDataRightEdge(const StreamingBuffer *sb) |
128 | 89.6M | { |
129 | 89.6M | return sb->region.stream_offset + sb->region.buf_offset; |
130 | 89.6M | } Unexecuted instantiation: fuzz_applayerparserparse.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-parser.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-rdp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-rfb.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-sip.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-smb.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-smtp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-snmp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-ssh.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-ssl.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-tftp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-state.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow-hash.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow-manager.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow-queue.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow-spare-pool.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow-storage.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow-timeout.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow-util.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: host-timeout.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: ippair-timeout.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-file.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-filedata.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-flow.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: packet.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: reputation.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmodes.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-unix-socket.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-windivert.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: stream-tcp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: stream-tcp-cache.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: stream-tcp-list.c:StreamingBufferGetConsecutiveDataRightEdge stream-tcp-reassemble.c:StreamingBufferGetConsecutiveDataRightEdge Line | Count | Source | 128 | 5.45M | { | 129 | 5.45M | return sb->region.stream_offset + sb->region.buf_offset; | 130 | 5.45M | } |
Unexecuted instantiation: stream-tcp-sack.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: suricata.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: tmqh-packetpool.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: tm-threads.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: unix-manager.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-debug.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-decode-mime.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-exception-policy.c:StreamingBufferGetConsecutiveDataRightEdge util-file.c:StreamingBufferGetConsecutiveDataRightEdge Line | Count | Source | 128 | 84.2M | { | 129 | 84.2M | return sb->region.stream_offset + sb->region.buf_offset; | 130 | 84.2M | } |
Unexecuted instantiation: util-host-os-info.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-ja3.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-landlock.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-macset.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-mpm.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-print.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-running-modes.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-streaming-buffer.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-threshold-config.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-time.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-var.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-var-name.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-detect-proto.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-dnp3.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-dnp3-objects.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-enip.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-enip-common.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-events.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-ftp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-frames.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-htp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-htp-file.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-htp-range.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-http2.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-ike.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-krb5.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-modbus.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-quic.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-mqtt.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-nfs-tcp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-nfs-udp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-ntp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: counters.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: datasets-string.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: decode.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: decode-geneve.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: decode-teredo.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: decode-udp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: decode-vxlan.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: defrag.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-content.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dsize.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-address.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-address-ipv4.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-address-ipv6.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-alert.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-build.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-content-inspection.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-frame.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-iponly.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-loader.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-mpm.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-payload.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-port.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-prefilter.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-prefilter-common.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-proto.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-register.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-siggroup.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-sigorder.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-tag.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-threshold.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-uint.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-fast-pattern.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-file-data.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-filemagic.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-filemd5.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-filename.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-filesha1.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-filesha256.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-filesize.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-filestore.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-flowbits.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-flow.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-flow-age.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-flowint.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-flowvar.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-fragbits.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-fragoffset.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-frame.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ftpbounce.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ftpdata.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-geoip.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-gid.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-hostbits.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http2.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-client-body.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-cookie.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-header.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-header-common.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-header-names.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-host.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-location.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-method.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-protocol.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-raw-header.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-referer.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-request-line.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-response-line.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-server-body.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-server.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-start.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-stat-code.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-stat-msg.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-ua.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-uri.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-icmp-id.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-icmp-seq.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-icmpv4hdr.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-icmpv6hdr.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-icmpv6-mtu.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-icode.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-id.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ike-exch-type.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ike-spi.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ike-vendor.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ike-chosen-sa.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ike-key-exchange-payload-length.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ike-nonce-payload-length.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ike-nonce-payload.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ike-key-exchange-payload.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ipaddr.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ipopts.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ipproto.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-iprep.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ipv4hdr.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ipv6hdr.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-isdataat.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-itype.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ja4-hash.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-krb5-cname.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-krb5-errcode.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-krb5-msgtype.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-krb5-sname.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-krb5-ticket-encryption.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-l3proto.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-lua.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mark.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-metadata.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-modbus.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-quic-sni.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-quic-ua.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-quic-version.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-quic-cyu-hash.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-quic-cyu-string.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-connack-sessionpresent.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-connect-clientid.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-connect-flags.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-connect-password.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-connect-username.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-connect-willmessage.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-connect-willtopic.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-flags.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-protocol-version.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-publish-message.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-publish-topic.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-qos.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-reason-code.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-subscribe-topic.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-type.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-mqtt-unsubscribe-topic.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-msg.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-nfs-procedure.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-nfs-version.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-noalert.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-nocase.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-offset.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-parse.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-pcre.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-pkt-data.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-pktvar.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-prefilter.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-priority.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-rawbytes.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-reference.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-replace.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-requires.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-rev.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-rfb-name.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-rfb-secresult.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-rfb-sectype.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-rpc.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-sameip.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-sid.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-sip-method.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-sip-protocol.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-sip-request-line.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-sip-response-line.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-sip-stat-code.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-sip-stat-msg.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-sip-uri.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-smb-ntlmssp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-smb-share.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-snmp-community.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-snmp-pdu_type.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-snmp-usm.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-snmp-version.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dhcp-leasetime.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dhcp-rebinding-time.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dhcp-renewal-time.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ssh-hassh.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ssh-hassh-server.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ssh-hassh-server-string.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ssh-hassh-string.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ssh-proto.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ssh-proto-version.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ssh-software.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ssh-software-version.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ssl-state.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ssl-version.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-stream_size.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tag.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-target.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tcp-ack.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tcp-flags.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tcphdr.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tcpmss.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tcp-seq.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tcp-window.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-template2.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-template.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-template-rust-buffer.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-threshold.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-cert-fingerprint.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-cert-issuer.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-certs.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-cert-serial.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-cert-subject.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-cert-validity.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-ja3-hash.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-ja3s-hash.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-ja3s-string.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-ja3-string.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-sni.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-version.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tls-random.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-tos.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-casechange.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-compress-whitespace.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-dotprefix.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-header-lowercase.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-md5.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-pcrexform.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-sha1.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-sha256.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-strip-pseudo-headers.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-strip-whitespace.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-urldecode.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-transform-xor.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-ttl.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-udphdr.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-uricontent.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-urilen.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-within.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-xbits.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow-bit.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow-var.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: flow-worker.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: host-bit.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: host.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: ippair-bit.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: ippair.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-eve-stream.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-filestore.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-alert.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-anomaly.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-bittorrent-dht.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-common.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-dcerpc.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-dhcp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-dnp3.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-dnp3-objects.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-dns.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-drop.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-email-common.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-file.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-flow.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-frame.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-ftp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-http2.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-http.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-ike.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-krb5.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-metadata.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-modbus.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-quic.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-mqtt.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-netflow.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-nfs.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-pgsql.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-rdp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-rfb.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-sip.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-smb.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-smtp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-snmp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-ssh.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-stats.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-template.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-tftp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-json-tls.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-eve-syslog.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-packet.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-stats.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-streaming.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: output-tx.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-af-packet.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-af-xdp.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-erf-dag.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-erf-file.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-ipfw.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-napatech.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-nfq.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-pcap.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: runmode-pcap-file.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: rust-context.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: source-pcap-file-helper.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: source-pfring.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: stream-tcp-inline.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-action.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-classification-config.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-detect.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-file-decompression.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-file-swf-decompression.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-logopenfile.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-mpm-ac-bs.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-mpm-ac.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-mpm-ac-ks.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-reference-config.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-rule-vars.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-runmodes.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-port-interval-tree.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: alert-debuglog.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: alert-fastlog.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: alert-syslog.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-htp-body.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-htp-xff.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: app-layer-register.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-app-layer-event.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-app-layer-protocol.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-asn1.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-base64-data.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-base64-decode.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-bsize.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-bypass.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-byte.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-byte-extract.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-bytejump.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-bytemath.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-bytetest.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-cipservice.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-classtype.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-config.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-csum.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-datarep.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dataset.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dce-iface.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dce-opnum.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dce-stub-data.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-depth.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-detection-filter.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-distance.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dnp3.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dns-opcode.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-dns-query.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-analyzer.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-enip.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-event.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-engine-file.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-file-hash-common.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-accept.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-accept-enc.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-accept-lang.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-connection.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-content-len.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: detect-http-content-type.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: log-httplog.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: log-pcap.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: log-stats.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: log-tcp-data.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: log-tlslog.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: log-tlsstore.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: stream.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: fuzz_sigpcap_aware.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: util-unittest-helper.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: fuzz_mimedecparseline.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: fuzz_siginit.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: fuzz_sigpcap.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: fuzz_applayerprotodetectgetproto.c:StreamingBufferGetConsecutiveDataRightEdge Unexecuted instantiation: fuzz_predefpcap_aware.c:StreamingBufferGetConsecutiveDataRightEdge |
131 | | |
132 | | static inline uint64_t StreamingBufferGetOffset(const StreamingBuffer *sb) |
133 | 40.9M | { |
134 | 40.9M | return sb->region.stream_offset; |
135 | 40.9M | } Unexecuted instantiation: fuzz_applayerparserparse.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-parser.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-rdp.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-rfb.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-sip.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-smb.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-smtp.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-snmp.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-ssh.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-ssl.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-tftp.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-state.c:StreamingBufferGetOffset Unexecuted instantiation: flow.c:StreamingBufferGetOffset Unexecuted instantiation: flow-hash.c:StreamingBufferGetOffset Unexecuted instantiation: flow-manager.c:StreamingBufferGetOffset Unexecuted instantiation: flow-queue.c:StreamingBufferGetOffset Unexecuted instantiation: flow-spare-pool.c:StreamingBufferGetOffset Unexecuted instantiation: flow-storage.c:StreamingBufferGetOffset Unexecuted instantiation: flow-timeout.c:StreamingBufferGetOffset Unexecuted instantiation: flow-util.c:StreamingBufferGetOffset Unexecuted instantiation: host-timeout.c:StreamingBufferGetOffset Unexecuted instantiation: ippair-timeout.c:StreamingBufferGetOffset Unexecuted instantiation: output-file.c:StreamingBufferGetOffset Unexecuted instantiation: output-filedata.c:StreamingBufferGetOffset Unexecuted instantiation: output-flow.c:StreamingBufferGetOffset Unexecuted instantiation: packet.c:StreamingBufferGetOffset Unexecuted instantiation: reputation.c:StreamingBufferGetOffset Unexecuted instantiation: runmodes.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-unix-socket.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-windivert.c:StreamingBufferGetOffset Unexecuted instantiation: stream-tcp.c:StreamingBufferGetOffset Unexecuted instantiation: stream-tcp-cache.c:StreamingBufferGetOffset Unexecuted instantiation: stream-tcp-list.c:StreamingBufferGetOffset Unexecuted instantiation: stream-tcp-reassemble.c:StreamingBufferGetOffset Unexecuted instantiation: stream-tcp-sack.c:StreamingBufferGetOffset Unexecuted instantiation: suricata.c:StreamingBufferGetOffset Unexecuted instantiation: tmqh-packetpool.c:StreamingBufferGetOffset Unexecuted instantiation: tm-threads.c:StreamingBufferGetOffset Unexecuted instantiation: unix-manager.c:StreamingBufferGetOffset Unexecuted instantiation: util-debug.c:StreamingBufferGetOffset Unexecuted instantiation: util-decode-mime.c:StreamingBufferGetOffset Unexecuted instantiation: util-exception-policy.c:StreamingBufferGetOffset util-file.c:StreamingBufferGetOffset Line | Count | Source | 133 | 40.9M | { | 134 | 40.9M | return sb->region.stream_offset; | 135 | 40.9M | } |
Unexecuted instantiation: util-host-os-info.c:StreamingBufferGetOffset Unexecuted instantiation: util-ja3.c:StreamingBufferGetOffset Unexecuted instantiation: util-landlock.c:StreamingBufferGetOffset Unexecuted instantiation: util-macset.c:StreamingBufferGetOffset Unexecuted instantiation: util-mpm.c:StreamingBufferGetOffset Unexecuted instantiation: util-print.c:StreamingBufferGetOffset Unexecuted instantiation: util-running-modes.c:StreamingBufferGetOffset Unexecuted instantiation: util-streaming-buffer.c:StreamingBufferGetOffset Unexecuted instantiation: util-threshold-config.c:StreamingBufferGetOffset Unexecuted instantiation: util-time.c:StreamingBufferGetOffset Unexecuted instantiation: util-var.c:StreamingBufferGetOffset Unexecuted instantiation: util-var-name.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-detect-proto.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-dnp3.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-dnp3-objects.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-enip.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-enip-common.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-events.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-ftp.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-frames.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-htp.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-htp-file.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-htp-range.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-http2.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-ike.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-krb5.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-modbus.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-quic.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-mqtt.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-nfs-tcp.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-nfs-udp.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-ntp.c:StreamingBufferGetOffset Unexecuted instantiation: counters.c:StreamingBufferGetOffset Unexecuted instantiation: datasets-string.c:StreamingBufferGetOffset Unexecuted instantiation: decode.c:StreamingBufferGetOffset Unexecuted instantiation: decode-geneve.c:StreamingBufferGetOffset Unexecuted instantiation: decode-teredo.c:StreamingBufferGetOffset Unexecuted instantiation: decode-udp.c:StreamingBufferGetOffset Unexecuted instantiation: decode-vxlan.c:StreamingBufferGetOffset Unexecuted instantiation: defrag.c:StreamingBufferGetOffset Unexecuted instantiation: detect-content.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dsize.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-address.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-address-ipv4.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-address-ipv6.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-alert.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-build.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-content-inspection.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-frame.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-iponly.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-loader.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-mpm.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-payload.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-port.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-prefilter.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-prefilter-common.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-proto.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-register.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-siggroup.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-sigorder.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-tag.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-threshold.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-uint.c:StreamingBufferGetOffset Unexecuted instantiation: detect-fast-pattern.c:StreamingBufferGetOffset Unexecuted instantiation: detect-file-data.c:StreamingBufferGetOffset Unexecuted instantiation: detect-filemagic.c:StreamingBufferGetOffset Unexecuted instantiation: detect-filemd5.c:StreamingBufferGetOffset Unexecuted instantiation: detect-filename.c:StreamingBufferGetOffset Unexecuted instantiation: detect-filesha1.c:StreamingBufferGetOffset Unexecuted instantiation: detect-filesha256.c:StreamingBufferGetOffset Unexecuted instantiation: detect-filesize.c:StreamingBufferGetOffset Unexecuted instantiation: detect-filestore.c:StreamingBufferGetOffset Unexecuted instantiation: detect-flowbits.c:StreamingBufferGetOffset Unexecuted instantiation: detect-flow.c:StreamingBufferGetOffset Unexecuted instantiation: detect-flow-age.c:StreamingBufferGetOffset Unexecuted instantiation: detect-flowint.c:StreamingBufferGetOffset Unexecuted instantiation: detect-flowvar.c:StreamingBufferGetOffset Unexecuted instantiation: detect-fragbits.c:StreamingBufferGetOffset Unexecuted instantiation: detect-fragoffset.c:StreamingBufferGetOffset Unexecuted instantiation: detect-frame.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ftpbounce.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ftpdata.c:StreamingBufferGetOffset Unexecuted instantiation: detect-geoip.c:StreamingBufferGetOffset Unexecuted instantiation: detect-gid.c:StreamingBufferGetOffset Unexecuted instantiation: detect-hostbits.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http2.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-client-body.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-cookie.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-header.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-header-common.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-header-names.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-host.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-location.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-method.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-protocol.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-raw-header.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-referer.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-request-line.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-response-line.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-server-body.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-server.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-start.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-stat-code.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-stat-msg.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-ua.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-uri.c:StreamingBufferGetOffset Unexecuted instantiation: detect-icmp-id.c:StreamingBufferGetOffset Unexecuted instantiation: detect-icmp-seq.c:StreamingBufferGetOffset Unexecuted instantiation: detect-icmpv4hdr.c:StreamingBufferGetOffset Unexecuted instantiation: detect-icmpv6hdr.c:StreamingBufferGetOffset Unexecuted instantiation: detect-icmpv6-mtu.c:StreamingBufferGetOffset Unexecuted instantiation: detect-icode.c:StreamingBufferGetOffset Unexecuted instantiation: detect-id.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ike-exch-type.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ike-spi.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ike-vendor.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ike-chosen-sa.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ike-key-exchange-payload-length.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ike-nonce-payload-length.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ike-nonce-payload.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ike-key-exchange-payload.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ipaddr.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ipopts.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ipproto.c:StreamingBufferGetOffset Unexecuted instantiation: detect-iprep.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ipv4hdr.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ipv6hdr.c:StreamingBufferGetOffset Unexecuted instantiation: detect-isdataat.c:StreamingBufferGetOffset Unexecuted instantiation: detect-itype.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ja4-hash.c:StreamingBufferGetOffset Unexecuted instantiation: detect-krb5-cname.c:StreamingBufferGetOffset Unexecuted instantiation: detect-krb5-errcode.c:StreamingBufferGetOffset Unexecuted instantiation: detect-krb5-msgtype.c:StreamingBufferGetOffset Unexecuted instantiation: detect-krb5-sname.c:StreamingBufferGetOffset Unexecuted instantiation: detect-krb5-ticket-encryption.c:StreamingBufferGetOffset Unexecuted instantiation: detect-l3proto.c:StreamingBufferGetOffset Unexecuted instantiation: detect-lua.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mark.c:StreamingBufferGetOffset Unexecuted instantiation: detect-metadata.c:StreamingBufferGetOffset Unexecuted instantiation: detect-modbus.c:StreamingBufferGetOffset Unexecuted instantiation: detect-quic-sni.c:StreamingBufferGetOffset Unexecuted instantiation: detect-quic-ua.c:StreamingBufferGetOffset Unexecuted instantiation: detect-quic-version.c:StreamingBufferGetOffset Unexecuted instantiation: detect-quic-cyu-hash.c:StreamingBufferGetOffset Unexecuted instantiation: detect-quic-cyu-string.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-connack-sessionpresent.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-connect-clientid.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-connect-flags.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-connect-password.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-connect-username.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-connect-willmessage.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-connect-willtopic.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-flags.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-protocol-version.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-publish-message.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-publish-topic.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-qos.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-reason-code.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-subscribe-topic.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-type.c:StreamingBufferGetOffset Unexecuted instantiation: detect-mqtt-unsubscribe-topic.c:StreamingBufferGetOffset Unexecuted instantiation: detect-msg.c:StreamingBufferGetOffset Unexecuted instantiation: detect-nfs-procedure.c:StreamingBufferGetOffset Unexecuted instantiation: detect-nfs-version.c:StreamingBufferGetOffset Unexecuted instantiation: detect-noalert.c:StreamingBufferGetOffset Unexecuted instantiation: detect-nocase.c:StreamingBufferGetOffset Unexecuted instantiation: detect-offset.c:StreamingBufferGetOffset Unexecuted instantiation: detect-parse.c:StreamingBufferGetOffset Unexecuted instantiation: detect-pcre.c:StreamingBufferGetOffset Unexecuted instantiation: detect-pkt-data.c:StreamingBufferGetOffset Unexecuted instantiation: detect-pktvar.c:StreamingBufferGetOffset Unexecuted instantiation: detect-prefilter.c:StreamingBufferGetOffset Unexecuted instantiation: detect-priority.c:StreamingBufferGetOffset Unexecuted instantiation: detect-rawbytes.c:StreamingBufferGetOffset Unexecuted instantiation: detect-reference.c:StreamingBufferGetOffset Unexecuted instantiation: detect-replace.c:StreamingBufferGetOffset Unexecuted instantiation: detect-requires.c:StreamingBufferGetOffset Unexecuted instantiation: detect-rev.c:StreamingBufferGetOffset Unexecuted instantiation: detect-rfb-name.c:StreamingBufferGetOffset Unexecuted instantiation: detect-rfb-secresult.c:StreamingBufferGetOffset Unexecuted instantiation: detect-rfb-sectype.c:StreamingBufferGetOffset Unexecuted instantiation: detect-rpc.c:StreamingBufferGetOffset Unexecuted instantiation: detect-sameip.c:StreamingBufferGetOffset Unexecuted instantiation: detect-sid.c:StreamingBufferGetOffset Unexecuted instantiation: detect-sip-method.c:StreamingBufferGetOffset Unexecuted instantiation: detect-sip-protocol.c:StreamingBufferGetOffset Unexecuted instantiation: detect-sip-request-line.c:StreamingBufferGetOffset Unexecuted instantiation: detect-sip-response-line.c:StreamingBufferGetOffset Unexecuted instantiation: detect-sip-stat-code.c:StreamingBufferGetOffset Unexecuted instantiation: detect-sip-stat-msg.c:StreamingBufferGetOffset Unexecuted instantiation: detect-sip-uri.c:StreamingBufferGetOffset Unexecuted instantiation: detect-smb-ntlmssp.c:StreamingBufferGetOffset Unexecuted instantiation: detect-smb-share.c:StreamingBufferGetOffset Unexecuted instantiation: detect-snmp-community.c:StreamingBufferGetOffset Unexecuted instantiation: detect-snmp-pdu_type.c:StreamingBufferGetOffset Unexecuted instantiation: detect-snmp-usm.c:StreamingBufferGetOffset Unexecuted instantiation: detect-snmp-version.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dhcp-leasetime.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dhcp-rebinding-time.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dhcp-renewal-time.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ssh-hassh.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ssh-hassh-server.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ssh-hassh-server-string.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ssh-hassh-string.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ssh-proto.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ssh-proto-version.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ssh-software.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ssh-software-version.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ssl-state.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ssl-version.c:StreamingBufferGetOffset Unexecuted instantiation: detect-stream_size.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tag.c:StreamingBufferGetOffset Unexecuted instantiation: detect-target.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tcp-ack.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tcp-flags.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tcphdr.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tcpmss.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tcp-seq.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tcp-window.c:StreamingBufferGetOffset Unexecuted instantiation: detect-template2.c:StreamingBufferGetOffset Unexecuted instantiation: detect-template.c:StreamingBufferGetOffset Unexecuted instantiation: detect-template-rust-buffer.c:StreamingBufferGetOffset Unexecuted instantiation: detect-threshold.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-cert-fingerprint.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-cert-issuer.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-certs.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-cert-serial.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-cert-subject.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-cert-validity.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-ja3-hash.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-ja3s-hash.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-ja3s-string.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-ja3-string.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-sni.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-version.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tls-random.c:StreamingBufferGetOffset Unexecuted instantiation: detect-tos.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-casechange.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-compress-whitespace.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-dotprefix.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-header-lowercase.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-md5.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-pcrexform.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-sha1.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-sha256.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-strip-pseudo-headers.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-strip-whitespace.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-urldecode.c:StreamingBufferGetOffset Unexecuted instantiation: detect-transform-xor.c:StreamingBufferGetOffset Unexecuted instantiation: detect-ttl.c:StreamingBufferGetOffset Unexecuted instantiation: detect-udphdr.c:StreamingBufferGetOffset Unexecuted instantiation: detect-uricontent.c:StreamingBufferGetOffset Unexecuted instantiation: detect-urilen.c:StreamingBufferGetOffset Unexecuted instantiation: detect-within.c:StreamingBufferGetOffset Unexecuted instantiation: detect-xbits.c:StreamingBufferGetOffset Unexecuted instantiation: flow-bit.c:StreamingBufferGetOffset Unexecuted instantiation: flow-var.c:StreamingBufferGetOffset Unexecuted instantiation: flow-worker.c:StreamingBufferGetOffset Unexecuted instantiation: host-bit.c:StreamingBufferGetOffset Unexecuted instantiation: host.c:StreamingBufferGetOffset Unexecuted instantiation: ippair-bit.c:StreamingBufferGetOffset Unexecuted instantiation: ippair.c:StreamingBufferGetOffset Unexecuted instantiation: output.c:StreamingBufferGetOffset Unexecuted instantiation: output-eve-stream.c:StreamingBufferGetOffset Unexecuted instantiation: output-filestore.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-alert.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-anomaly.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-bittorrent-dht.c:StreamingBufferGetOffset Unexecuted instantiation: output-json.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-common.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-dcerpc.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-dhcp.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-dnp3.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-dnp3-objects.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-dns.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-drop.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-email-common.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-file.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-flow.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-frame.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-ftp.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-http2.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-http.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-ike.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-krb5.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-metadata.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-modbus.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-quic.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-mqtt.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-netflow.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-nfs.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-pgsql.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-rdp.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-rfb.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-sip.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-smb.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-smtp.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-snmp.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-ssh.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-stats.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-template.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-tftp.c:StreamingBufferGetOffset Unexecuted instantiation: output-json-tls.c:StreamingBufferGetOffset Unexecuted instantiation: output-eve-syslog.c:StreamingBufferGetOffset Unexecuted instantiation: output-packet.c:StreamingBufferGetOffset Unexecuted instantiation: output-stats.c:StreamingBufferGetOffset Unexecuted instantiation: output-streaming.c:StreamingBufferGetOffset Unexecuted instantiation: output-tx.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-af-packet.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-af-xdp.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-erf-dag.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-erf-file.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-ipfw.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-napatech.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-nfq.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-pcap.c:StreamingBufferGetOffset Unexecuted instantiation: runmode-pcap-file.c:StreamingBufferGetOffset Unexecuted instantiation: rust-context.c:StreamingBufferGetOffset Unexecuted instantiation: source-pcap-file-helper.c:StreamingBufferGetOffset Unexecuted instantiation: source-pfring.c:StreamingBufferGetOffset Unexecuted instantiation: stream-tcp-inline.c:StreamingBufferGetOffset Unexecuted instantiation: util-action.c:StreamingBufferGetOffset Unexecuted instantiation: util-classification-config.c:StreamingBufferGetOffset Unexecuted instantiation: util-detect.c:StreamingBufferGetOffset Unexecuted instantiation: util-file-decompression.c:StreamingBufferGetOffset Unexecuted instantiation: util-file-swf-decompression.c:StreamingBufferGetOffset Unexecuted instantiation: util-logopenfile.c:StreamingBufferGetOffset Unexecuted instantiation: util-mpm-ac-bs.c:StreamingBufferGetOffset Unexecuted instantiation: util-mpm-ac.c:StreamingBufferGetOffset Unexecuted instantiation: util-mpm-ac-ks.c:StreamingBufferGetOffset Unexecuted instantiation: util-reference-config.c:StreamingBufferGetOffset Unexecuted instantiation: util-rule-vars.c:StreamingBufferGetOffset Unexecuted instantiation: util-runmodes.c:StreamingBufferGetOffset Unexecuted instantiation: util-port-interval-tree.c:StreamingBufferGetOffset Unexecuted instantiation: alert-debuglog.c:StreamingBufferGetOffset Unexecuted instantiation: alert-fastlog.c:StreamingBufferGetOffset Unexecuted instantiation: alert-syslog.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-htp-body.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-htp-xff.c:StreamingBufferGetOffset Unexecuted instantiation: app-layer-register.c:StreamingBufferGetOffset Unexecuted instantiation: detect-app-layer-event.c:StreamingBufferGetOffset Unexecuted instantiation: detect-app-layer-protocol.c:StreamingBufferGetOffset Unexecuted instantiation: detect-asn1.c:StreamingBufferGetOffset Unexecuted instantiation: detect-base64-data.c:StreamingBufferGetOffset Unexecuted instantiation: detect-base64-decode.c:StreamingBufferGetOffset Unexecuted instantiation: detect-bsize.c:StreamingBufferGetOffset Unexecuted instantiation: detect-bypass.c:StreamingBufferGetOffset Unexecuted instantiation: detect-byte.c:StreamingBufferGetOffset Unexecuted instantiation: detect-byte-extract.c:StreamingBufferGetOffset Unexecuted instantiation: detect-bytejump.c:StreamingBufferGetOffset Unexecuted instantiation: detect-bytemath.c:StreamingBufferGetOffset Unexecuted instantiation: detect-bytetest.c:StreamingBufferGetOffset Unexecuted instantiation: detect.c:StreamingBufferGetOffset Unexecuted instantiation: detect-cipservice.c:StreamingBufferGetOffset Unexecuted instantiation: detect-classtype.c:StreamingBufferGetOffset Unexecuted instantiation: detect-config.c:StreamingBufferGetOffset Unexecuted instantiation: detect-csum.c:StreamingBufferGetOffset Unexecuted instantiation: detect-datarep.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dataset.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dce-iface.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dce-opnum.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dce-stub-data.c:StreamingBufferGetOffset Unexecuted instantiation: detect-depth.c:StreamingBufferGetOffset Unexecuted instantiation: detect-detection-filter.c:StreamingBufferGetOffset Unexecuted instantiation: detect-distance.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dnp3.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dns-opcode.c:StreamingBufferGetOffset Unexecuted instantiation: detect-dns-query.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-analyzer.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-enip.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-event.c:StreamingBufferGetOffset Unexecuted instantiation: detect-engine-file.c:StreamingBufferGetOffset Unexecuted instantiation: detect-file-hash-common.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-accept.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-accept-enc.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-accept-lang.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-connection.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-content-len.c:StreamingBufferGetOffset Unexecuted instantiation: detect-http-content-type.c:StreamingBufferGetOffset Unexecuted instantiation: log-httplog.c:StreamingBufferGetOffset Unexecuted instantiation: log-pcap.c:StreamingBufferGetOffset Unexecuted instantiation: log-stats.c:StreamingBufferGetOffset Unexecuted instantiation: log-tcp-data.c:StreamingBufferGetOffset Unexecuted instantiation: log-tlslog.c:StreamingBufferGetOffset Unexecuted instantiation: log-tlsstore.c:StreamingBufferGetOffset Unexecuted instantiation: stream.c:StreamingBufferGetOffset Unexecuted instantiation: fuzz_sigpcap_aware.c:StreamingBufferGetOffset Unexecuted instantiation: util-unittest-helper.c:StreamingBufferGetOffset Unexecuted instantiation: fuzz_mimedecparseline.c:StreamingBufferGetOffset Unexecuted instantiation: fuzz_siginit.c:StreamingBufferGetOffset Unexecuted instantiation: fuzz_sigpcap.c:StreamingBufferGetOffset Unexecuted instantiation: fuzz_applayerprotodetectgetproto.c:StreamingBufferGetOffset Unexecuted instantiation: fuzz_predefpcap_aware.c:StreamingBufferGetOffset |
136 | | |
137 | | #ifndef DEBUG |
138 | | #define STREAMING_BUFFER_INITIALIZER \ |
139 | 169k | { \ |
140 | 169k | STREAMING_BUFFER_REGION_INIT, \ |
141 | 169k | { NULL }, \ |
142 | 169k | NULL, \ |
143 | 169k | 0, \ |
144 | 169k | 1, \ |
145 | 169k | 1, \ |
146 | 169k | }; |
147 | | #else |
148 | | #define STREAMING_BUFFER_INITIALIZER { STREAMING_BUFFER_REGION_INIT, { NULL }, NULL, 0, 1, 1, 0 }; |
149 | | #endif |
150 | | |
151 | | typedef struct StreamingBufferSegment_ { |
152 | | uint32_t segment_len; |
153 | | uint64_t stream_offset; |
154 | | } __attribute__((__packed__)) StreamingBufferSegment; |
155 | | |
156 | | StreamingBuffer *StreamingBufferInit(const StreamingBufferConfig *cfg); |
157 | | void StreamingBufferClear(StreamingBuffer *sb, const StreamingBufferConfig *cfg); |
158 | | void StreamingBufferFree(StreamingBuffer *sb, const StreamingBufferConfig *cfg); |
159 | | |
160 | | void StreamingBufferSlideToOffset( |
161 | | StreamingBuffer *sb, const StreamingBufferConfig *cfg, uint64_t offset); |
162 | | |
163 | | int StreamingBufferAppend(StreamingBuffer *sb, const StreamingBufferConfig *cfg, |
164 | | StreamingBufferSegment *seg, const uint8_t *data, uint32_t data_len) WARN_UNUSED; |
165 | | int StreamingBufferAppendNoTrack(StreamingBuffer *sb, const StreamingBufferConfig *cfg, |
166 | | const uint8_t *data, uint32_t data_len) WARN_UNUSED; |
167 | | int StreamingBufferInsertAt(StreamingBuffer *sb, const StreamingBufferConfig *cfg, |
168 | | StreamingBufferSegment *seg, const uint8_t *data, uint32_t data_len, |
169 | | uint64_t offset) WARN_UNUSED; |
170 | | |
171 | | void StreamingBufferSegmentGetData(const StreamingBuffer *sb, |
172 | | const StreamingBufferSegment *seg, |
173 | | const uint8_t **data, uint32_t *data_len); |
174 | | |
175 | | void StreamingBufferSBBGetData(const StreamingBuffer *sb, |
176 | | const StreamingBufferBlock *sbb, |
177 | | const uint8_t **data, uint32_t *data_len); |
178 | | |
179 | | void StreamingBufferSBBGetDataAtOffset(const StreamingBuffer *sb, |
180 | | const StreamingBufferBlock *sbb, |
181 | | const uint8_t **data, uint32_t *data_len, |
182 | | uint64_t offset); |
183 | | |
184 | | int StreamingBufferSegmentCompareRawData(const StreamingBuffer *sb, |
185 | | const StreamingBufferSegment *seg, |
186 | | const uint8_t *rawdata, uint32_t rawdata_len); |
187 | | int StreamingBufferCompareRawData(const StreamingBuffer *sb, |
188 | | const uint8_t *rawdata, uint32_t rawdata_len); |
189 | | |
190 | | int StreamingBufferGetData(const StreamingBuffer *sb, |
191 | | const uint8_t **data, uint32_t *data_len, |
192 | | uint64_t *stream_offset); |
193 | | |
194 | | int StreamingBufferGetDataAtOffset (const StreamingBuffer *sb, |
195 | | const uint8_t **data, uint32_t *data_len, |
196 | | uint64_t offset); |
197 | | |
198 | | int StreamingBufferSegmentIsBeforeWindow(const StreamingBuffer *sb, |
199 | | const StreamingBufferSegment *seg); |
200 | | |
201 | | void StreamingBufferRegisterTests(void); |
202 | | |
203 | | #endif /* __UTIL_STREAMING_BUFFER_H__ */ |