summaryrefslogtreecommitdiff
path: root/source4/build/pidl/eparser.pm
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r1047: Now samr eparser compiles, links and doesn't crash ethereal.Tim Potter1-7/+10
(This used to be commit f18dc9eb887034171dcf28a1f309a69e9088604e)
2007-10-10r1045: Wow - we actually compile (but not link) the autogenerated parser fromTim Potter1-37/+85
samr. The array handling is a bit of a mess though. (This used to be commit 7ff7737832e0e5877ce8bcf329a123a2bce05370)
2007-10-10r1003: Removed e_ndr stuff - too verbose.Tim Potter1-41/+67
Merged across populating %needed with hf index members for functions from old version of eparser. (This used to be commit fc3c5d6fabf397106520ed25a564229ee4853521)
2007-10-10r987: Start replacing ndr_* functions with e_ndr_* and removing stuff relatedTim Potter1-39/+43
to storing data in structure members. (This used to be commit 60942eaa3a8a56b5823bfcb736d25c00b17fec50)
2007-10-10r986: Attempt #3 at eparser. This time use the 'pull' code as a base as it'sTim Potter1-250/+250
closer to what ethereal does. Also try to keep as much of the generated structure wrt pointers/structs/alignment as possible. (This used to be commit 8ad93f03d64befdee67a1b0a0ff9d7c3dfaac9ea)
2007-10-10r954: Start working on typedef parsing.Tim Potter1-15/+11
(This used to be commit 877f7c32a89218fb59adc48bd2c2f331b9600d12)
2007-10-10r953: Remove unused Pull and Print parse functions. Remove Push fromTim Potter1-459/+46
remaining parse function names. Add some debug comments in parser output to aid in debugging. (This used to be commit 8225a3245a2b399ea4a9d8515e299ae5f10dff8c)
2007-10-10r948: Tridge suggested that the best way to write the ethereal parser is toTim Potter1-425/+1120
base it on the generator for the ndr pull/push code rather than trying to get all the alignment and other junk sorted out by hand. This commit (nearly) gets eparser to the same state it previously was but based on parser.pm. We correctly parse simple types, strings and sids. (This used to be commit 6739cd5fdd353c575626cbfbc6339a8a6908daf7)
2007-10-10r806: Checkin of workarea - tridge gave me some good ideas today for a betterTim Potter1-0/+82
way to do this. (This used to be commit c63cb50ca56cb69f7ef39f9828afa61f324f2832)
2007-10-10r759: Fix some perl warnings.Tim Potter1-10/+15
(This used to be commit 1517ef3a986ec213d33b624fbbe8071600cc5b61)
2007-10-10r753: Big reorganisation of everything - also fixes handling of dissectorsTim Potter1-240/+334
for structures. Instead of trying to parse everything to produce output in the right order, generate parser in two steps: 1) gather information and register names, fields, types etc. 2) generate output using data from step 1. (This used to be commit 03863a2ca88c374e168d579e7e4f78877160215c)
2007-10-10r750: Rename global $name -> $module.Tim Potter1-39/+122
Start working on parsing structs. (This used to be commit d162dcb52f96b1adfac7123201d31c07ee5c90d6)
2007-10-10r746: Add entry in proto tree when we don't handle an IDL type.Tim Potter1-4/+50
Start parsing for parsing unions, structs and enums. Don't display field type in display name. (This used to be commit e170d9c3dc5d7abcdba9af98f61f36bb118a96fd)
2007-10-10r744: A bunch of minor fixes. The ethereal pidl parser now dissects simpleTim Potter1-12/+22
samr calls - only the ones that take policy handles and uint32s. (This used to be commit d6e30faeec097822c9cdcc9e4270d0adc139cea8)
2007-10-10r641: readd 'use dump;'Stefan Metzmacher1-0/+1
metze (This used to be commit 8e2c08f8c7f9481d64b87e7d45e98bc48661efbb)
2007-10-10r638: remove unused dependency to Data::Dumper and dumpStefan Metzmacher1-2/+0
(fix some build farm hosts) metze (This used to be commit 8735a393c19711cc0f0cf392684d523b1abd2878)
2007-10-10r617: Sync some minor updates with repository:Tim Potter1-7/+81
- start handing idl string types - comments - generate field types - code to select field types and bases (This used to be commit 3d4148c07c46d5d99bd91e1985540cc4e59db2bc)
2007-10-10r602: Autogenerated packet-dcerpc-samr.c now compiles!Tim Potter1-7/+147
(This used to be commit 0c1069b56e7c80e2b428f6a6b550eacd5ac3d762)
2007-10-10r597: Start generating parser code - only supports uint16, uint32 and policyTim Potter1-229/+61
handle types. (This used to be commit 1e02ccd94edc87f4107d21f7f778f1a88c9e197d)
2007-10-10r550: Remove clientfns.pm module - it was a bad idea.Tim Potter1-1/+1
Start to resurrect eparser.pm for auto-generating ethereal dissectors for rpc. (This used to be commit 993a18dd35fb0b09c088eb2bb38d3e14ff755130)
2003-12-15make pidl no longer dependent on Data::Dumper, which isn't installedAndrew Tridgell1-1/+0
on some systems (This used to be commit a4aa9168c0f80cf6e758c380d41335db50d06869)
2003-11-20use a precompiled grammer in pidl. This speeds up pidl by about aAndrew Tridgell1-1/+1
factor of 2 on my system. (This used to be commit a291dd835f68ae5a109670b1d1ca1a48b2aacfb6)
2003-11-20damn, "use strict;" in util.pm breaks pidl - but why?Andrew Tridgell1-0/+1
(This used to be commit 8f54792392ccaa6c1464ed8ec90e44c0048b5ee2)
2003-11-09- handle void functionsAndrew Tridgell1-3/+3
- bettenicer handling of PROPERTIES - handle size_is() on an out variable that refers to an in variable (This used to be commit 33d9b75783651ccb02f895bc9e0b0d0d59f67b1d)
2003-11-06updated pidl to auto-generate the ndr_push_*() functions for theAndrew Tridgell1-24/+9
Samba4 rpc framework not complete, but sufficient for a number of lsa functions (This used to be commit 42cd6904f51bac1ff92f0aea0deffb11864dfac2)
2001-12-10Added "return offset;" to end of generated function.Tim Potter1-0/+1
We're getting really close now! Ethereal can properly decode OpenPolicy requests and responses using pidl generated code. QueryInfoPolicy is nearly working. (This used to be commit 23a9812987bad6fcf7bf131eafd2bf39d558eeb5)
2001-12-10Fix for pointers to structures in function args.Tim Potter1-0/+9
(This used to be commit e35c62267fb605c4813f7c6178c6061806c74482)
2001-12-09Misc fixes:Tim Potter1-9/+11
- pass correct args when doing arrays of scalar vs buffer types - add NULL data argument to all calls - get rid of unecessary curly brackets - typos (This used to be commit 42a688ea1c012626e247820dec927456e3de9b79)
2001-12-09wchar_t is a scalar.Tim Potter1-0/+1
(This used to be commit 79e56e719cec28373c117efa33e8924470ffcdcf)
2001-12-08Convert a bunch of "prs_foo()" to "offset = prs_foo()"Tim Potter1-8/+8
Return offset from function request and response code. (This used to be commit 83ada5447b05667800dec536ac71d4b7437c77e4)
2001-12-08Removed old commented-out code.Tim Potter1-49/+30
Generate code for parsing arrays. We're nearly ready to start generating real code! (This used to be commit f6f5b8a7189b579eaf1fbf8db91c9ba11b96ac57)
2001-12-08Reinvented has_properties() function lost after HD crash. )-:Tim Potter1-11/+26
Fixed up handling of pointer to scalar type. (This used to be commit eb3dbe113f9f4e755436caa974394e73a285cb03)
2001-12-08Made hyper a simple type.Tim Potter1-13/+14
Changed dissect_ to prs_ to avoid name conflicts. (This used to be commit 2670f1f8e111f2944c35db9ad28e049db123f9a8)
2001-12-06Moved processing of function arguments and structure elementsTim Potter1-41/+95
back in to ParseElement() is_simple_type() -> is_scalar_type() Added more types to scalar type list. Pass scalars/buffers flag down to ParseElement() (This used to be commit 802c219babc94178099dbc898da1a788a2e8a593)
2001-12-06Don't pass down drep (data representation) arg from top level fn.Tim Potter1-13/+31
Decided to use tridge's PARSE_SCALARS and PARSE_BUFFERS pattern for generating code for structures and function calls. For functions, dissect sub-structures with PARSE_SCALARS|PARSE_BUFFERS. For arrays and structures in structures (?) use PARSE_SCALARS on each element of the structure then PARSE_BUFFERS. Determine whether a type is a "simple" type or a struct/union. (This used to be commit bb5bab58177fafd670dba8fe755b6c4753713efd)
2001-11-28Don't pass decorative name to policy handle or ntstatus dissectors.Tim Potter1-12/+12
Pass drep (data representation?) field down from dcerpc dissector. This is whether the packet is big or little endian. (This used to be commit e5ca478614e50f7f45172a7f0e9fd37603502dfc)
2001-11-28Decorate some of the parse functions with element names. This is startingTim Potter1-9/+9
to get closer to be compilable code! (This used to be commit fbfe0795a9421a5c70dcbcaa74292b3fb4ae6974)
2001-11-27Start generating some ethereal code that may actually compile withTim Potter1-21/+19
fewer tweaks. (This used to be commit b045bbec59bf4faac094c5bca7f048c813054209)
2001-11-26Start generating code for unions.Tim Potter1-5/+22
(This used to be commit ac71046754b3a4bee53dab64ed73c176074482a0)
2001-11-24Initial version of ethereal parser generator. Works with test.idlTim Potter1-0/+216
but not much else! (This used to be commit 84fe4a000cb31ca5cdd24d9b8e57a63b8c0e8838)