Ask Your Question
0

how to generate c code from asn1?

asked 2019-10-30 06:33:49 +0000

silenttom gravatar image

hi, I'm a newer to develop wireshark. currently I know the basic process of generating c code from asn1 and .cnf,template.c/.h files. take lte-rrc as example , to generate the latest version. the asn files extracted from latest 3gpp doc is simple. my question is : how to generate(or get) the latest version of .cnf,.temlate.c/.h files ? If these files need to be manually made, where's the guide and examples ? Thanks a lot in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-10-30 09:06:54 +0000

Pascal Quantin gravatar image

The template and conformation files are written by hand.

You can find some basic documentation here and by looking at the other ASN.1 dissectors.

edit flag offensive delete link more

Comments

ok, thanks a lot!!!

silenttom gravatar imagesilenttom ( 2019-10-30 09:21:38 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-10-30 06:33:49 +0000

Seen: 356 times

Last updated: Oct 30 '19