Skip to content

Research possible linker improvement by involving java side #3589

@radekdoulik

Description

@radekdoulik

Context: #3263

We have to preserve parts of API, which can be used from java side of things to avoid crashes like the one in the link above.

It might be interesting to analyze how complicated it would be to detect the calls from java side in similar way we do in linker with IL code and preserve only those API parts (like *Invoker types), which are used on java side.

I expect it to be quite demanding, as we would need to have a java counterparts to cecil and linker. The gains would probably not be large, it was additional 200kb in sample measured in cec9eb4. Maybe java side "linkers" might export some information for us?

Might be potential hack week project.

Metadata

Metadata

Assignees

Labels

enhancementProposed change to current functionality.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions