Skip to main content

Module types

Module types 

Source

Structs§

CommandCharacteristics
Properties of a parsed command segment relevant to security analysis.
CommandConfig
Complete command classification configuration.
ParseError
Tree-sitter failed to produce a syntax tree.
ParsedCommand
Structurally decomposed command with arguments in source order.
ParsedFlag
A parsed flag from a command’s argument list.
ParsedPipeline
A fully decomposed compound command.
Redirection
Describes an output redirection that may mutate filesystem state.
ShellSegment
A single evaluable command within a compound pipeline.
SubstitutionSpan
A command substitution’s position and recursively-parsed contents.
UnanalyzableCommand
A command that cannot be statically analyzed.
WrapperSpec
Describes how to strip a transparent wrapper command to find the inner command.

Enums§

CommandArg
An argument in a parsed command line.
IndirectExecution
Classification of indirect execution patterns that may hide commands from static analysis.
Operator
Shell operator separating consecutive pipeline segments.
ResolvedCommand
Result of resolving a command through the indirection layer.