Hi, i try to make a plugin based ASN1 dissector. I used the toyasn1 sample and only added my .asn files to the makefile of the Plugin. Now if i start wireshark i always get the error: The same error occours with dissector_delete. Does someone know how to solve it? asked 11 Sep '14, 01:54 Venturina |
One Answer:
The api changed to answered 11 Sep '14, 03:44 Anders ♦ edited 11 Sep '14, 04:04 grahamb ♦ |
Ah ok, thanks, i think you are right. But now, i get the same Error with
undefined Symbol: dissector_add_unit
I don't know what that error means.
_uint, not _unit
Aww.. thats right. Sometimes reading is difficult.
Now i geht the Error
undefined symbol: dissect_TOYASN1_MESSAGE_PDU
I think this problem lies in my toyasn1.cnf right?
Because i changed the .asn input files, the
dissect_TOYASN1_MESSAGE_PDU
function ist not created. My .asn files areCAM.asn
andITS-Containor.asn
. In an other dissector, thedissect_name_PDU
is created in thepacket-name-fn.c
file, but in my file is no such functionthank you very much for your help!
See the answers in this thread: https://ask.wireshark.org/questions/36092/asn1-plugin-dissector