IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
the generated output for DFS should work now (it compiles cleanly, but
I haven't tested it yet).
Not supported:
- subcontexts()
- relative pointers
- unions of pointers
- DATA_BLOB
- several other things
Also still need to do:
- Remove some spurious spaces in the output
- Do range() checking
Example output is still available at http://samba.org/~jelmer/pidl_samba3/
without warnings now. The only things left to do that are
required for DFS:
- add allocation of arrays in marshalling phase
- handling primitive and deferred data in embedded structures / unions.
Example output is again available from http://samba.org/~jelmer/pidl_samba3/
- Actually generate parsers for unions and structs.
- Support some more builtin types.
- Some more work on supporting arrays.
- Several other small fixes.
I've updated the example output at http://samba.org/~jelmer/
RPC parsers. Currently the following files can be generated:
- include/rpc_BASENAME.h
- rpc_server/srv_BASENAME.c
- rpc_server/srv_BASENAME_nt.c (template only, user has to fill in functions)
- rpc_client/cli_BASENAME.c
- rpc_parse/parse_BASENAME.c
So far, I have been working on getting DFS working. Currently still to do
(all in rpc_parse/parse_BASENAME.c):
- Proper handling of declarations
- Proper handling of scalar/buffer parts of structs and unions
- Subcontexts
- Proper handling of arrays
- Support for custom (non-scalar) types
I hope to have a somewhat more working version later this week.
Some files as currently generated are available from:
http://samba.org/~jelmer/pidl_samba3/
- add wrepl_nbt_name scalar type and do the pull/push in the ndr layer
instead of the caller
- give the flags and group_flag in the wrepl_name a meaning
metze
can use the typedef names in the IDL rather than the autogenerated
function names. This means you can say "NOEMIT security_descriptor"
instead of "NOEMIT dissect_security_descriptor_type" or whatever.
fields in structures with the same name as a structure (i.e
security_ace.object and security_ace_object). I've twiddled the naming
scheme a bit and things are a bit more unique but there is still may be
some naming conflicts in other IDL files.
We are now getting confused over fields with the same name in unions
(e.g security_ace_object_ctr.object) plus some other union weirdness.
avoids building up buckets of unecessary definitions from other parsers.
Get rid of warning and FIXME for unknown data types. This is handled
by the interface depends list and including the appropriate header files.
Change conformance file warning to something more understandable.
Don't generate duplicate duplicate element dissectors for function
call arguments. Hey this makes the winreg dissector compile, but not
link.
and be more usable:
- nicer formatting for summary of set fields in bitmap.
- say "Pointer to Foo" in proto_tree instead of just "Foo" when
dissecting pointers.
- append string value to proto_tree when dissecting pointers to strings.
- strip librpc/gen_ndr prefix from includes so generated files can
live in the ethereal epan/dissectors directory.
Now to work on getting the winreg dissector compiling...