URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fd03c85d0f5c1e17337c2c1380e6018679f2e9c6 Submitter: "Anders Broman <a.broma...@gmail.com>" Changed: branch: master Repository: wireshark
Commits: fd03c85 by Martin Mathieson (martin.mathie...@keysight.com): check_typed_item_calls.py: Look for items with the wrong type passed to APIs Look for calls to certain proto APIs that require hf items of a certain type, then check that the items passed in have one of the allowed types. Currently takes around a minute to scan epan/dissectors. There are a few issues that have not yet been fixed.. Hopefully this can be added to the PetriDish at some point. Change-Id: Ic9eadcc3f1de03223606b5dca1cb45edcbe95e85 Reviewed-on: https://code.wireshark.org/review/38039 Petri-Dish: Martin Mathieson <martin.r.mathie...@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broma...@gmail.com> Actions performed: from 3b47a55 Replace instances of wmem_alloc with wmem_new add fd03c85 check_typed_item_calls.py: Look for items with the wrong type passed to APIs Summary of changes: tools/check_typed_item_calls.py | 254 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100755 tools/check_typed_item_calls.py ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe