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

ISIL Invalid Instructions #291

Closed
ds5678 opened this issue Jun 18, 2024 · 0 comments · Fixed by #293
Closed

ISIL Invalid Instructions #291

ds5678 opened this issue Jun 18, 2024 · 0 comments · Fixed by #293

Comments

@ds5678
Copy link
Contributor

ds5678 commented Jun 18, 2024

Context

Currently, any problem during ISIL generation invalidates the entire set of generated instructions (eg #178).

Proposal

Rather than throwing exceptions and deleting the successfully parsed instructions, Cpp2IL should gracefully continue its analysis and allow downstream consumers to use this partially successful output.

New Instruction

Invalid

This ISIL instruction is emitted when Cpp2IL encounters unexpected problems while attempting to handle a known assembly instruction.

Goal

ISIL generation for all methods, even if some of them have Invalid instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant