summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/Wireshark
AgeCommit message (Collapse)AuthorFilesLines
2013-10-09pidl-wireshark: fix the trailling white space in the generated headersMatthieu Patou1-2/+2
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Oct 9 10:31:25 CEST 2013 on sn-devel-104
2013-10-09pidl-wireshark: fix trailing white space in the HF definitionMatthieu Patou1-1/+1
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-10-07Remove check_col from generated DCE/RPC dissectors.Matthieu Patou1-4/+4
This is a backport of http://anonsvn.wireshark.org/viewvc?view=revision&revision=52313 Bug 8804 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8804). Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlett@samba.org> Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Mon Oct 7 08:09:51 CEST 2013 on sn-devel-104
2013-09-24pidl: Generate wireshark that conforms to the rules of Wireshark projectMatthieu Patou1-4/+4
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 24 02:04:05 CEST 2013 on sn-devel-104
2013-09-24pidl: Generate NDR64/NDR32 aware code for the wireshark dissectorsMatthieu Patou1-0/+8
Signed-off-by: Matthieu Patou <mat@matws.net> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-05-15Wireshark/Conformance.pm: Fix typo.Karolin Seeger1-1/+1
Signed-off-by: Karolin Seeger <kseeger@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2012-05-15Use ENC_ values for proto_tree_add_item() calls.Guy Harris1-2/+2
It appears that the integral value containing the bits in a bitmap should be dissected according to the data representation, as the individual fields are fetched by dissect_ndr_XXX, which is passed the data representation and extracts the value appropriately for the data representation, so the patch replaces TRUE (which meant "always little-endian" when the last argument to proto_tree_add_item() was a byte-order Boolean) with DREP_ENC_INTEGER(drep) (which means "ENC_BIG_ENDIAN or ENC_LITTLE_ENDIAN, depending on the data representation"). For structures, I'm just using ENC_NA. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8942 Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue May 15 12:07:06 CEST 2012 on sn-devel-104
2011-08-06pidl: for wireshark use only the major of the versionMatthieu Patou1-3/+2
2011-08-06pidl: For wireshark check also LIBNDR_FLAG_NOALIGN for not aligningMatthieu Patou1-1/+1
2011-08-06pidl: handle union when the switch variable is outside of the union for ↵Matthieu Patou1-19/+96
wireshark dissector
2011-08-06pidl: add subcontext handling for wiresharkMatthieu Patou1-3/+10
2011-08-06pidl: handle hyper attribute for wiresharkMatthieu Patou1-0/+1
2011-08-06pidl: handle datablob for wireshark generatorMatthieu Patou1-0/+4
2011-08-06pidl: rpc version is a 32 bitMatthieu Patou1-1/+1
2011-08-06pidl: generate code for dissecting null terminated stringsMatthieu Patou1-0/+6
2011-08-06pidl: don't expect to have quote when creating import headersMatthieu Patou1-1/+1
Currently the $_ didn't contains the quote anymore, in order to avoid any further regression the cleanup of quote is done before so that if $_ still have quotes we clean them in anycase.
2010-04-30pidl: Fix display field for time fields with newer versions of Wireshark.Jeff Morriss1-4/+4
Pidl generates some Wireshark dissector fields of type FT_ABSOLUTE_TIME. Starting some time not too long ago, these fields need a 'display' field other than BASE_NONE or BASE_DEC. This commit fixes this, *assuming* that all the times are "local."
2009-10-06add trailer alignment to structuresRonnie Sahlberg1-0/+14
2009-10-06PIDL fix for using external types with wireshark backendronnie sahlberg2-2/+14
List, Please review this patch to pidl. Basically, we need to process the wireshark conformance file BEFORE we process the idl file since this file may define external types and set the alignment for them (using the TYPE directive). Otherwise pidl will default all external types to use 4byte alignment which breaks (much more often) on NDR64 regards ronnie sahlberg From 8f86903fc353d0906bd82e72ce19c5af09beb001 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg <ronniesahlberg@gmail.com> Date: Mon, 5 Oct 2009 15:22:43 +1100 Subject: [PATCH] In the PIDL wireshark backend, we define external types in the conformance file using the TYPE directive. If we declare external types here, we must parse this file before we process the IDL file, or else these external types will all default to 4byte padding (pidl assumes all unknown types are 4byte aligned). Make sure we read the conformance file and create these new types before we parse the idl file. Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2009-07-28pidl: import a patch to pidl made in the wireshark reporitory.Ronnie Sahlberg1-5/+19
Original commit message in wireshark SVN (rev 28961): ==== From Kovarththanan Rajaratnam: More "Cleanup header_field_info definitions" ==== Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-09-17Move pidl to top-level directory.Jelmer Vernooij2-0/+1580