polytracker.taint_forest
taint_forest classes
ExportTaintForest
- class polytracker.taint_forest.ExportTaintForest(argument_parser: ArgumentParser)
Bases:
Command
- __init__(argument_parser: ArgumentParser)
- extension_types: List[Type[CommandExtension]] | None = None
An auto-populated list of eny extensions to this command.
- extensions: List[CommandExtension]
- parent_parsers: Tuple[ArgumentParser, ...] = ()
An optional sequence of parent argument parsers from which to parse options.
- run(args)
Callback for when the command is run.
- Parameters:
args – The result of parsing the commandline arguments set up by
Command.__init_arguments__()
.
- subcommand_types: List[Type[Subcommand]] | None = None
An auto-populated list of subcommands of this command.
- subcommands: List[Subcommand]
TaintForest
- class polytracker.taint_forest.TaintForest
Bases:
object
- __init__()
- abstract get_node(label: int, source: Input | None = None) TaintForestNode
- abstract nodes() Iterator[TaintForestNode]
Iterates over the nodes in order of decreasing label
- to_graph() DAG[TaintForestNode]