REDasm icon indicating copy to clipboard operation
REDasm copied to clipboard

Open analysis data | Database

Open r3sus opened this issue 3 years ago • 3 comments

Hi.

Please, explain, how do I open the analysis data (.rds). Opening rds directly only allows to analyze it as binary. Choosing exe doesn't checks for rds, and just repeats analysis from scratch.

Also, please, clarify what is Database for. I thought analysis data can be open from here, but I found it empty and searching here led to crash.

Database of active file can be exported as json, but it's just 14 Kb file. and no import here.

Win 7. last dev build Thanks.

There are some side issues and feature requests.

  • context help

forms have the [?] button, but it doesn't shows any context help. tooltips would be nice.

  • interface settings

would be good feature to redraw forms using new settings. also default font size shown as 6, but it's clearly not it. default button doesn't seem to work.

  • hotkeys

also pg up/dn doesn't seem to work well.

when jumping from X-refs, Ctrl+C (and other keys) doesn't work, until you press RMB.

  • memory leak

if the analysis was not finished and the REDAsm is closed normally, the process still works in background, raising the consumed memory - up to maximum allowable, I guess.

r3sus avatar Sep 21 '21 18:09 r3sus

The database parts (file format and API) are not standardized yet, it's one of the reasons why REDasm 3.0 is not released as a stable.

Currently the data is simple json, later is converted to msgpack and compressed with ZLib, REDasm is able to load plain JSON too. For example, these databases are working on REDasm: https://github.com/REDasmOrg/REDasm-Database/tree/master/loaders

Context Help Sure, I can add tooltips.

Interface Settings I can check that, but it's on low priority atm.

HotKeys

  • Do you mean pg up/down in the plain listing view?
  • The CTRL+C issue is in the XRefs dialog or in plain listing view (it's a focus issue?) ?

Memory Leak Yes currently it's not possible to stop an analysis gracefully, it will be fixed during the beta cycle.

Thanks for the feedback btw!

Dax89 avatar Sep 22 '21 09:09 Dax89

Yes, pg up/dn in listing: gif. The ^C hotkey works fine today. Earlier I had the issue in listing: even after highlighting text, ^C didn't copy it. So, analysis data can be only saved for now, load is not implemented yet, and file have to be reanalyzed every time after closing? Also, fancy copying of listing would be nice. like in x64dbg:

example

77B4F913 | 64:FF15 C0000000 | call dword ptr fs:[C0] | 77B4F91A | 83C4 04 | add esp,4 | 77B4F91D | C2 0C00 | ret C | 77B4F920 | B8 03000000 | mov eax,3 |

even coloured if you copy in RTF: image

Perhaps, that might be option for output format in settings or right click context menu.

Thank you.

r3sus avatar Sep 22 '21 11:09 r3sus

So, analysis data can be only saved for now, load is not implemented yet, and file have to be reanalyzed every time after closing?

Yes, exactly, files have to be reanalyzed, I see if I can implement it with BETA 6 or 7

Also, fancy copying of listing would be nice

Nice! This can be done.

Dax89 avatar Sep 24 '21 07:09 Dax89