HAL
v4.5.0-283-g3f42a39fa
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
plugin_clock_tree_viewer.h
Go to the documentation of this file.
1
// MIT License
2
//
3
// Copyright (c) 2019 Ruhr University Bochum, Chair for Embedded Security. All Rights reserved.
4
// Copyright (c) 2019 Marc Fyrbiak, Sebastian Wallat, Max Hoffmann ("ORIGINAL AUTHORS"). All rights reserved.
5
// Copyright (c) 2021 Max Planck Institute for Security and Privacy. All Rights reserved.
6
// Copyright (c) 2021 Jörn Langheinrich, Julian Speith, Nils Albartus, René Walendy, Simon Klix ("ORIGINAL AUTHORS"). All Rights reserved.
7
// Copyright (c) 2025-2026 Sascha Tommasone. All rights reserved.
8
//
9
// Permission is hereby granted, free of charge, to any person obtaining a copy
10
// of this software and associated documentation files (the "Software"), to deal
11
// in the Software without restriction, including without limitation the rights
12
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
// copies of the Software, and to permit persons to whom the Software is
14
// furnished to do so, subject to the following conditions:
15
//
16
// The above copyright notice and this permission notice shall be included in all
17
// copies or substantial portions of the Software.
18
//
19
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
// SOFTWARE.
26
27
#pragma once
28
29
#include "
hal_core/defines.h
"
30
#include "
hal_core/plugin_system/plugin_interface_base.h
"
31
32
#include <set>
33
#include <string>
34
35
namespace
hal
36
{
37
class
ClockTreeViewerFactory;
38
42
class
PLUGIN_API
ClockTreeViewerPlugin
:
public
BasePluginInterface
43
{
44
public
:
50
[[nodiscard]] std::string get_name()
const override
;
51
57
[[nodiscard]] std::string
get_version
()
const override
;
58
64
[[nodiscard]] std::string get_description()
const override
;
65
71
[[nodiscard]] std::set<std::string> get_dependencies()
const override
;
72
76
void
on_load()
override
;
77
81
void
on_unload()
override
;
82
83
private
:
87
ClockTreeViewerFactory
*m_factory =
nullptr
;
88
};
89
}
// namespace hal
PLUGIN_API
#define PLUGIN_API
Definition:
arch_linux.h:32
hal::BasePluginInterface
Definition:
plugin_interface_base.h:59
hal::ClockTreeViewerFactory
Definition:
clock_tree_viewer_factory.h:34
hal::ClockTreeViewerPlugin
Definition:
plugin_clock_tree_viewer.h:43
defines.h
hal::hgl_upgrade::get_version
Result< u32 > get_version(const rapidjson::Document &document)
Definition:
upgrade_hgl.cpp:289
hal
Definition:
defines.h:45
plugin_interface_base.h
plugins
clock_tree_viewer
include
clock_tree_viewer
plugin_clock_tree_viewer.h
Generated by
1.9.1