wireshark/plugins/wiretap/usbdump
Moshe Kaplan e16166a74c Detect and replace bad allocation patterns
Adds a pre-commit hook for detecting and replacing
occurrences of `g_malloc()` and `wmem_alloc()` with
`g_new()` and `wmem_new()`, to improve the
readability of Wireshark's code, and
occurrences of
`g_malloc(sizeof(struct myobj) * foo)`
with
`g_new(struct myobj, foo)`
to prevent integer overflows

Also fixes all existing occurrences across
the codebase.
2020-12-22 14:56:38 +00:00
..
AUTHORS
CMakeLists.txt Tools: Clean up checkAPI and add ui/qt. 2020-09-05 07:41:29 +00:00
README
usbdump.c Detect and replace bad allocation patterns 2020-12-22 14:56:38 +00:00

README

This wiretap plugin serves a dual purpose. One is to add usbdump file
reading capability to wiretap and therefore Wireshark and Tshark.
Second it is an illustration of a basic wiretap plugin module.