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

Directly parse ABNF rules from IETF RFCs #1

Open
nradov opened this issue Feb 22, 2016 · 0 comments
Open

Directly parse ABNF rules from IETF RFCs #1

nradov opened this issue Feb 22, 2016 · 0 comments

Comments

@nradov
Copy link
Owner

nradov commented Feb 22, 2016

The Fuzzer class can currently only parse ABNF rules from files that contain only those rules as per the ANTLR grammar. So users who want to test implementations of IETF RFCs first have to manually copy and paste the rules into a separate file.
It would improve usability if this library could take the URI for an RFC as an argument and automatically extract the ABNF rules out of the entire document. However this appears to be a difficult problem in pattern recognition; it's hard to tell whether a particular line contains an ABNF rule, narrative text, or part of the header / footer. The bap aex tool may offer a starting point, however it doesn't appear to produce correct output for some RFCs.

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

No branches or pull requests

1 participant