Commit Graph

27 Commits

Author SHA1 Message Date
Ronnie Sahlberg b183abad3e update the conformance file for winreg to specify that the string for
OpenKey keynames should be saved/stored in the dcv structure.

this now makes all policy handles generated by the OpenKey function show
OpenKey(/path/keyname)
for all such policyhandles


svn path=/trunk/; revision=21720
2007-05-07 19:23:59 +00:00
Ronnie Sahlberg e19938fb0b using latest version of pidl, which includes the required pragmas and
which also handles TYPE and PARAM_VALUE for strings,   regenerate winreg 
after using hte conformance file to prettify how and where strings are 
to be used to decorate the summary line and the dissection tree


svn path=/trunk/; revision=21717
2007-05-07 18:35:28 +00:00
Ulf Lamping 0bea95c152 disable warning 4005 *again*
svn path=/trunk/; revision=21688
2007-05-05 10:11:06 +00:00
Ronnie Sahlberg d21de3799a use the latest version of PIDL to regenerate winreg using the new TYPE
conformance file directive to replace winreg_String with our own code.

PARAM_VALUE does not yet work for this however which needs to looked 
into


svn path=/trunk/; revision=21669
2007-05-03 19:58:04 +00:00
Ronnie Sahlberg 74e19c696e regenerate the dissectors with an even newer patched version of pidl to add two more pragmas
you need this patch ontop of svn pidl to regenerate the files :

Index: lib/Parse/Pidl/Wireshark/NDR.pm
===================================================================
--- lib/Parse/Pidl/Wireshark/NDR.pm     (revision 22005)
+++ lib/Parse/Pidl/Wireshark/NDR.pm     (working copy)
@@ -916,6 +916,14 @@
        $res{headers} .= "#ifdef HAVE_CONFIG_H\n";
        $res{headers} .= "#include \"config.h\"\n";
        $res{headers} .= "#endif\n\n";
+
+       $res{headers} .= "#ifdef _MSC_VER\n";
+       $res{headers} .= "#pragma warning(disable:4005)\n";
+       $res{headers} .= "#pragma warning(disable:4013)\n";
+       $res{headers} .= "#pragma warning(disable:4018)\n";
+       $res{headers} .= "#pragma warning(disable:4101)\n";
+       $res{headers} .= "#endif\n\n";
+
        $res{headers} .= "#include <glib.h>\n";
        $res{headers} .= "#include <string.h>\n";
        $res{headers} .= "#include <epan/packet.h>\n\n";



svn path=/trunk/; revision=21262
2007-03-29 02:22:23 +00:00
Ronnie Sahlberg 96f0c77591 regenerate these dissectors using a patched pidl to add some extra pragmas to keep ms compilers happy
the pidl patch required :
Index: lib/Parse/Pidl/Wireshark/NDR.pm
===================================================================
--- lib/Parse/Pidl/Wireshark/NDR.pm     (revision 22005)
+++ lib/Parse/Pidl/Wireshark/NDR.pm     (working copy)
@@ -916,6 +916,14 @@
        $res{headers} .= "#ifdef HAVE_CONFIG_H\n";
        $res{headers} .= "#include \"config.h\"\n";
        $res{headers} .= "#endif\n\n";
+
+       $res{headers} .= "#ifdef _MSC_VER\n";
+       $res{headers} .= "#pragma warning(disable:4005)\n";
+       $res{headers} .= "#pragma warning(disable:4013)\n";
+       $res{headers} .= "#endif\n\n";
+
+
+
        $res{headers} .= "#include <glib.h>\n";
        $res{headers} .= "#include <string.h>\n";
        $res{headers} .= "#include <epan/packet.h>\n\n";



svn path=/trunk/; revision=21260
2007-03-29 01:38:59 +00:00
Ronnie Sahlberg f0756aee6e update winreg to the latest idl
svn path=/trunk/; revision=21256
2007-03-29 00:26:35 +00:00
Ronnie Sahlberg 0ee2141ab0 regenerate winreg using the latest pidl. almost all warnings are now gone
svn path=/trunk/; revision=21255
2007-03-29 00:15:41 +00:00
Ulf Lamping a66bf7f559 as Gisle Vanem noted that MingW doesn't "like" the #pragmas:
change #ifdef _WIN32 -> #ifdef _MSC_VER around pragma warnings

svn path=/trunk/; revision=21228
2007-03-27 21:09:34 +00:00
Ulf Lamping c2408435bc fix the remaining MSVC warnings by setting individual #pragma(warning:disable) settings - this is very certainly not the way to go, but the way to prevent additional warnings rushing in ...
svn path=/trunk/; revision=21221
2007-03-27 02:14:56 +00:00
Ronnie Sahlberg 22ba8c3ad5 add dissection of the WINREG specific bits in the accessmask for WINREG objects
svn path=/trunk/; revision=20968
2007-03-04 01:15:44 +00:00
Ronnie Sahlberg aa3d3793b7 add new PIDL friendly helpers for dissection of integer types.
these new helpers take a parameter that can be used to decorate the tree and summary line (when this parameter is acted upon/implemented in the code inside the helpers)

WINREG was regenerated using a patched version of PIDL. Mainline version of PIDL does not yet have this patch applied.



svn path=/trunk/; revision=20918
2007-02-25 01:34:41 +00:00
Ronnie Sahlberg 4fb922c2c8 regenerate WINREG as a test with the some new PIDL enhancements to show ithe name of the iprocedure a policy handle was created in.
also
fix some mistakes in the conformance file for when handles are opened/created


svn path=/trunk/; revision=20896
2007-02-21 20:23:44 +00:00
Ronnie Sahlberg 83c66c05e9 add a PIDL specific helper for managing dissection of policy handles.
let this helper take a parameter to describe how the policy handle should be
managed (is this an open, close ?) to improve policy handle tracking.
(centralizing to a single function of code makes other changes easier)

create defines to indicate OPEN/CLOSE and use them as a start/test in the winreg conformance file.



svn path=/trunk/; revision=20872
2007-02-20 09:01:50 +00:00
Ronnie Sahlberg 0dfc6a0bf7 changes to comments generated for winreg using the latest svn of pidl
pidl will probably be in flux for a short while and this checkin is to reduce the some noice generated to winreg while other changes are implemented.

this change only affects c-code comments in the pidl generated code


svn path=/trunk/; revision=20871
2007-02-20 08:05:26 +00:00
Ronnie Sahlberg 1401a27b06 the policy handles created/opened in CreateKey and OpenKey are now called "handle" and not "new_handle"
update the conformance file so the correct functions are loaded with the correct PARAM value to signal "in this frame, this policy handle was created"



svn path=/trunk/; revision=20857
2007-02-19 08:26:27 +00:00
Ronnie Sahlberg 02a8ed7abc using the latest SVN of PIDL it is now possible to compile the corrected WINREG.IDL where QueryInfoKey responses are parsed correctly.
(since we do not yet use all of the various idl files from s4 i commented out the import directove from the idl file since othervise it would generate #include directives for files we do not yet provide)



svn path=/trunk/; revision=20816
2007-02-15 09:33:12 +00:00
Ronnie Sahlberg 2c3e8fb51b testing out latest pidl where PARAM values can be used to track policy handles properly
winreg now tracks also where policy handles were closed    which previously didnt work properly



svn path=/trunk/; revision=19800
2006-11-05 04:49:20 +00:00
Ronnie Sahlberg aa7834c8ef pidl has been updated to use WERR instead of DOS error tables.
regenerate some dissectors


svn path=/trunk/; revision=19311
2006-09-24 20:23:17 +00:00
Ronnie Sahlberg d1ce720b3c winreg updates resync idl from s4
svn path=/trunk/; revision=19276
2006-09-21 21:14:33 +00:00
Ronnie Sahlberg 457c3f13c0 pidl now handles empty bitmaps properly so no need for the dummy (dont trigger empty bitmapbug entry)
svn path=/trunk/; revision=19170
2006-09-07 10:53:32 +00:00
Ronnie Sahlberg de2e6dc731 some updates from new pidl
svn path=/trunk/; revision=18408
2006-06-09 21:17:58 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Guy Harris 46cbfd576a The Bitmap routine in lib/Parse/Pidl/Ethereal/NDR.pm in Pidl generates
fields as BASE_DEC; bitmaps are typically displayed in hex in Ethereal,
so it should generate BASE_HEX instead.  (Submitted to
bugzilla.samba.org as bug 3313.)

A couple of the IDL files use "unistr"; define it as "[string] uint16",
so that the resulting dissectors work correctly.

Regenerate dissectors.

svn path=/trunk/; revision=16754
2005-12-10 22:42:19 +00:00
Ronnie Sahlberg 063d484334 regenerate the pidl dissectors with the latest version of pidl so it will put the text representation of DOS errors in the decode as well.
(the hf field for doserrors did not come with the value_string)



svn path=/trunk/; revision=16650
2005-12-02 10:54:05 +00:00
Ronnie Sahlberg 886e7e603b prettification and updates to winreg
svn path=/trunk/; revision=16622
2005-11-29 03:19:52 +00:00
Jörg Mayer f6264ee8d2 Move the packet-dcerpc-*.[hc] from pidl/ back to dissectors.
This makes Ethereal build again - there's no real reason that
ethereal fails to build for such a long time on so many platforms.


svn path=/trunk/; revision=15835
2005-09-16 08:55:51 +00:00