mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Move binpac code into the main Zeek repository
This is based on commit 48f75b5f6415fe9d597e3e991cec635b1bc400dc from the binpac repository.
This commit is contained in:
parent
a2680d5eca
commit
ff26835976
112 changed files with 14586 additions and 8 deletions
34
tools/binpac/TODO
Normal file
34
tools/binpac/TODO
Normal file
|
@ -0,0 +1,34 @@
|
|||
Big features
|
||||
* Variable context (xid, call in RPC)? -- no variable context
|
||||
* Helpers
|
||||
* Connection states and actions
|
||||
* Case and analyzer redef
|
||||
* &also withinput
|
||||
* Explicit analyzer context (interface + instantiation) "withcontext"
|
||||
+ Interface with C++ and Zeek (events, extern, weird)
|
||||
+ Incremental input
|
||||
+ ASCII protocols
|
||||
+ Reassembly
|
||||
- Dealing with exceptions
|
||||
- Dependency analysis to save parsing time on unused fields
|
||||
- Performance measurement
|
||||
|
||||
Small features
|
||||
* Restructure the code: break up pac.{h,cc}
|
||||
* ref counting (to keep certain structures)
|
||||
* analyzer context as a parameter of class
|
||||
* &autolength
|
||||
* find a better name for "analyzer_context" ("analcxt", "context", "analyzer") $context
|
||||
* &if
|
||||
* &autolength (now &restofdata)
|
||||
* Use vector<> instead of array<>?
|
||||
* set end_of_data when &length = ...
|
||||
- make the `default' case mandatory?
|
||||
- &inline
|
||||
- &warn and &check? (follow &if)
|
||||
- typedef?
|
||||
|
||||
Binpac 1
|
||||
- create a namespace for each .pac file
|
||||
- type equivalence
|
||||
- byteorder() for every type?
|
Loading…
Add table
Add a link
Reference in a new issue