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

Generate an "analyzing visitor" #46

Open
ghost opened this issue Sep 17, 2018 · 0 comments
Open

Generate an "analyzing visitor" #46

ghost opened this issue Sep 17, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 17, 2018

In the SARIF SDK, the SARIF validation utility (Sarif.Multitool -validate) visits each node in the SARIF object model, running each validation rule over each node. At the moment, the visiting code is hand-written (see SarifValidationSkimmerBase.cs). The code generator should generate the analyzing visitor.

It might turn out that the RewritingVisitor that the code generator already generates can do the job, but I think I already looked at this question once and decided that it couldn't.

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

No branches or pull requests

0 participants