rizinorg / rizin

UNIX-like reverse engineering framework and command-line toolset.
https://rizin.re
GNU Lesser General Public License v3.0
2.66k stars 357 forks source link

Serialize RzIL #4553

Closed XVilka closed 3 months ago

XVilka commented 3 months ago

Currently we serialize RzAnalysis but do not store RzIL. We might want to consider also serializing it as well.

wargio commented 3 months ago

i don't think it is useful. also if we serialize it we need to de-serialize it.

thestr4ng3r commented 3 months ago

Depends on what kind of info there is that would be worth serializing and restoring. Most of the state of emulation is stored in RzReg and memory instead.

Rot127 commented 3 months ago

Can't think of a specific use case, either. As @thestr4ng3r already said, since the operation depends on input, we would need to save this input state as well. Which sounds like a lot of work, if we don't have any good reason to do so.