Michael Mann
ee208c8dcc
Add support for RELATIVE-OID ASN.1 type. Bug 9192 ( https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9192 )
...
From Ed Beroset.
svn path=/trunk/; revision=52393
2013-10-06 02:31:10 +00:00
Michael Mann
25bb947bdb
Have conversion tools use the "new" expert_add_info_format.
...
svn path=/trunk/; revision=51857
2013-09-09 02:19:27 +00:00
Michael Mann
e123d27ca9
If the proto_tree_add_text string is just "%s", assume it won't be converted (it's usually a header that has the same field filterable in its subtree)
...
svn path=/trunk/; revision=51505
2013-08-24 01:38:43 +00:00
Michael Mann
5ffa911a6b
Allow display base, not field type to have multiple ORed entries (for things like BASE_EXT_STRING)
...
svn path=/trunk/; revision=51235
2013-08-09 13:55:35 +00:00
Michael Mann
635d8d4f2c
Add support for determining BASE_EXT_STRING.
...
svn path=/trunk/; revision=51149
2013-08-05 12:16:50 +00:00
Michael Mann
a87f47c02c
Make many items filterable for Vines dissectors.
...
Add support for FT_VINES type.
svn path=/trunk/; revision=50962
2013-07-28 00:07:49 +00:00
Guy Harris
8d81fe9a0e
The descriptive name for a field is the field full name; the name used
...
in packet-matching expressions and TShark's -e flag and... is the
field's abbreviated name.
svn path=/trunk/; revision=50927
2013-07-26 21:06:38 +00:00
Michael Mann
2675472389
Add support for common FT_ETHER cases.
...
Bugfix gauging where the "field text" argument when parsing the proto_tree_add_text call.
svn path=/trunk/; revision=50925
2013-07-26 18:30:10 +00:00
Michael Mann
c5ab45f678
fix "compile" error
...
svn path=/trunk/; revision=50874
2013-07-24 20:16:44 +00:00
Michael Mann
4795803614
Add "usage" for expert option
...
svn path=/trunk/; revision=50864
2013-07-24 15:44:49 +00:00
Michael Mann
cf4e08bdf2
fix "compiler errors"
...
Add better support for IP field detection.
svn path=/trunk/; revision=50781
2013-07-22 01:56:35 +00:00
Michael Mann
2e5561d9c5
Add ability to convert proto_tree_add_text to "expert" API. It's a little hacky because the first pass doesn't know that a proto_tree_add_text call will be converted into an expert API call, so there is some "field reappropriation" (but not enough to have a different field layout) in the .proto_tree_input file.
...
svn path=/trunk/; revision=50762
2013-07-21 19:03:36 +00:00
Michael Mann
617925c482
Add better detection of strings and byte arrays.
...
svn path=/trunk/; revision=50714
2013-07-18 02:49:06 +00:00
Michael Mann
f2e1a979fa
Add in basic error checking of the .proto_tree_input file to prevent some issues with updated dissector.
...
svn path=/trunk/; revision=50658
2013-07-16 02:59:16 +00:00
Alexis La Goutte
09d68c76e6
Set convert_proto_tree_add_text has executable
...
svn path=/trunk/; revision=50607
2013-07-15 07:39:26 +00:00
Michael Mann
79aea4b295
Generate better hf_ name
...
Generate initial filter name
Apply consistent whitespace
svn path=/trunk/; revision=50567
2013-07-14 02:13:07 +00:00
Martin Kaiser
fb177c2fe9
set svn properties
...
svn path=/trunk/; revision=50561
2013-07-13 22:51:55 +00:00
Michael Mann
94f44f7601
Here's a tool to help in the conversion of proto_tree_add_text to proto_tree_add_item. It's still rough around the edges, but it's a lot better than doing it all manually. It targets proto_tree_add_text functions with formatted parameters. It "guesses" the necessary parameters for proto_tree_add_item and the associated hf_ strictly through proto_tree_add_text parameters, so it does better for cases where the tvb_ function (ie tvb_get_guint8) is one of the printf style parameters in the proto_tree_add_text.
...
If there are cleaner ways (better regex) to represent the logic, please feel free to update.
The key is to improve the "defaults" detected so less manual editting of the proto_tree_input file (and subsequent dissector file) is necessary.
I'll be testing it more (and probably updating) as I try to work through the checkAPIs.pl "naughty list" (now that the list has expanded)
svn path=/trunk/; revision=50559
2013-07-13 21:28:53 +00:00