Skip to content

[FEATURE REQUEST] Serialization support for internal LISA classes #343

@merendamattia

Description

@merendamattia

I would like to request built-in serialization support for some of the internal LISA classes, such as CFG, Statement, CFGNode, etc. Right now, these classes contain fields that are not serializable, which makes it impossible to store or transmit them directly.

While working on EVMLiSA optimizations, I ran into problems when trying to cache analysis results or share objects across processes. Being able to serialize these classes would make caching much simpler and would also allow for easier persistence and distributed use of analysis results.

One approach could be to make these classes implement Serializable or to provide custom serialization methods. Alternatively, annotations like @serializable or configurable serializers for complex fields could be considered.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions