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

Support CSV #13763

Closed
radare opened this issue Apr 15, 2019 · 4 comments
Closed

Support CSV #13763

radare opened this issue Apr 15, 2019 · 4 comments

Comments

@radare
Copy link
Collaborator

radare commented Apr 15, 2019

CSV is a pretty nice format for those who like to use SQL or Excel to process the data. Those tools dont support JSON, so having CSV will give us the ability to extend the table widget.

  • Import a CSV to render a table (adjust column sizes)
  • Export any relevant info from r2 into CSV
  • Create a CSV api like the pj_ one we have (maybe reuse the future table api) and create and exporter
  • We need to define which char to use to print in that format, imho it should be a comma :D
  • Columnize as a RCons filter (using the table api (_from_csv_string()))

For example:

afl, > functions.csv # print function list in csv format

Stuff that may be interesting as CSV:

  • Function list
  • Function Instructions
  • Symbols
  • Sections
  • Imports
  • Diffing results
  • Zignatures
  • ..
@radare radare added this to the 3.6.0 milestone Apr 15, 2019
@radare radare added consoleui visual Visual console mode (NOT PANELS!) FEEDBACK WANTED labels Apr 15, 2019
@XVilka
Copy link
Contributor

XVilka commented Apr 15, 2019

Will overlap with CC, for linking the text file as a comment.

@radare radare added this to To do in Console Interface Improvements via automation Apr 17, 2019
@XVilka XVilka modified the milestones: 3.6.0, 3.7.0 Jun 17, 2019
@XVilka XVilka modified the milestones: 3.7.0, 3.8.0 - after r2con Jul 30, 2019
@XVilka XVilka modified the milestones: 3.9.0, 4.0.0 Sep 14, 2019
@radare
Copy link
Collaborator Author

radare commented Sep 23, 2019

This is supported by the RTable api, so we just need to make more use of it and improve the support for creating custom tables, joining them, filter, etc

@radare
Copy link
Collaborator Author

radare commented Oct 23, 2019

we can also use aflt, but this should be supported in other commands like i ones

@XVilka XVilka modified the milestones: 4.0.0, 4.1.0 Oct 24, 2019
@XVilka XVilka modified the milestones: 4.3.0, 4.4.0 Mar 2, 2020
@radare radare modified the milestones: 4.4.0 - pangolin, 4.5.0 Apr 1, 2020
@radare radare mentioned this issue Apr 1, 2020
4 tasks
@XVilka XVilka modified the milestones: 4.5.0 - Organized Chaos, 4.6.0 May 21, 2020
@trufae
Copy link
Collaborator

trufae commented Dec 11, 2020

Done via tables in 7df28e1

@trufae trufae closed this as completed Dec 11, 2020
Console Interface Improvements automation moved this from To do to Done Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants