|
HAL
v4.5.0-124-g47ab54673
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
GUI extension interface for the module identification plugin. More...


Public Member Functions | |
| GuiExtensionModuleIdentification ()=default | |
Default constructor for GuiExtensionModuleIdentification. More... | |
| std::vector< PluginParameter > | get_parameter () const override |
| Get list of configurable parameters. More... | |
| void | set_parameter (const std::vector< PluginParameter > ¶ms) override |
| Set configurable parameters to values. More... | |
| void | execute_function (std::string tag, Netlist *nl, const std::vector< u32 > &mods, const std::vector< u32 > &gats, const std::vector< u32 > &nets) override |
| Execute a function with a specific tag on a netlist. More... | |
| std::vector< ContextMenuContribution > | get_context_contribution (const Netlist *nl, const std::vector< u32 > &mods, const std::vector< u32 > &gats, const std::vector< u32 > &nets) |
| Get context menu contributions based on the current netlist and selection. More... | |
Public Member Functions inherited from hal::GuiExtensionInterface | |
| GuiExtensionInterface (const std::string &toplabel=std::string()) | |
| virtual | ~GuiExtensionInterface () |
| virtual void | register_progress_indicator (std::function< void(int, const std::string &)> pif) |
| virtual void | netlist_loaded (Netlist *nl) |
| virtual void | netlist_about_to_close (Netlist *nl) |
| bool | is_contribution_enabled () const |
| void | set_contribution_enabled (bool enabled) |
| std::string | contribution_top_label () const |
Public Member Functions inherited from hal::AbstractExtensionInterface | |
| AbstractExtensionInterface () | |
| virtual | ~AbstractExtensionInterface () |
GUI extension interface for the module identification plugin.
This class provides a GUI extension interface for the module identification plugin, allowing for parameter configuration, progress indication, and context menu contributions.
Definition at line 28 of file plugin_module_identification.h.
|
default |
Default constructor for GuiExtensionModuleIdentification.
|
overridevirtual |
Execute a function with a specific tag on a netlist.
| [in] | tag | - The tag of the function to execute. |
| [in] | nl | - The netlist to operate on. |
| [in] | mods | - The modules involved. |
| [in] | gats | - The gates involved. |
| [in] | nets | - The nets involved. |
Reimplemented from hal::GuiExtensionInterface.
Definition at line 155 of file plugin_module_identification.cpp.
References hal::module_identification::all_checkable_candidate_types, hal::module_identification::execute(), hal::module_identification::execute_on_gates(), hal::Netlist::get_gate_by_id(), hal::Module::get_gates(), hal::Netlist::get_module_by_id(), log_error, log_warning, hal::module_identification::memory_priority, hal::module_identification::Configuration::with_max_control_signals(), hal::module_identification::Configuration::with_max_thread_count(), hal::module_identification::Configuration::with_multithreading_priority(), and hal::module_identification::Configuration::with_types_to_check().
|
virtual |
Get context menu contributions based on the current netlist and selection.
| [in] | nl | - The netlist to operate on. |
| [in] | mods | - The selected modules. |
| [in] | gats | - The selected gates. |
| [in] | nets | - The selected nets. |
Reimplemented from hal::GuiExtensionInterface.
Definition at line 267 of file plugin_module_identification.cpp.
|
overridevirtual |
Get list of configurable parameters.
Reimplemented from hal::GuiExtensionInterface.
Definition at line 129 of file plugin_module_identification.cpp.
References hal::module_identification::all_checkable_candidate_types, hal::PluginParameter::Boolean, hal::PluginParameter::ComboBox, hal::enum_to_string(), hal::PluginParameter::Integer, hal::PluginParameter::PushButton, and hal::PluginParameter::TabName.
|
overridevirtual |
Set configurable parameters to values.
| [in] | params | - The parameters with values. |
GUI extension
Reimplemented from hal::GuiExtensionInterface.
Definition at line 52 of file plugin_module_identification.cpp.
References hal::module_identification::all_checkable_candidate_types, hal::enum_to_string(), log_error, hal::module_identification::memory_priority, and hal::module_identification::time_priority.