Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High level interface needed #26

Open
nishihatapalmer opened this issue Nov 12, 2020 · 1 comment
Open

High level interface needed #26

nishihatapalmer opened this issue Nov 12, 2020 · 1 comment

Comments

@nishihatapalmer
Copy link
Owner

Byteseek so far has focussed on providing matcher, searcher, parser and compiler primitives that compose and give essential core features.
However, it's hard to use effectively or safely. There are "gotcha" search patterns, e.g. wildcards at the end of a pattern that can render a search algorithm painfully slow.

It needs to be possible to use byteseek without requiring specialist knowledge on how to use it safely. Documentation can help here, for those who want to use the primitives directly, but it should be possible to match or search any pattern reasonably efficiently over any data source without having to understand anything more than that.

@nishihatapalmer
Copy link
Owner Author

Will have a high level interface in the next release. Class Expression, instantiate with an expression, it will build all the correct objects for efficient matching and searching. It will only support fixed length sequences (as the main classes of byteseek currently do).

TODO: mitigations for wildcards at start/end of a search sequence. Put logic into searcher factories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant