Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] asn2wrs.py no longer seems to generate the same code ...

From: Peter Wu <peter@xxxxxxxxxxxxx>
Date: Sat, 16 May 2020 00:33:05 +0200
The "asn1" target rebuilds all asn1 dissectors.
Alternatively to rebuild a specific one, use a target such as "generate_dissector-pkcs1".

Example:

    mkdir build
    cd build
    cmake ..
    cmake --build . --target generate_dissector-pkcs1

Or if you use ninja:

    mkdir build
    cd build
    cmake -GNinja ..
    ninja generate_dissector-pkcs1

Kind regards,
Peter
https://lekensteyn.nl
(pardon my brevity, top-posting and formatting, sent from my phone)


On May 15, 2020 11:29:26 PM GMT+02:00, Richard Sharpe <realrichardsharpe@xxxxxxxxx> wrote:
>On Fri, May 15, 2020 at 2:30 PM Peter Wu <peter@xxxxxxxxxxxxx> wrote:
>>
>> Hi Richard,
>>
>> On Fri, May 08, 2020 at 08:54:58AM -0700, Richard Sharpe wrote:
>> [..]
>> > It doesn't look like it was manually modified. The last person who
>> > touched that file was Peter Wu, it seems, so maybe he can shed some
>> > light on it.
>>
>> How did you invoke asn2wrs.py? If I run the asn1 ninja/make target on
>my
>> system to regenerate dissectors based on the ASN.1 inputs, there are
>no
>> further changes.
>
>I ran the command recorder in the header of the .c file.
>
>What is this ninja/make thing you refer to?
>
>-- 
>Regards,
>Richard Sharpe
>(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
>___________________________________________________________________________
>Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>Archives:    https://www.wireshark.org/lists/wireshark-dev
>Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>         mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe