Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modified test.h generator to return error if structure passed to vluke | Tim Potter | 2000-09-18 | 2 | -1/+5 |
| | | | | doesn't match any known structure names. | ||||
* | Removed emacs backup file from repository. | Tim Potter | 2000-09-18 | 1 | -7/+0 |
| | |||||
* | I committed this change to the cliffs archive a while back and have heard | Christopher R. Hertel | 2000-07-15 | 1 | -5/+20 |
| | | | | | | | | | | no complaints. ;) Basically, instead of ignoring single-line C-style comments in IDL source files this change allows token.awk to ignore both single- and multi-line C-style comments. Chris -)----- | ||||
* | some templates needed for the new aparser stuff | Andrew Tridgell | 2000-06-09 | 2 | -0/+27 |
| | |||||
* | started adding support for relative, plus options for autoalignment | Andrew Tridgell | 2000-06-09 | 17 | -42/+421 |
| | | | | so the same parser generator can be uses for cifs and rpc | ||||
* | messing about. | Luke Leighton | 2000-05-31 | 25 | -209/+297 |
| | |||||
* | more templates. | Luke Leighton | 2000-05-29 | 4 | -0/+15 |
| | |||||
* | more SMBtrans, SMBnttrans stuff. | Luke Leighton | 2000-05-28 | 4 | -24/+276 |
| | |||||
* | SMBulogoffX | Luke Leighton | 2000-05-27 | 1 | -0/+2 |
| | |||||
* | optional (0of or 1of) with "[+]" semantics. | Luke Leighton | 2000-05-27 | 2 | -1/+6 |
| | |||||
* | SMBntcreateX | Luke Leighton | 2000-05-27 | 1 | -5/+23 |
| | |||||
* | SMBnttrans. modified io_uint8s to return address of actual data instead | Luke Leighton | 2000-05-27 | 5 | -50/+132 |
| | | | | | | of a copy, on unmarshalling. removed fstring, made it io_string, did same thing. io_string() and io_wstring() should be wrapped in a STRING typedef which is bit-switched on FLG2:Unicode. | ||||
* | SMBtrans response. | Luke Leighton | 2000-05-27 | 1 | -1/+27 |
| | |||||
* | SMBtrans and SMBtrans2, some of it. | Luke Leighton | 2000-05-27 | 1 | -21/+100 |
| | |||||
* | SMBlockingX | Luke Leighton | 2000-05-27 | 1 | -1/+68 |
| | |||||
* | hack to get setprinter working, level2, null sec desc. | Luke Leighton | 2000-05-27 | 1 | -4/+8 |
| | |||||
* | cifs parser. | Luke Leighton | 2000-05-27 | 9 | -6/+707 |
| | |||||
* | more aparser stuff - we now handle everything but the idl headers in srvsvc.idl | Andrew Tridgell | 2000-05-22 | 8 | -140/+699 |
| | |||||
* | error check in vluke.c | Andrew Tridgell | 2000-05-17 | 2 | -7/+198 |
| | | | | more conversion from idl to .struct of srvsvc | ||||
* | started converting matty's srvsvc.idl to a .struct file | Andrew Tridgell | 2000-05-17 | 1 | -0/+78 |
| | |||||
* | added primitive define macros | Andrew Tridgell | 2000-05-17 | 2 | -19/+14 |
| | | | | started converting matty's srvsvc.idl to a .struct file | ||||
* | - added typedefs | Andrew Tridgell | 2000-05-17 | 7 | -65/+131 |
| | | | | | - added parse error checking - made parser more flexible | ||||
* | minor parse updates | Andrew Tridgell | 2000-05-17 | 3 | -8/+7 |
| | |||||
* | a useful script, just go "./build foo.struct" and you get a full | Andrew Tridgell | 2000-05-16 | 1 | -0/+7 |
| | | | | vluke program for all structures in the foo.strct file | ||||
* | the vluke program now takes a structure name on the command line | Andrew Tridgell | 2000-05-16 | 6 | -16/+79 |
| | |||||
* | take the sructure name to run through vluke on the command line | Andrew Tridgell | 2000-05-16 | 7 | -34/+98 |
| | |||||
* | added the ".trailer" type, to mark where a packet turns into a trailer | Andrew Tridgell | 2000-05-16 | 6 | -58/+97 |
| | | | | | this now gives us enough to parse complete function calls, including the return values | ||||
* | another awk parser update | Andrew Tridgell | 2000-05-16 | 19 | -165/+284 |
| | | | | | we can now handle arrays of structures, pointers to structures, pointers in unions etc | ||||
* | started update to handle arbitrary arrays | Andrew Tridgell | 2000-05-15 | 8 | -145/+147 |
| | | | | note: this code is currently broken. | ||||
* | need to allocate the union pointer | Andrew Tridgell | 2000-05-15 | 1 | -0/+2 |
| | |||||
* | align at the end of every structure parser | Andrew Tridgell | 2000-05-15 | 1 | -0/+1 |
| | |||||
* | use grow_size to determine size of dump | Andrew Tridgell | 2000-05-15 | 1 | -1/+1 |
| | |||||
* | added grow_size to prs structure | Andrew Tridgell | 2000-05-15 | 2 | -1/+4 |
| | |||||
* | add uint16 support, start to parse more of spoolss | Andrew Tridgell | 2000-05-14 | 3 | -1/+49 |
| | |||||
* | moved *.tpl templates into templates/ subdirectory | Andrew Tridgell | 2000-05-14 | 1 | -0/+1 |
| | |||||
* | vastly improved awk based code generator | Andrew Tridgell | 2000-05-14 | 31 | -168/+612 |
| | | | | | | | | | now handles recursive function definitions, unions etc it is sufficient for some basic types like UNISTR2 and BUFFER5 to be defined in the *.struct file and used successfully this generator uses templates (in *.tpl files) for all code generation, allowing easy replacement of the backend functions | ||||
* | removed old files ready for new awk parser | Andrew Tridgell | 2000-05-14 | 6 | -361/+0 |
| | |||||
* | renamed the harness program to vluke (for "virtual luke") | Andrew Tridgell | 2000-05-12 | 5 | -8/+8 |
| | | | | added a couple of sample .prs files | ||||
* | preliminary support for unions | Andrew Tridgell | 2000-05-12 | 7 | -189/+327 |
| | |||||
* | this is a awk based code generator. Very primitive at the moment, but | Andrew Tridgell | 2000-05-12 | 6 | -0/+790 |
it was sufficient to generate info level 6 of the add printer driver for spoolss It has two capabilities: 1) generate the header and C code for parsing a structure, given a *.struct file that describes the structure. Evetually I hope to make *.struct compatible with MIDL. 2) it provides a harness that can read a binary data file from prs_dump() which contains real data from a client and display the parse of it from the output of the awk parser. This allows you to "play" with the structure definition until it comes out right, it takes just a few mimutes of playing with the .struct file to work out the right layout. all this is very primitive right now. I hope next to completely replace the spoolss parser with a single .struct file that describes all the structures, and auto-generates working code. That will require quite a bit more work. |