예제 #1
0
  def __init__(self):
    """Initializes the Turbinia scaffolder."""
    super(TurbiniaJobTaskScaffolder, self).__init__()
    self._job_path = os.path.join('turbinia', 'jobs')
    self._task_path = os.path.join('turbinia', 'workers')
    self._mapping_helper = mapping_helper.MappingHelper()

    self.class_name = ''
예제 #2
0
    def __init__(self):
        """Initializes the Timesketch scaffolder."""
        super(TimesketchBaseScaffolder, self).__init__()
        self._plugin_path = os.path.join('timesketch', 'lib', 'analyzers')
        self._plugin_test_path = os.path.join('timesketch', 'lib', 'analyzers')
        # Timesketch uses 4 spaces instead of 2, thus we need to set a different
        # formatter.
        self._mapping_helper = mapping_helper.MappingHelper(
            formatter_path='.style.ts.yapf')

        self.class_name = ''
예제 #3
0
    def __init__(self):
        """Initializes the plaso scaffolder."""
        super(PlasoBaseScaffolder, self).__init__()
        self._formatter_path = os.path.join('plaso', 'formatters')
        self._formatter_test_path = os.path.join('tests', 'formatters')
        self._parser_path = os.path.join('plaso', 'parsers')
        self._parser_test_path = os.path.join('tests', 'parsers')
        self._mapping_helper = mapping_helper.MappingHelper()

        self.class_name = ''
        self.test_file = ''
        self.test_file_path = ''