polytracker.mapping
This module maps input byte offsets to output byte offsets
mapping classes
FileCavities
- class polytracker.mapping.FileCavities(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.
- help: str = 'finds input byte offsets that do not affect any output byte offsets'
Help string for this command.
- 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.
InputOutputMapping
MapInputsToOutputs
- class polytracker.mapping.MapInputsToOutputs(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.
- help: str = 'generate a mapping of input byte offsets to output byte offsets'
Help string for this command.
- 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.