Wireshark-commits: [Wireshark-commits] master 9bcac48: Manually add protocol dependencies derived f

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 20 Mar 2016 12:49:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9bcac48403de9aff6435d0f48028ae1f72f64528
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

9bcac48 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Manually add protocol dependencies derived from find_dissector.
    
    Started by grepping call_dissector_with_data, call_dissector_only and call_dissector and traced the handles passed into them to a find_dissector within the dissector.  Then replaced find_dissector with find_dissector_add_dependency and added the protocol id from the dissector.
    "data" dissector was not considered to be a dependency.
    
    Change-Id: I15d0d77301306587ef8e7af5876e74231816890d
    Reviewed-on: https://code.wireshark.org/review/14509
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  6da50e2   Start work on API to generate protocol dependency tree.
    adds  9bcac48   Manually add protocol dependencies derived from find_dissector.


Summary of changes:
 .../asn1/ansi_tcap/packet-ansi_tcap-template.c     |    5 +-
 .../asn1/atn-ulcs/packet-atn-ulcs-template.c       |    6 +-
 .../asn1/gsm_map/packet-gsm_map-template.c         |    8 +-
 epan/dissectors/asn1/h248/packet-h248-template.c   |    2 +-
 epan/dissectors/asn1/h283/packet-h283-template.c   |    4 +-
 epan/dissectors/asn1/h460/packet-h460-template.c   |    4 +-
 epan/dissectors/asn1/ilp/packet-ilp-template.c     |    6 +-
 .../asn1/kerberos/packet-kerberos-template.c       |    2 +-
 epan/dissectors/asn1/lcsap/packet-lcsap-template.c |    4 +-
 epan/dissectors/asn1/ldap/packet-ldap-template.c   |   10 +-
 epan/dissectors/asn1/lpp/packet-lpp-template.c     |    2 +-
 epan/dissectors/asn1/q932/packet-q932-template.c   |    2 +-
 epan/dissectors/asn1/qsig/packet-qsig-template.c   |    4 +-
 epan/dissectors/asn1/ranap/packet-ranap-template.c |    4 +-
 epan/dissectors/asn1/rnsap/packet-rnsap-template.c |    2 +-
 epan/dissectors/asn1/rrc/packet-rrc-template.c     |    8 +-
 epan/dissectors/asn1/rua/packet-rua-template.c     |    2 +-
 epan/dissectors/asn1/s1ap/packet-s1ap-template.c   |    8 +-
 epan/dissectors/asn1/t38/packet-t38-template.c     |    4 +-
 epan/dissectors/asn1/tcap/packet-tcap-template.c   |    2 +-
 epan/dissectors/asn1/ulp/packet-ulp-template.c     |    4 +-
 epan/dissectors/file-btsnoop.c                     |    6 +-
 epan/dissectors/file-pcap.c                        |    2 +-
 epan/dissectors/file-pcapng.c                      |    2 +-
 epan/dissectors/packet-3com-xns.c                  |    2 +-
 epan/dissectors/packet-6lowpan.c                   |    2 +-
 epan/dissectors/packet-a21.c                       |    2 +-
 epan/dissectors/packet-acr122.c                    |    2 +-
 epan/dissectors/packet-actrace.c                   |    2 +-
 epan/dissectors/packet-adb.c                       |    2 +-
 epan/dissectors/packet-adb_cs.c                    |    2 +-
 epan/dissectors/packet-adb_service.c               |    2 +-
 epan/dissectors/packet-afp.c                       |    2 +-
 epan/dissectors/packet-ansi_tcap.c                 |    9 +-
 epan/dissectors/packet-applemidi.c                 |    2 +-
 epan/dissectors/packet-artnet.c                    |    4 +-
 epan/dissectors/packet-aruba-erm.c                 |    8 +-
 epan/dissectors/packet-ascend.c                    |    4 +-
 epan/dissectors/packet-atalk.c                     |    4 +-
 epan/dissectors/packet-atm.c                       |   16 +-
 epan/dissectors/packet-atn-ulcs.c                  |    6 +-
 epan/dissectors/packet-ax25-kiss.c                 |    2 +-
 epan/dissectors/packet-ax25-nol3.c                 |    2 +-
 epan/dissectors/packet-bacnet.c                    |    2 +-
 epan/dissectors/packet-bat.c                       |    2 +-
 epan/dissectors/packet-batadv.c                    |    2 +-
 epan/dissectors/packet-bctp.c                      |    2 +-
 epan/dissectors/packet-bittorrent.c                |    2 +-
 epan/dissectors/packet-bluetooth.c                 |    4 +-
 epan/dissectors/packet-bmp.c                       |    2 +-
 epan/dissectors/packet-bpdu.c                      |    4 +-
 epan/dissectors/packet-bpq.c                       |    2 +-
 epan/dissectors/packet-brdwlk.c                    |    2 +-
 epan/dissectors/packet-bssap.c                     |    7 +-
 epan/dissectors/packet-btatt.c                     |    8 +-
 epan/dissectors/packet-btavdtp.c                   |   16 +-
 epan/dissectors/packet-btbnep.c                    |    6 +-
 epan/dissectors/packet-bthci_acl.c                 |    2 +-
 epan/dissectors/packet-bthci_evt.c                 |   10 +-
 epan/dissectors/packet-bthci_vendor.c              |    2 +-
 epan/dissectors/packet-bthid.c                     |    6 +-
 epan/dissectors/packet-btle.c                      |    6 +-
 epan/dissectors/packet-btle_rf.c                   |    2 +-
 epan/dissectors/packet-btrfcomm.c                  |    2 +-
 epan/dissectors/packet-btsap.c                     |    6 +-
 epan/dissectors/packet-bzr.c                       |    2 +-
 epan/dissectors/packet-c15ch.c                     |    6 +-
 epan/dissectors/packet-capwap.c                    |    9 +-
 epan/dissectors/packet-cip.c                       |    2 +-
 epan/dissectors/packet-cisco-erspan.c              |    2 +-
 epan/dissectors/packet-cisco-fp-mim.c              |    2 +-
 epan/dissectors/packet-cisco-metadata.c            |    2 +-
 epan/dissectors/packet-cisco-sm.c                  |    6 +-
 epan/dissectors/packet-cisco-wids.c                |    2 +-
 epan/dissectors/packet-clip.c                      |    2 +-
 epan/dissectors/packet-clnp.c                      |    6 +-
 epan/dissectors/packet-corosync-totemnet.c         |    2 +-
 epan/dissectors/packet-cosine.c                    |   10 +-
 epan/dissectors/packet-couchbase.c                 |    2 +-
 epan/dissectors/packet-cpfi.c                      |    2 +-
 epan/dissectors/packet-daap.c                      |    2 +-
 epan/dissectors/packet-diameter.c                  |    2 +-
 epan/dissectors/packet-diameter_3gpp.c             |    2 +-
 epan/dissectors/packet-dis.c                       |    4 +-
 epan/dissectors/packet-dns.c                       |    4 +-
 epan/dissectors/packet-dpnss-link.c                |    2 +-
 epan/dissectors/packet-dsi.c                       |    4 +-
 epan/dissectors/packet-dua.c                       |    2 +-
 epan/dissectors/packet-dvb-data-mpe.c              |    4 +-
 epan/dissectors/packet-dvb-ipdc.c                  |    2 +-
 epan/dissectors/packet-dvb-s2-bb.c                 |    4 +-
 epan/dissectors/packet-dvbci.c                     |    6 +-
 epan/dissectors/packet-e100.c                      |    2 +-
 epan/dissectors/packet-eap.c                       |    2 +-
 epan/dissectors/packet-eapol.c                     |    4 +-
... 264 lines suppressed ...