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

Create a MutMirVisitor #81

Open
celinval opened this issue Jun 10, 2024 · 0 comments
Open

Create a MutMirVisitor #81

celinval opened this issue Jun 10, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@celinval
Copy link
Contributor

We currently provide a MirVisitor that allows users to visit the MIR of a function body, but without mutating it. It would be super helpful to provide a new version that allows body mutation.

The mutation would only be applied to the StableMIR body. But that can be quite handy if tools want to apply some transformations before running any analysis. For example, in Kani we instrument the code with extra checks before the analysis.

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

No branches or pull requests

1 participant