Wireshark-dev: Re: [Wireshark-dev] patching ASN.1 dissectors
From: Pascal Quantin <[email protected]>
Date: Thu, 31 Jan 2019 14:28:19 +0100
Hi Dario,

Le jeu. 31 janv. 2019 à 14:24, Dario Lombardo <[email protected]> a écrit :
I want to fix a bug in the tcap dissector, specifically in the function dissect_UniDialoguePDU_PDU. This is a generated dissector, therefore I've looked for the generating code, but I got lost in the maze of the generation of this dissector.
Any help on which code in the tree I should change for this specific function?

This function is auto-generated by asn2wrs.py based on the EXPORTS directive found in tcap.cnf.
May I ask you what you want to fix? I hardly see what could be buggy in the function itself (all the EXPORTS functions assume that you have a byte aligned buffer; if this not the case for this specific payload then the EXPORTS directive should not be used and some manual code should  be written in the template file instead).

Best regards,