wireshark/epan
David Perry 1f59c18769 Change some `wmem_packet_scope()` to `pinfo->pool`
As requested [here][1] by @eapache, help with removing calls to
`wmem_packet_scope()` in favour of references to `pinfo->pool`.

* Plugins chosen semi-randomly.
* When a calling function already has a `pinfo` argument, use that.
    * Remove `_U_` from its signature if it was there.
* If a function seems narrowly focused on getting and (possibly)
  returning memory, change the function signature to take a
  `wmem_allocator_t *`.
* If it seems more focused on packet-based operations, pass in a
  `packet_info *` instead and use `pinfo->pool` within.
    * If there are several functions defined with the same call
      signature, add `pinfo _U_` to the argument list of similar
      functions in order to maintain clarity/symmetry.

[1]: https://www.wireshark.org/lists/wireshark-dev/202107/msg00052.html
2023-02-25 05:32:48 +00:00
..
crypt CMake: Reverse debug macros 2023-01-12 00:59:15 +00:00
dfilter CMake: Require explicit installation of development headers 2023-01-18 03:35:13 +00:00
dissectors Change some `wmem_packet_scope()` to `pinfo->pool` 2023-02-25 05:32:48 +00:00
ftypes CMake: Require explicit installation of development headers 2023-01-18 03:35:13 +00:00
wslua lua: Check for negative lengths when constructing TvbRange 2023-02-19 22:16:16 +00:00
.editorconfig
CMakeLists.txt CMake: Cleanup unnecessary linking with shared libraries 2023-02-06 15:04:46 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c
addr_resolv.h
address.h
address_types.c
address_types.h
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c
app_mem_usage.h
arcnet_pids.h
arptypes.h
asn1.c
asn1.h
ax25_pids.h
bridged_pids.h
capture_dissectors.c
capture_dissectors.h
charsets.c Move get_utf_8_string() to wsutil 2023-02-06 15:03:49 +00:00
charsets.h DECT-NWK: Add basic support for DECT charsets 2022-12-21 21:30:20 +00:00
chdlctypes.h
cisco_pid.h
color_filters.c
color_filters.h
column-info.h
column-utils.c
column-utils.h
column.c
column.h
conv_id.h
conversation.c conversation: Remove conversation from the correct table 2022-12-30 13:16:56 +00:00
conversation.h QUIC: Handle QUIC connections multiplexed on the same 5-tuple 2022-12-22 19:56:19 +00:00
conversation_debug.h
conversation_filter.c
conversation_filter.h
conversation_table.c
conversation_table.h
crc6-tvb.c
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c
crc32-tvb.h
dccpservicecodes.h
decode_as.c
decode_as.h
diam_dict.h
diam_dict.l
disabled_protos.c
disabled_protos.h
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l
dtd_preparse.l
dvb_chartbl.c
dvb_chartbl.h
eap.h
eapol_keydes_types.h
epan.c Move ui/version_info.[ch] to wsutil 2023-02-07 23:17:37 +00:00
epan.h Do not require using wsgcrypt.h 2023-02-06 15:52:10 +00:00
epan_dissect.h
etypes.h
ex-opt.c
ex-opt.h
except.c
except.h
exceptions.h
exntest.c
expert.c
expert.h
export_object.c
export_object.h
exported_pdu.c
exported_pdu.h
filter_expressions.c
filter_expressions.h
follow.c follow: Add function for sub stream id to registration 2023-01-05 05:04:33 +00:00
follow.h Add follow websocket stream support 2023-01-19 03:14:18 +00:00
frame_data.c epan: Use hash table for dependent frames 2023-01-28 15:17:42 +01:00
frame_data.h epan: Use hash table for dependent frames 2023-01-28 15:17:42 +01:00
frame_data_sequence.c epan: Use hash table for dependent frames 2023-01-28 15:17:42 +01:00
frame_data_sequence.h epan: Use hash table for dependent frames 2023-01-28 15:17:42 +01:00
funnel.c WSLUA: Add new lua function register_packet_menu() 2022-12-07 18:47:14 +00:00
funnel.h WSLUA: Add new lua function register_packet_menu() 2022-12-07 18:47:14 +00:00
golay.c
golay.h
guid-utils.c
guid-utils.h
iana_charsets.c
iana_charsets.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
introspection-enums.c [Automatic update for 2022-12-25] 2022-12-25 16:46:13 +00:00
introspection.c
introspection.h
ip_opts.h
ipproto.c
ipproto.h
ipv4.h
ipv6.h
lapd_sapi.h
llcsaps.h
maxmind_db.c Add a routine to get the path of an executable given the program name. 2022-12-23 23:20:22 +00:00
maxmind_db.h
media_params.c
media_params.h
next_tvb.c
next_tvb.h
nlpid.h
oids.c MSYS2: Add some packages for missing dependencies 2023-01-16 13:30:43 +00:00
oids.h
oids_test.c
osi-utils.c
osi-utils.h
oui.h
packet.c epan: Use hash table for dependent frames 2023-01-28 15:17:42 +01:00
packet.h Provide create_dissector_handle_with_data 2023-01-13 08:57:58 +00:00
packet_info.h epan: Allow nested dependent packets 2023-01-06 23:15:48 +00:00
params.h
pci-ids.c [Automatic update for 2023-02-12] 2023-02-12 16:46:06 +00:00
pci-ids.h
plugin_if.c
plugin_if.h
ppptypes.h
prefs-int.h
prefs.c sshdump: add capability to use doas on remote host 2023-02-19 13:41:24 +00:00
prefs.h Preferences: Support configuring debounce timers 2023-02-09 20:54:14 +00:00
print.c tshark: Support multiple -j and -J options, including mixed 2023-02-16 12:46:44 +00:00
print.h tshark: Support multiple -j and -J options, including mixed 2023-02-16 12:46:44 +00:00
print.ps
print_stream.c
print_stream.h
proto.c epan: FT_FRAMENUM strings are special 2023-01-16 20:34:19 -05:00
proto.h DECT-NWK: Add basic support for DECT charsets 2022-12-21 21:30:20 +00:00
proto_data.c
proto_data.h
protobuf-helper.c
protobuf-helper.h
protobuf_lang_parser.lemon
protobuf_lang_scanner.l
protobuf_lang_tree.c
protobuf_lang_tree.h
ps.h
ptvcursor.h
radius_dict.l
range.c
range.h
reassemble.c epan: Allow nested dependent packets 2023-01-06 23:15:48 +00:00
reassemble.h USBLL: Correctly handle last fragment retransmissions 2022-12-06 07:26:02 +01:00
reassemble_test.c
reedsolomon.c
reedsolomon.h
register-int.h
register.c
register.h
req_resp_hdrs.c
req_resp_hdrs.h
rtd_table.c
rtd_table.h
rtp_pt.h
sctpppids.c
sctpppids.h
secrets.c Do not require using wsgcrypt.h 2023-02-06 15:52:10 +00:00
secrets.h
sequence_analysis.c
sequence_analysis.h
show_exception.c
show_exception.h
slow_protocol_subtypes.h
sminmpec.h PFCP: add Nokia proprietary IEs 2023-01-17 10:17:24 +00:00
srt_table.c
srt_table.h
stat_groups.h
stat_tap_ui.c
stat_tap_ui.h
stats_tree.c
stats_tree.h
stats_tree_priv.h
stream.c
stream.h
strutil.c
strutil.h
t35.c
t35.h
tap-voip.h
tap.c
tap.h
test_epan.c
tfs.c
tfs.h
timestamp.c
timestamp.h
timestats.c
timestats.h
to_str.c wmem: Remove strbuf max size parameter 2022-12-03 01:54:52 +00:00
to_str.h
tvbparse.c
tvbparse.h
tvbtest.c zstd: add test for uncompressing 0 length 2023-01-02 12:13:54 +00:00
tvbuff-int.h
tvbuff.c DECT-NWK: Add basic support for DECT charsets 2022-12-21 21:30:20 +00:00
tvbuff.h note that tvb_child_uncompress attaches to parent 2023-01-10 01:34:44 +00:00
tvbuff_base64.c
tvbuff_brotli.c
tvbuff_composite.c Fix typo 2023-01-15 20:55:53 +01:00
tvbuff_lz77.c
tvbuff_lz77huff.c epan: Add a bounds check to tvb_uncompress_lz7huff() 2022-12-16 19:45:02 +00:00
tvbuff_lznt1.c
tvbuff_rdp.c rdp: fix zgfx compression 2023-02-10 14:02:07 +00:00
tvbuff_rdp.h
tvbuff_real.c
tvbuff_subset.c
tvbuff_zlib.c epan: Use realloc when extending the uncompressed buffer 2022-12-03 13:00:28 +00:00
tvbuff_zstd.c zstd: fix leak of tvbs 2023-01-02 12:13:54 +00:00
uat-int.h
uat.c UAT: Have a combobox for Dissectors 2023-02-11 16:40:13 +00:00
uat.h UAT: Have a combobox for Dissectors 2023-02-11 16:40:13 +00:00
uat_load.l
unit_strings.c
unit_strings.h
value_string.c
value_string.h
wmem_scopes.c
wmem_scopes.h
ws_printf.h
wscbor.c wscbor: Ensure skip if errors advances the offset 2023-02-11 13:08:48 +00:00
wscbor.h
wscbor_test.c wscbor: defer creation of composite tvb 2023-01-09 08:04:08 +00:00
x264_prt_id.h
xdlc.c
xdlc.h