14.7. Step By Step Instructions
-
Create a directory for your protocol in the epan/dissectors/asn1 directory and put
your ASN.1 file there.
-
Copy CMakeLists.txt from another ASN.1 dissector and edit it to suit your needs.
-
Create a .cnf file either by copying an existing one and editing it or
using the empty example above.
-
Create template files either by copying suitable existing ones and
editing them or use the examples above, putting your protocol name in the
appropriate places.
-
Add your dissector to epan/dissectors/asn1/CMakeLists.txt
-
Test generating your dissector by building the generate_dissector-*proto* target.
-
Depending on the outcome you may have to edit your .cnf file, ASN.1 file
etc…
-
Build Wireshark.