-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Structured document helpers #3222
Labels
good first issue
high-priority
High priority bugs
json
Parsing and producing JSON format
r2r
Regression tests
RBin
test-required
XML
Parsing and producing XML format
Comments
Related https://github.com/radare/alt |
Closed
I have implemented this for JSON, we will need that for XML too |
XVilka
added
json
Parsing and producing JSON format
XML
Parsing and producing XML format
labels
Mar 8, 2019
There is even more - we can consider to reuse Tree Sitter library to generate parsers for all these languages: |
See also CSV support request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
high-priority
High priority bugs
json
Parsing and producing JSON format
r2r
Regression tests
RBin
test-required
XML
Parsing and producing XML format
R2 already have a json tokenizer, writing an xml one should be simple, and we can also use a C one using shlr/tcc or ALT to parse the structured code and define flags for every opened bracked etc. This can be useful to find and analyze binary stuff inside structured text documents like XML or JSON.
This way we can also replace
ed
.This stuff can be implemented in RBin as a plugin that detects XML and JSON documents by checking the first bytes of the file.
The text was updated successfully, but these errors were encountered: