wireshark/epan/wslua
Guy Harris 3cb6403a4c wiretap: always allocate a block for a record.
Without that, you could add a comment to a record in a file format the
reading code for which doesn't allocate blocks, but the comment doesn't
get saved, as there's no block in which to save the comment option.

This simplifies some code paths, as we're either using the record's
modified block or we're using the block as read from the file, there's
no third possibility.

If we attempt to read a record, and we get an error, and a block was
allocated for the record, unreference it, so the individual file readers
don't have to worry about it.
2021-08-29 19:12:13 -07:00
..
.editorconfig HTTPS In Even More Places, update some links. 2019-07-28 04:21:18 +00:00
CMakeLists.txt CMake: Use CheckAPI's abort/termoutput with dissectors only 2021-03-01 20:59:39 +00:00
console.lua Qt: point to Lua wiki page now on Gitlab 2020-10-02 17:25:54 +00:00
dtd_gen.lua
init_wslua.c Lua: reconcile expert info groups; add PI_ASSUMPTION 2021-06-21 15:27:51 +00:00
init_wslua.h Move still *more* headers outside of extern "C". 2021-03-16 13:50:13 -07:00
lrexlib.c
lrexlib.h
lrexlib_algo.h
lrexlib_glib.c GLib: Bump requirement 2.32 -> 2.36 2020-11-25 06:25:38 +00:00
lrexlib_glib_f.c GLib: Bump requirement 2.32 -> 2.36 2020-11-25 06:25:38 +00:00
lua_bitop.c wslua: fix compilation with gcc 11 2021-04-28 20:12:19 +00:00
lua_bitop.h
make-init-lua.pl wiretap: more work on file type/subtypes. 2021-02-17 21:54:28 +00:00
make-reg.pl wiretap: more work on file type/subtypes. 2021-02-17 21:54:28 +00:00
make-taps.pl
taps
template-init.lua wiretap: more work on file type/subtypes. 2021-02-17 21:54:28 +00:00
wslua.h Replace usage of GLogLevel flags everywhere 2021-06-17 12:00:10 +01:00
wslua_address.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
wslua_byte_array.c wsutils: add local implementation of g_memdup2. 2021-03-25 09:38:10 +00:00
wslua_capture_info.c Remove unnecessary inclues of wiretap/pcapng.h. 2021-03-15 15:29:40 -07:00
wslua_column.c wslua: Update the packet information docs. 2020-03-30 16:08:37 +00:00
wslua_dir.c wslua: Update the Dir and Utils docs. 2020-03-31 04:12:35 +00:00
wslua_dissector.c Lua: add DissectorTable.try_heuristics() function 2021-03-26 07:15:16 +00:00
wslua_dumper.c wiretap: always allocate a block for a record. 2021-08-29 19:12:13 -07:00
wslua_field.c wslua: Fix crash on FieldInfo.range and FieldInfo.value for a nonexistent TVB 2021-04-28 16:59:54 +00:00
wslua_file.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
wslua_file_common.c Detect and replace bad allocation patterns 2020-12-22 14:56:38 +00:00
wslua_file_common.h Use wtap_blocks for packet comments 2021-07-07 18:40:24 +00:00
wslua_file_handler.c Use wtap_blocks for packet comments 2021-07-07 18:40:24 +00:00
wslua_frame_info.c Use wtap_blocks for packet comments 2021-07-07 18:40:24 +00:00
wslua_gui.c Move epan/wmem/wmem_scopes.h to epan/ 2021-07-26 14:56:11 +00:00
wslua_int64.c wslua: Update the Int64 docs. 2020-03-31 04:12:48 +00:00
wslua_internals.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
wslua_listener.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
wslua_nstime.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
wslua_pinfo.c Move epan/wmem/wmem_scopes.h to epan/ 2021-07-26 14:56:11 +00:00
wslua_pinfo_common.h
wslua_pref.c wslua: Replace g_assert() with ws_assert() 2021-05-19 03:52:45 +01:00
wslua_proto.c Try to avoid -Wunused with vanishing macros 2021-06-10 00:51:59 +01:00
wslua_proto_expert.c Lua: reconcile expert info groups; add PI_ASSUMPTION 2021-06-21 15:27:51 +00:00
wslua_proto_field.c dfilter, ftypes: get rid of FT_PCRE. 2021-03-21 03:27:44 -07:00
wslua_struct.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
wslua_tree.c Detect and replace bad allocation patterns 2020-12-22 14:56:38 +00:00
wslua_tvb.c Move epan/wmem/wmem_scopes.h to epan/ 2021-07-26 14:56:11 +00:00
wslua_util.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
wslua_wtap.c wiretap: eliminate the pcap/nspcap/pcapng WTAP_FILE_TYPE_SUBTYPE_ values. 2021-02-23 21:56:20 +00:00