polytracker.build¶
build classes¶
Build¶
- class polytracker.build.Build(argument_parser: ArgumentParser)¶
Bases:
Command
- __init__(argument_parser: ArgumentParser)¶
- extension_types: Optional[List[Type[CommandExtension]]] = None¶
An auto-populated list of eny extensions to this command.
- parent: Optional['Plugin']¶
The parent of this plugin, if it is a sub-plugin.
- parent_parsers: Tuple[ArgumentParser, ...] = ()¶
An optional sequence of parent argument parsers from which to parse options.
- run(args: Namespace)¶
Callback for when the command is run.
- Parameters:
args – The result of parsing the commandline arguments set up by
Command.__init_arguments__()
.
- subcommand_types: Optional[List[Type[Subcommand]]] = None¶
An auto-populated list of subcommands of this command.
ExtractBitcode¶
- class polytracker.build.ExtractBitcode(argument_parser: ArgumentParser)¶
Bases:
Command
- __init__(argument_parser: ArgumentParser)¶
- extension_types: Optional[List[Type[CommandExtension]]] = None¶
An auto-populated list of eny extensions to this command.
- help: str = 'extracts LLVM bitcode from a binary (executable, library, object file, ...)'¶
Help string for this command.
- parent: Optional['Plugin']¶
The parent of this plugin, if it is a sub-plugin.
- parent_parsers: Tuple[ArgumentParser, ...] = ()¶
An optional sequence of parent argument parsers from which to parse options.
- run(args: Namespace)¶
Callback for when the command is run.
- Parameters:
args – The result of parsing the commandline arguments set up by
Command.__init_arguments__()
.
- subcommand_types: Optional[List[Type[Subcommand]]] = None¶
An auto-populated list of subcommands of this command.
InstrumentBitcode¶
- class polytracker.build.InstrumentBitcode(argument_parser: ArgumentParser)¶
Bases:
Command
- __init__(argument_parser: ArgumentParser)¶
- extension_types: Optional[List[Type[CommandExtension]]] = None¶
An auto-populated list of eny extensions to this command.
- parent: Optional['Plugin']¶
The parent of this plugin, if it is a sub-plugin.
- parent_parsers: Tuple[ArgumentParser, ...] = ()¶
An optional sequence of parent argument parsers from which to parse options.
- run(args: Namespace)¶
Callback for when the command is run.
- Parameters:
args – The result of parsing the commandline arguments set up by
Command.__init_arguments__()
.
- subcommand_types: Optional[List[Type[Subcommand]]] = None¶
An auto-populated list of subcommands of this command.
InstrumentTargets¶
- class polytracker.build.InstrumentTargets(argument_parser: ArgumentParser)¶
Bases:
Command
- __init__(argument_parser: ArgumentParser)¶
- extension_types: Optional[List[Type[CommandExtension]]] = None¶
An auto-populated list of eny extensions to this command.
- help: str = 'instruments blight journal build targets with polytracker'¶
Help string for this command.
- parent: Optional['Plugin']¶
The parent of this plugin, if it is a sub-plugin.
- parent_parsers: Tuple[ArgumentParser, ...] = ()¶
An optional sequence of parent argument parsers from which to parse options.
- run(args: Namespace)¶
Callback for when the command is run.
- Parameters:
args – The result of parsing the commandline arguments set up by
Command.__init_arguments__()
.
- subcommand_types: Optional[List[Type[Subcommand]]] = None¶
An auto-populated list of subcommands of this command.
LowerBitcode¶
- class polytracker.build.LowerBitcode(argument_parser: ArgumentParser)¶
Bases:
Command
- __init__(argument_parser: ArgumentParser)¶
- extension_types: Optional[List[Type[CommandExtension]]] = None¶
An auto-populated list of eny extensions to this command.
- help: str = 'lowers an LLVM bitcode file to an executable according to a blight journal file'¶
Help string for this command.
- parent: Optional['Plugin']¶
The parent of this plugin, if it is a sub-plugin.
- parent_parsers: Tuple[ArgumentParser, ...] = ()¶
An optional sequence of parent argument parsers from which to parse options.
- run(args: Namespace)¶
Callback for when the command is run.
- Parameters:
args – The result of parsing the commandline arguments set up by
Command.__init_arguments__()
.
- subcommand_types: Optional[List[Type[Subcommand]]] = None¶
An auto-populated list of subcommands of this command.
OptimizeBitcode¶
- class polytracker.build.OptimizeBitcode(argument_parser: ArgumentParser)¶
Bases:
Command
- __init__(argument_parser: ArgumentParser)¶
- extension_types: Optional[List[Type[CommandExtension]]] = None¶
An auto-populated list of eny extensions to this command.
- parent: Optional['Plugin']¶
The parent of this plugin, if it is a sub-plugin.
- parent_parsers: Tuple[ArgumentParser, ...] = ()¶
An optional sequence of parent argument parsers from which to parse options.
- run(args: Namespace)¶
Callback for when the command is run.
- Parameters:
args – The result of parsing the commandline arguments set up by
Command.__init_arguments__()
.
- subcommand_types: Optional[List[Type[Subcommand]]] = None¶
An auto-populated list of subcommands of this command.