rizinorg / cutter

Free and Open Source Reverse Engineering Platform powered by rizin
https://cutter.re
GNU General Public License v3.0
15.81k stars 1.15k forks source link

better graph export #3104

Open the-Arioch opened 1 year ago

the-Arioch commented 1 year ago

2023-02-02 18_43_18-Cutter_WinTargets_xp_x64_user32 dll

Easy part: when invopking, the export path is set to the cutter.exe, but it would be better prompted to save the Graph file near the opened project file or (if the new, not saved yet project) near the binary file being analysed.

Complex part: PNG is good, but...

  1. can not copy text
  2. can not search for text
  3. raster file - thus problematic for zooming. Either not enough resolution, or file too large
  4. raster file - the scrolling can not be snapped to the logical parts (the boxes)

I wish more formats be available, for example:

karliss commented 1 year ago

There are quite a bit more options available than just png. Svg is already there.

image

For addition of format to be meaningful it should have some significant benefits, over other formats to outweigh the cost of adding one more library both with regards to application size, and also the increasing complexity of build scripts and infrastructure.

the-Arioch commented 1 year ago

I suspect there might be "traditional" picture viewers with DjVu support but without SVG support. For example IrfanView/XnView only had commercial SVG plugins AFAIR. Cost/benefit assessments are on your of course.

My bad about missing file formats. Was in a hurry to remember and report all met issues, but with all excuses - my bad.

So, the issue is reduced to managing the dialog's starting folder property in different scenarios.