-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathTemplateExecutor.hpp
More file actions
48 lines (41 loc) · 1.73 KB
/
Copy pathTemplateExecutor.hpp
File metadata and controls
48 lines (41 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* =============================================================================
* Vader Modular Fuzzer (VMF)
* Copyright (c) 2021-2025 The Charles Stark Draper Laboratory, Inc.
* <vmf@draper.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 (only) as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @license GPL-2.0-only <https://spdx.org/licenses/GPL-2.0-only.html>
* ===========================================================================*/
#pragma once
#include "ExecutorModule.hpp"
using namespace vmf;
class TemplateExecutor : public ExecutorModule
{
public:
static Module* build(std::string name);
virtual void init(ConfigInterface& config);
TemplateExecutor(std::string name);
virtual ~TemplateExecutor();
virtual void registerStorageNeeds(StorageRegistry& registry);
//virtual void registerMetadataNeeds(StorageRegistry& registry);
virtual void runTestCase(StorageModule& storage, StorageEntry* entry);
//virtual void runCalibrationCases(StorageModule& storage, std::unique_ptr<Iterator>& iterator);
//virtual void runTestCases(StorageModule& storage, std::unique_ptr<Iterator>& iterator);
private:
//Handles to storage
int testCaseKey;
int crashedTag;
int hungTag;
int normalTag;
};