dextool.plugin.mutate.backend.analyze.visitor

Members

Enums

ValueKind (from dextool.clang_extensions)
enum ValueKind via public import dextool.clang_extensions : ValueKind;
Undocumented in source.

Functions

makeRootVisitor
VisitorResult makeRootVisitor(FilesysIO fio, ValidateLoc val_loc_, TokenStream tstream, Cache cache)

Construct and configure a visitor to analyze a clang AST for mutations.

Structs

VisitorResult
struct VisitorResult

Contain a visitor and the data.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

The flow of information is: * Visitor. Visit the AST * Transform. Gets data from the AST and transforms them into an abstraction. The abstractions are common points where a mutation schema would want to create mutants. The registered callbacks creates mutants. * AnalyzeResult. Gets the mutants and files that contains mutants. * MutantResult. Takes a AnalyzeResult and transform into code mutations.