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

Provide a command line option to specify analysis of a single function body #113

Closed
hermanventer opened this issue Apr 3, 2019 · 0 comments · Fixed by #191
Closed

Provide a command line option to specify analysis of a single function body #113

hermanventer opened this issue Apr 3, 2019 · 0 comments · Fixed by #191
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@hermanventer
Copy link
Collaborator

Issue

When debugging MIRAI in a context where a small repro is not readily available, it is helpful to be able to run MIRAI in a mode where it will only analyze a specified method.

Typically, the summary cache from a full run will still be available, so analysis of a function body in this way can be done with much more context than is convenient to provide in a small test case.

To implement this feature, add a command line option (see also #112) and then add a check to the after_analysis function in checker/src/callbacks.rs that filters out any function that is not the one specified by the command line option.

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

Successfully merging a pull request may close this issue.

1 participant