Wireshark-dev: Re: [Wireshark-dev] Help compile a custom extension to lte

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Wed, 17 Feb 2016 22:23:26 +0000


On 17 February 2016 at 20:50, Pascal Quantin <pascal.quantin@xxxxxxxxx> wrote:
Hi,

2016-02-17 20:49 GMT+01:00 Born In <d3c1978@xxxxxxxxx>:
I am trying to add a custom extension to couple of LTE messages so I can see them in wireshark.
Since I will be using wireshark exclusively in windows, I figured doing a native win64 build will be the best way to proceed.
Accordingly, I followed the build environment setup process a thttps://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html
Confirmed the setup by building (using the following commands), and tested wireshark come up (with the appended version string) and work as normal.
 
> cmake -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 2013 Win64" ..\wireshark
and
> msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln


Then, I modified the file: C:\Development\wireshark\asn1\lte-rrc\EUTRA-RRC-Definitions.asn
and added the asn structures that will add the required extensions.

Now, I am stuck on the building process. The commands above don't seem to be bothered about re-compiling the EUTRA-RRC-Definitions.asn file.

Yes ASN.1 based dissectors are not automatically regenerated.
 

Can someone please point me to the right way to build wireshark with the changes?

cd asn1\lte-rrc
msbuild /m /p:Configuration=RelWithDebInfo generate_dissector-lte-rrc.vcxproj
cd ..\..
msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln

Regards,
Pascal.
 

This info deserves a spot in the Developers Guide.

--
Graham Bloice