Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly process inline signatures #167

Merged
merged 2 commits into from
May 25, 2022
Merged

Conversation

OlegRa
Copy link
Collaborator

@OlegRa OlegRa commented May 25, 2022

Inline signatures used by the calli MSIL instruction are part of a new high-performance low-level unsafe platform interop (function pointers in delegate* format). The current implementation handles most of the practical use cases except the single one: function pointers as arguments of function pointers. I'll open a separate issue for this use case (very rare). This PR completely covers and fixes #106.

OlegRa added 2 commits May 24, 2022 16:42
… and writing a correct signature as a blob on method body writing.
@OlegRa OlegRa added the enhancement New feature or request label May 25, 2022
@OlegRa OlegRa requested a review from vermorel May 25, 2022 12:23
@vermorel vermorel merged commit 1c952b7 into Lokad:master May 25, 2022
@vermorel
Copy link
Member

@OlegRa This was tricky one! Thank you very much for this contribution.

@OlegRa OlegRa deleted the issues/106 branch May 25, 2022 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tokens in inline IL signatures not mapped to new assembly
2 participants