id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
223 | wiki_explainer.cpp | WerWolv_ImHex/plugins/builtin/source/content/tools/wiki_explainer.cpp | #include <hex/api/content_registry.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/api/localization_manager.hpp>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <fonts/codicons_font.h>
#include <nlohmann/json.hpp>
namespace hex::plugin::builtin {
using namespace std::literal... | 3,708 | C++ | .cpp | 68 | 42.764706 | 162 | 0.610066 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
224 | introduction.cpp | WerWolv_ImHex/plugins/builtin/source/content/tutorials/introduction.cpp | #include <content/providers/memory_file_provider.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/tutorial_manager.hpp>
#include <hex/ui/view.hpp>
namespace hex::plugin::builtin {
void registerIntroductionTutorial() {
using enum TutorialManager::Position;... | 3,812 | C++ | .cpp | 96 | 26.46875 | 143 | 0.533873 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
225 | tutorials.cpp | WerWolv_ImHex/plugins/builtin/source/content/tutorials/tutorials.cpp | namespace hex::plugin::builtin {
void registerIntroductionTutorial();
void registerTutorials() {
registerIntroductionTutorial();
}
} | 155 | C++ | .cpp | 6 | 21.166667 | 40 | 0.721088 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
226 | demangle.cpp | WerWolv_ImHex/plugins/builtin/source/content/helpers/demangle.cpp | #include <content/helpers/demangle.hpp>
#include <llvm/Demangle/Demangle.h>
namespace hex::plugin::builtin {
std::string demangle(const std::string &mangled) {
std::string result = llvm::demangle(mangled);
if (result.empty() || result == mangled)
result = llvm::demangle("_" + mangled);... | 441 | C++ | .cpp | 12 | 30.083333 | 56 | 0.609412 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
227 | view_highlight_rules.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_highlight_rules.cpp | #include "content/views/view_highlight_rules.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/project_file_manager.hpp>
#include <wolv/utils/guards.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {
wolv::math_eval::MathEvaluator<i128> ViewHighlightRules::Rule::Expression::s_ev... | 13,893 | C++ | .cpp | 248 | 41.891129 | 315 | 0.590537 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
228 | view_settings.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_settings.cpp | #include "content/views/view_settings.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/helpers/logger.hpp>
#include <nlohmann/json.hpp>
#include <popups/popup_question.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {
ViewSettings::ViewSettings() : View::Modal("hex.builtin.view.s... | 6,798 | C++ | .cpp | 126 | 34.619048 | 187 | 0.506327 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
229 | view_about.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_about.cpp | #include "content/views/view_about.hpp"
#include "hex/ui/popup.hpp"
#include <hex/api_urls.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/plugin_manager.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/helpers/utils.hpp>
#includ... | 35,916 | C++ | .cpp | 686 | 39.017493 | 227 | 0.553369 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
230 | view_provider_settings.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_provider_settings.cpp | #include "content/views/view_provider_settings.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/task_manager.hpp>
#include <toasts/toast_notification.hpp>
namespace hex::plugin::builtin {
ViewProviderSettings::ViewProviderSettings() : View::Modal("hex.builtin.view.provider_settings.name") {
... | 2,764 | C++ | .cpp | 61 | 32.704918 | 134 | 0.56792 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
231 | view_constants.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_constants.cpp | #include "content/views/view_constants.hpp"
#include <hex/helpers/logger.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/default_paths.hpp>
#include <wolv/utils/string.hpp>
#include <wolv/io/file.hpp>
#include <filesystem>
#include <nlohmann/json.hpp>
#include <fonts/codicons_font.h>
namespace hex::plu... | 6,792 | C++ | .cpp | 124 | 37.717742 | 208 | 0.529137 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
232 | view_bookmarks.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_bookmarks.cpp | #include "content/views/view_bookmarks.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/providers/provider.hpp>
#include ... | 27,244 | C++ | .cpp | 484 | 38.28719 | 270 | 0.522515 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
233 | view_information.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_information.cpp | #include "content/views/view_information.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/providers/provider.hpp>
#include <hex/helpers/magic.hpp>
#include <toasts/toast_notification.hpp>
namespace hex::plugin::builtin... | 11,329 | C++ | .cpp | 190 | 36.068421 | 187 | 0.477869 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
234 | view_data_inspector.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_data_inspector.cpp | #include "content/views/view_data_inspector.hpp"
#include <hex/api/achievement_manager.hpp>
#include <hex/providers/provider.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default_paths.hpp>
#include <fonts/codicons_font.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <pl/pattern_language.hpp>
#... | 19,592 | C++ | .cpp | 407 | 34.434889 | 195 | 0.571968 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
235 | view_logs.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_logs.cpp | #include "content/views/view_logs.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/helpers/logger.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {
ViewLogs::ViewLogs() : View::Floating("hex.builtin.view.logs.name") {
ContentRegistry::Interface::addMenuItem({ "hex.builtin.... | 2,998 | C++ | .cpp | 61 | 38.57377 | 165 | 0.62735 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
236 | view_find.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_find.cpp | #include "content/views/view_find.hpp"
#include <hex/api/imhex_api.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/providers/buffered_reader.hpp>
#include <fonts/codicons_font.h>
#include <array>
#include <ranges>
#include <string>
#include <utility>
#include <content/helpers/demangle.hpp>
#include <... | 47,280 | C++ | .cpp | 838 | 38.461814 | 306 | 0.522813 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
237 | view_achievements.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_achievements.cpp | #include "content/views/view_achievements.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/task_manager.hpp>
#include <fonts/codicons_font.h>
#include <cmath>
namespace hex::plugin::builtin {
ViewAchievements::ViewAchievements() : View::Floating("hex.builtin.view.achievements.name") {
// ... | 20,713 | C++ | .cpp | 357 | 42.694678 | 320 | 0.583621 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
238 | view_command_palette.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_command_palette.cpp | #include "content/views/view_command_palette.hpp"
#include <hex/api/content_registry.hpp>
#include <wolv/utils/guards.hpp>
namespace hex::plugin::builtin {
ViewCommandPalette::ViewCommandPalette() : View::Special("hex.builtin.view.command_palette.name") {
// Add global shortcut to open the command palett... | 10,396 | C++ | .cpp | 178 | 43.410112 | 163 | 0.584209 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
239 | view_hex_editor.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_hex_editor.cpp | #include "content/views/view_hex_editor.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/crypto.hpp>
#include <hex/helpers/default_paths.hpp... | 64,990 | C++ | .cpp | 1,072 | 40.339552 | 254 | 0.516943 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
240 | view_patches.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_patches.cpp | #include "content/views/view_patches.hpp"
#include <hex/providers/provider.hpp>
#include <hex/api/project_file_manager.hpp>
#include <nlohmann/json.hpp>
#include <content/providers/undo_operations/operation_write.hpp>
#include <content/providers/undo_operations/operation_insert.hpp>
#include <content/providers/undo_... | 9,256 | C++ | .cpp | 165 | 39.236364 | 217 | 0.549115 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
241 | view_tools.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_tools.cpp | #include "content/views/view_tools.hpp"
#include <imgui_internal.h>
#include <hex/api/content_registry.hpp>
#include <hex/api/layout_manager.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {
ViewTools::ViewTools() : View::Window("hex.builtin.view.tools.name", ICON_VS_TOOLS) {
m_drag... | 4,245 | C++ | .cpp | 79 | 41.037975 | 115 | 0.592226 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
242 | view_pattern_data.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_pattern_data.cpp | #include <content/views/view_pattern_data.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/providers/memory_provider.hpp>
#include <fonts/codicons_font.h>
#include <pl/patterns/pattern.hpp>
#include <wolv/utils/lock.hpp>
namespace hex::plugin::builtin {
ViewPatternData::ViewPatternData() : View::Wind... | 3,876 | C++ | .cpp | 71 | 43.126761 | 197 | 0.623514 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
243 | view_pattern_editor.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_pattern_editor.cpp | #include "content/views/view_pattern_editor.hpp"
#include "fonts/blendericons_font.h"
#include <hex/api/content_registry.hpp>
#include <hex/api/project_file_manager.hpp>
#include <pl/patterns/pattern.hpp>
#include <pl/core/preprocessor.hpp>
#include <pl/core/parser.hpp>
#include <pl/core/ast/ast_node_variable_decl.hp... | 113,976 | C++ | .cpp | 1,940 | 40.997423 | 331 | 0.542957 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
244 | view_data_processor.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_data_processor.cpp | #include "content/views/view_data_processor.hpp"
#include <toasts/toast_notification.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/providers/provider.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default... | 51,266 | C++ | .cpp | 1,018 | 34.434185 | 199 | 0.525211 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
245 | view_theme_manager.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_theme_manager.cpp | #include "content/views/view_theme_manager.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/theme_manager.hpp>
#include <wolv/io/file.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {
ViewThemeManager::ViewThemeManager() : View::Floating("hex.builtin.view.theme_manager.name") ... | 5,591 | C++ | .cpp | 102 | 38.970588 | 179 | 0.543474 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
246 | view_store.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_store.cpp | #include "content/views/view_store.hpp"
#include <hex/api/theme_manager.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api_urls.hpp>
#include <hex/api/content_registry.hpp>
#include <popups/popup_notification.hpp>
#include <toasts/toast_notification.hpp>
#include <imgui.h>
#include <hex/helpers/utils... | 16,185 | C++ | .cpp | 306 | 37.388889 | 213 | 0.544575 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
247 | view_tutorials.cpp | WerWolv_ImHex/plugins/builtin/source/content/views/view_tutorials.cpp | #include "content/views/view_tutorials.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/tutorial_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <fonts/codicons_font.h>
#include <ranges>
namespace hex::plugin::builtin {
ViewTutorials::ViewTutorials() : View::Floating("hex.builtin.view.t... | 3,021 | C++ | .cpp | 56 | 40.910714 | 224 | 0.604004 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
248 | popup_hex_editor_find.cpp | WerWolv_ImHex/plugins/builtin/source/content/popups/hex_editor/popup_hex_editor_find.cpp | #include "content/popups/hex_editor/popup_hex_editor_find.hpp"
#include "content/views/view_hex_editor.hpp"
#include <hex/helpers/crypto.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/providers/buffered_reader.hpp>
#include <fonts/codicons_font.h>
#include <bit>
#include <codecvt>
namespace hex::... | 12,845 | C++ | .cpp | 266 | 32.233083 | 184 | 0.530342 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
249 | library_ui.cpp | WerWolv_ImHex/plugins/ui/source/library_ui.cpp | #include <hex/plugin.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
#include <ui/hex_editor.hpp>
#include <ui/pattern_drawer.hpp>
#include <ui/widgets.hpp>
IMHEX_LIBRARY_SETUP("UI") {
hex::log::debug("Using romfs: '{}'", romfs::name());
for (auto &p... | 455 | C++ | .cpp | 12 | 35.333333 | 106 | 0.704545 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
250 | pattern_drawer.cpp | WerWolv_ImHex/plugins/ui/source/ui/pattern_drawer.cpp | #include <ui/pattern_drawer.hpp>
#include <pl/core/lexer.hpp>
#include <pl/patterns/pattern_array_dynamic.hpp>
#include <pl/patterns/pattern_array_static.hpp>
#include <pl/patterns/pattern_bitfield.hpp>
#include <pl/patterns/pattern_boolean.hpp>
#include <pl/patterns/pattern_character.hpp>
#include <pl/patterns/patte... | 58,298 | C++ | .cpp | 1,170 | 36.149573 | 365 | 0.568051 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
251 | hex_editor.cpp | WerWolv_ImHex/plugins/ui/source/ui/hex_editor.cpp | #include <algorithm>
#include <ui/hex_editor.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/encoding_file.hpp>
#include <hex/helpers/utils.hpp>
#include <wolv/utils/guards.hpp>
#include <fonts/codicons_font.h>
#include <hex/providers/buffered_reader.hp... | 57,807 | C++ | .cpp | 895 | 41.910615 | 311 | 0.505109 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
252 | plugin_visualizers.cpp | WerWolv_ImHex/plugins/visualizers/source/plugin_visualizers.cpp | #include <hex/plugin.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
namespace hex::plugin::visualizers {
void registerPatternLanguageVisualizers();
void registerPatternLanguageInlineVisualizers();
}
using namespace hex;
using namespace hex::plugin... | 723 | C++ | .cpp | 17 | 39.176471 | 106 | 0.756447 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
253 | pl_inline_visualizers.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_inline_visualizers.cpp | #include <hex/api/content_registry.hpp>
#include <imgui.h>
#include <pl/patterns/pattern.hpp>
#include <hex/helpers/fmt.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::visualizers {
namespace {
void drawColorInlineVisualizer(pl::ptrn::Pattern &, bool, std::span<const pl::core::Token::Lit... | 2,891 | C++ | .cpp | 45 | 53.711111 | 188 | 0.661593 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
254 | pl_visualizers.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_visualizers.cpp | #include <hex/api/content_registry.hpp>
#include <pl/patterns/pattern.hpp>
namespace hex::plugin::visualizers {
void drawLinePlotVisualizer(pl::ptrn::Pattern &, bool, std::span<const pl::core::Token::Literal> arguments);
void drawScatterPlotVisualizer(pl::ptrn::Pattern &, bool, std::span<const pl::core::Tok... | 2,735 | C++ | .cpp | 27 | 95 | 139 | 0.696779 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
255 | 3d_model.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_visualizers/3d_model.cpp | #include <algorithm>
#include <hex/helpers/utils.hpp>
#include <content/visualizer_helpers.hpp>
#include <fonts/codicons_font.h>
#include <fonts/blendericons_font.h>
#include <imgui.h>
#include <imgui_internal.h>
#include <hex/helpers/opengl.hpp>
#include <opengl_support.h>
#include <numbers>
#include <hex/ui/imgu... | 39,521 | C++ | .cpp | 757 | 37.083223 | 203 | 0.534622 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
256 | scatter_plot.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_visualizers/scatter_plot.cpp | #include <hex/helpers/utils.hpp>
#include <content/visualizer_helpers.hpp>
#include <implot.h>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
namespace hex::plugin::visualizers {
void drawScatterPlotVisualizer(pl::ptrn::Pattern &, bool shouldReset, std::span<const pl::core::Token::Literal> argum... | 1,111 | C++ | .cpp | 22 | 41.954545 | 128 | 0.643188 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
257 | image.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_visualizers/image.cpp | #include <hex/helpers/utils.hpp>
#include <content/visualizer_helpers.hpp>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
namespace hex::plugin::visualizers {
std::vector<u32> getIndices(pl::ptrn::Pattern *colorTablePattern, u128 width, u128 height);
ImGuiExt::Texture getTexture(pl::ptrn::Pat... | 6,239 | C++ | .cpp | 129 | 36.627907 | 148 | 0.56471 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
258 | coordinates.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_visualizers/coordinates.cpp | #include <hex/helpers/utils.hpp>
#include <content/visualizer_helpers.hpp>
#include <imgui.h>
#include <hex/api/task_manager.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/http_requests.hpp>
#include <nlohmann/json.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <romfs/romfs.hpp>
na... | 5,868 | C++ | .cpp | 95 | 43.463158 | 166 | 0.526957 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
259 | digital_signal.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_visualizers/digital_signal.cpp | #include <hex/helpers/utils.hpp>
#include <content/visualizer_helpers.hpp>
#include <implot.h>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <pl/patterns/pattern_bitfield.hpp>
namespace hex::plugin::visualizers {
void drawDigitalSignalVisualizer(pl::ptrn::Pattern &, bool shouldReset, s... | 3,888 | C++ | .cpp | 78 | 35.846154 | 168 | 0.540512 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
260 | line_plot.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_visualizers/line_plot.cpp | #include <hex/helpers/utils.hpp>
#include <content/visualizer_helpers.hpp>
#include <implot.h>
#include <imgui.h>
#include <hex/ui/imgui_imhex_extensions.h>
namespace hex::plugin::visualizers {
void drawLinePlotVisualizer(pl::ptrn::Pattern &, bool shouldReset, std::span<const pl::core::Token::Literal> argument... | 904 | C++ | .cpp | 20 | 37.15 | 125 | 0.638857 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
261 | timestamp.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_visualizers/timestamp.cpp | #include <hex/helpers/utils.hpp>
#include <content/visualizer_helpers.hpp>
#include <numbers>
#include <imgui.h>
#include <hex/api/imhex_api.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <chrono>
#include <fmt/chrono.h>
namespace hex::plugin::visualizers {
void drawTimestampVisualizer(pl::ptrn::Pa... | 5,094 | C++ | .cpp | 78 | 51.230769 | 183 | 0.579791 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
262 | sound.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_visualizers/sound.cpp | #include <hex/helpers/utils.hpp>
#include <content/visualizer_helpers.hpp>
#include <implot.h>
#include <imgui.h>
#include <miniaudio.h>
#include <fonts/codicons_font.h>
#include <hex/api/task_manager.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
namespace hex::plugin::visualizers {
void drawSoundVisualizer(... | 4,880 | C++ | .cpp | 96 | 38.447917 | 169 | 0.584822 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
263 | table.cpp | WerWolv_ImHex/plugins/visualizers/source/content/pl_visualizers/table.cpp | #include <hex/helpers/utils.hpp>
#include <content/visualizer_helpers.hpp>
#include <imgui.h>
#include <imgui_internal.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <pl/patterns/pattern_array_static.hpp>
#include <pl/patterns/pattern_array_dynamic.hpp>
#include <pl/patterns/pattern_bitfield.hpp>
namespace... | 2,276 | C++ | .cpp | 46 | 38.130435 | 127 | 0.582507 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
264 | plugin_yara.cpp | WerWolv_ImHex/plugins/yara_rules/source/plugin_yara.cpp | #include <hex/plugin.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
#include "content/views/view_yara.hpp"
using namespace hex;
using namespace hex::plugin::yara;
namespace hex::plugin::yara {
void registerDataInformationSections();
void registerV... | 739 | C++ | .cpp | 20 | 33.3 | 106 | 0.715493 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
265 | data_information_sections.cpp | WerWolv_ImHex/plugins/yara_rules/source/content/data_information_sections.cpp | #include <hex/api/content_registry.hpp>
#include <imgui.h>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/default_paths.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <content/yara_rule.hpp>
#include <romfs/romfs.hpp>
namespace hex::plugin::yara {
class InformationAdvancedFileInformation : ... | 4,143 | C++ | .cpp | 83 | 33.951807 | 135 | 0.544081 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
266 | yara_rule.cpp | WerWolv_ImHex/plugins/yara_rules/source/content/yara_rule.cpp | #include <content/yara_rule.hpp>
#include <wolv/literals.hpp>
#include <wolv/utils/guards.hpp>
#include <wolv/utils/string.hpp>
#include <wolv/io/file.hpp>
// <yara/types.h>'s RE type has a zero-sized array, which is not allowed in ISO C++.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
#incl... | 7,546 | C++ | .cpp | 162 | 34.351852 | 145 | 0.570844 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
267 | view_yara.cpp | WerWolv_ImHex/plugins/yara_rules/source/content/views/view_yara.cpp | #include "content/views/view_yara.hpp"
#include <hex/api/content_registry.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/helpers/default_paths.hpp>
#include <toasts/toast_notification.hpp>
#include <popups/popup_file_chooser.hpp>
#include <filesystem>
#include <wolv/io... | 11,585 | C++ | .cpp | 230 | 34.886957 | 224 | 0.520376 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
268 | plugin_hashes.cpp | WerWolv_ImHex/plugins/hashes/source/plugin_hashes.cpp | #include <hex/plugin.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
#include <content/views/view_hashes.hpp>
namespace hex::plugin::hashes {
void registerHashes();
}
using namespace hex;
using namespace hex... | 1,045 | C++ | .cpp | 22 | 43.454545 | 131 | 0.733202 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
269 | hashes.cpp | WerWolv_ImHex/plugins/hashes/source/content/hashes.cpp | #include <hex/api/content_registry.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/crypto.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/providers/buffered_reader.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <nlohmann/json.hpp>
#include <wolv/literals.hpp>
#include <HashFacto... | 30,194 | C++ | .cpp | 555 | 42.322523 | 251 | 0.606055 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
270 | view_hashes.cpp | WerWolv_ImHex/plugins/hashes/source/content/views/view_hashes.cpp | #include "content/views/view_hashes.hpp"
#include <hex/api/project_file_manager.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/providers/memory_provider.hpp>
#include <hex/helpers/crypto.hpp>
#include <hex/ui/popup.hpp>
#include <fonts/codicons_font.h>
#include <vector>
namespace hex::plugin::hashes... | 11,837 | C++ | .cpp | 231 | 35.78355 | 234 | 0.538241 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
271 | plugin_windows.cpp | WerWolv_ImHex/plugins/windows/source/plugin_windows.cpp | #include <hex/plugin.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/theme_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
#include <nlohmann/json.hpp>
#include "views/view_tty_console.hpp"
#include <windows.h>
using namespace hex;
namespace hex::plugin::windows {
voi... | 2,070 | C++ | .cpp | 46 | 38.76087 | 206 | 0.686597 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
272 | view_tty_console.cpp | WerWolv_ImHex/plugins/windows/source/views/view_tty_console.cpp | #include "views/view_tty_console.hpp"
#include <imgui_internal.h>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <toasts/toast_notification.hpp>
#include <wolv/utils/guards.hpp>
#include <windows.h>
namespace hex::plugin::windows {
ViewTTYConsole::ViewTTYConsole() : View::Windo... | 11,882 | C++ | .cpp | 246 | 35.296748 | 145 | 0.563803 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
273 | settings_entries.cpp | WerWolv_ImHex/plugins/windows/source/content/settings_entries.cpp | #include <hex/api/content_registry.hpp>
#include <hex/helpers/fmt.hpp>
#include <imgui.h>
#include <nlohmann/json.hpp>
#include <windows.h>
namespace hex::plugin::windows {
namespace {
constexpr auto ImHexContextMenuKey = R"(Software\Classes\*\shell\ImHex)";
void addImHexContextMenuEntry() {
... | 2,600 | C++ | .cpp | 48 | 42.75 | 191 | 0.627172 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
274 | ui_items.cpp | WerWolv_ImHex/plugins/windows/source/content/ui_items.cpp | #include <hex/api/content_registry.hpp>
#include <hex/helpers/utils.hpp>
#include <windows.h>
#include <psapi.h>
#include <imgui.h>
#include <fonts/codicons_font.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <hex/api/event_manager.hpp>
namespace hex::plugin::windows {
void addFooterItems() {
... | 3,398 | C++ | .cpp | 71 | 33.225352 | 189 | 0.552392 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
275 | plugin_diffing.cpp | WerWolv_ImHex/plugins/diffing/source/plugin_diffing.cpp | #include <hex/plugin.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
#include "content/views/view_diff.hpp"
namespace hex::plugin::diffing {
void registerDiffingAlgorithms();
}
using namespace hex;
using namespace hex::plugin::diffing;
IMHEX_PLUGIN_... | 668 | C++ | .cpp | 17 | 35.941176 | 106 | 0.726135 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
276 | diffing_algorithms.cpp | WerWolv_ImHex/plugins/diffing/source/content/diffing_algorithms.cpp | #include <hex.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/providers/buffered_reader.hpp>
#include <wolv/utils/guards.hpp>
#include <wolv/literals.hpp>
#include <edlib.h>
#include <imgui.h>
#include <hex/api/task_manager.hpp>
namespace hex::plugin::diffing {
using namespace ContentRegistry::Diffi... | 9,030 | C++ | .cpp | 163 | 39.104294 | 143 | 0.563478 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
277 | view_diff.cpp | WerWolv_ImHex/plugins/diffing/source/content/views/view_diff.cpp | #include "content/views/view_diff.hpp"
#include <hex/api/imhex_api.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/providers/buffered_reader.hpp>
#include <fonts/codicons_font.h>
#include <wolv/utils/guards.hpp>
namespace hex::plugin::diffing {
using DifferenceType = ContentRegistry::Diffing::DifferenceType;... | 15,487 | C++ | .cpp | 297 | 37.037037 | 161 | 0.559571 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
278 | plugins.cpp | WerWolv_ImHex/tests/plugins/source/plugins.cpp | #include <hex/api/plugin_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/default_paths.hpp>
using namespace hex;
class PluginLoader {
public:
PluginLoader() {
for (const auto &dir : paths::Plugins.read()) {
PluginManager::addLoadPath(dir);
}
PluginManager:... | 411 | C++ | .cpp | 15 | 22.733333 | 55 | 0.684478 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
279 | endian.cpp | WerWolv_ImHex/tests/algorithms/source/endian.cpp | #include <hex/helpers/utils.hpp>
#include <hex/test/test_provider.hpp>
#include <hex/test/tests.hpp>
TEST_SEQUENCE("32BitIntegerEndianSwap") {
TEST_ASSERT(hex::changeEndianness<u32>(0xAABBCCDD, std::endian::big) == 0xDDCCBBAA);
TEST_SUCCESS();
};
TEST_SEQUENCE("64BitFloatEndianSwap") {
double floatValue ... | 718 | C++ | .cpp | 15 | 44.333333 | 130 | 0.733142 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
280 | crypto.cpp | WerWolv_ImHex/tests/algorithms/source/crypto.cpp | #include <hex/helpers/crypto.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/test/test_provider.hpp>
#include <hex/test/tests.hpp>
#include <random>
#include <vector>
#include <array>
#include <algorithm>
#include <fmt/ranges.h>
struct EncodeChek {
std::vector<u8> vec;
std::string string;
};
TEST_SEQUEN... | 70,660 | C++ | .cpp | 392 | 173.22449 | 1,295 | 0.345302 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
281 | main.cpp | WerWolv_ImHex/tests/common/source/main.cpp | #include <hex.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/test/tests.hpp>
#include <hex/api/plugin_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/event_manager.hpp>
#include <cstdlib>
int test(int argc, char **argv) {
... | 1,447 | C++ | .cpp | 48 | 24.020833 | 75 | 0.607631 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
282 | common.cpp | WerWolv_ImHex/tests/helpers/source/common.cpp | #include <hex/test/tests.hpp>
#include <hex/test/test_provider.hpp>
#include <hex/helpers/crypto.hpp>
#include <algorithm>
#include <vector>
TEST_SEQUENCE("TestSucceeding") {
TEST_SUCCESS();
};
TEST_SEQUENCE("TestFailing", FAILING) {
TEST_FAIL();
};
TEST_SEQUENCE("TestProvider_read") {
std::vector<u8> ... | 2,519 | C++ | .cpp | 62 | 36.193548 | 116 | 0.622541 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
283 | net.cpp | WerWolv_ImHex/tests/helpers/source/net.cpp | #include <hex/test/tests.hpp>
#include <hex/api_urls.hpp>
#include <hex/helpers/http_requests.hpp>
#include <wolv/io/file.hpp>
using namespace std::literals::string_literals;
TEST_SEQUENCE("StoreAPI") {
hex::HttpRequest request("GET", ImHexApiURL + "/store"s);
auto result = request.execute().get();
if ... | 1,212 | C++ | .cpp | 35 | 29.685714 | 97 | 0.646247 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
284 | file.cpp | WerWolv_ImHex/tests/helpers/source/file.cpp | #include <hex/test/tests.hpp>
#include <wolv/io/file.hpp>
using namespace std::literals::string_literals;
TEST_SEQUENCE("FileAccess") {
const auto FilePath = std::fs::current_path() / "file.txt";
const auto FileContent = "Hello World";
std::fs::create_directories(FilePath.parent_path());
{
... | 1,888 | C++ | .cpp | 57 | 25.859649 | 81 | 0.591825 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
285 | utils.cpp | WerWolv_ImHex/tests/helpers/source/utils.cpp | #include <hex/test/tests.hpp>
#include <hex/helpers/utils.hpp>
using namespace std::literals::string_literals;
TEST_SEQUENCE("SplitStringAtChar") {
const std::string TestString = "Hello|World|ABCD|Test|";
const std::vector<std::string> TestSplitVector = { "Hello", "World", "ABCD", "Test", "... | 1,069 | C++ | .cpp | 22 | 44.772727 | 102 | 0.664417 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
286 | example_plugin.cpp | WerWolv_ImHex/cmake/sdk/template/source/example_plugin.cpp | #include <hex/plugin.hpp>
// Browse through the headers in lib/libimhex/include/hex/api/ to see what you can do with the API.
// Most important ones are <hex/api/imhex_api.hpp> and <hex/api/content_registry.hpp>
// This is the main entry point of your plugin. The code in the body of this construct will be executed
//... | 549 | C++ | .cpp | 9 | 59.444444 | 103 | 0.755102 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
287 | main.cpp | WerWolv_ImHex/main/updater/source/main.cpp | #include <hex/api_urls.hpp>
#include <hex/api/imhex_api.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/default_paths.hpp>
using namespace std::literals::string_literals;
std::string getUpdateUrl(std::string_view versionType, std::string_view operatingSystem) {
... | 6,259 | C++ | .cpp | 138 | 36.347826 | 126 | 0.59954 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
288 | main.cpp | WerWolv_ImHex/main/forwarder/source/main.cpp | /**
* This is a simple forwarder that launches the main ImHex executable with the
* same command line as the current process. The reason for this is that even
* though ImHex is a GUI application in general, it also has a command line
* interface that can be used to perform various tasks. The issue with this is
* t... | 4,454 | C++ | .cpp | 81 | 49.555556 | 165 | 0.712646 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
289 | stacktrace.cpp | WerWolv_ImHex/main/gui/source/stacktrace.cpp | #include <stacktrace.hpp>
#include <hex/helpers/fmt.hpp>
#include <array>
#include <llvm/Demangle/Demangle.h>
namespace {
[[maybe_unused]] std::string tryDemangle(const std::string &symbolName) {
if (auto variant1 = llvm::demangle(symbolName); variant1 != symbolName)
return variant1;
... | 6,435 | C++ | .cpp | 141 | 31.553191 | 149 | 0.544389 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
290 | main.cpp | WerWolv_ImHex/main/gui/source/main.cpp | #include <hex.hpp>
#include <hex/helpers/logger.hpp>
#include "window.hpp"
#include "init/splash_window.hpp"
#include "crash_handlers.hpp"
#include <hex/api/task_manager.hpp>
#include <hex/api/plugin_manager.hpp>
namespace hex::init {
int runImHex();
void runCommandLine(int argc, char **argv);
}
/**
* @... | 1,587 | C++ | .cpp | 40 | 35.8 | 141 | 0.695369 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
291 | crash_handlers.cpp | WerWolv_ImHex/main/gui/source/crash_handlers.cpp | #include <hex/api/project_file_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/workspace_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/helpers/default_paths.hpp>
#include <wolv/utils/string.hpp>
#include <window.hpp>
#include <init/tasks.hpp>
#include ... | 7,206 | C++ | .cpp | 171 | 32.076023 | 126 | 0.60261 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
292 | linux.cpp | WerWolv_ImHex/main/gui/source/messaging/linux.cpp | #if defined(OS_LINUX)
#include <stdexcept>
#include <hex/helpers/intrinsics.hpp>
#include <hex/helpers/logger.hpp>
#include "messaging.hpp"
namespace hex::messaging {
void sendToOtherInstance(const std::string &eventName, const std::vector<u8> &args) {
hex::unused(eventName);
hex::unused(args);... | 580 | C++ | .cpp | 17 | 29.411765 | 108 | 0.710145 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
293 | macos.cpp | WerWolv_ImHex/main/gui/source/messaging/macos.cpp | #if defined(OS_MACOS)
#include <stdexcept>
#include <hex/helpers/intrinsics.hpp>
#include <hex/helpers/logger.hpp>
#include "messaging.hpp"
namespace hex::messaging {
void sendToOtherInstance(const std::string &eventName, const std::vector<u8> &args) {
hex::unused(eventName);
hex::unused(args);... | 576 | C++ | .cpp | 17 | 29.411765 | 108 | 0.710145 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
294 | common.cpp | WerWolv_ImHex/main/gui/source/messaging/common.cpp | #include <optional>
#include <hex/api/imhex_api.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/logger.hpp>
#include "messaging.hpp"
namespace hex::messaging {
void messageReceived(const std::string &eventName, const std::vector<u8> &args) {
log::debug("Received event '{}' with size {}",... | 1,202 | C++ | .cpp | 28 | 34.285714 | 113 | 0.629281 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
295 | win.cpp | WerWolv_ImHex/main/gui/source/messaging/win.cpp | #if defined(OS_WINDOWS)
#include "messaging.hpp"
#include <hex/helpers/logger.hpp>
#include <windows.h>
namespace hex::messaging {
std::optional<HWND> getImHexWindow() {
HWND imhexWindow = nullptr;
::EnumWindows([](HWND hWnd, LPARAM ret) -> BOOL {
// Get the window name
... | 2,551 | C++ | .cpp | 60 | 32.133333 | 121 | 0.595024 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
296 | web.cpp | WerWolv_ImHex/main/gui/source/messaging/web.cpp | #if defined(OS_WEB)
#include <stdexcept>
#include <hex/helpers/intrinsics.hpp>
#include <hex/helpers/logger.hpp>
#include "messaging.hpp"
namespace hex::messaging {
void sendToOtherInstance(const std::string &eventName, const std::vector<u8> &args) {
hex::unused(eventName);
hex::unused(args);
... | 578 | C++ | .cpp | 17 | 29.294118 | 108 | 0.709091 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
297 | splash_window.cpp | WerWolv_ImHex/main/gui/source/init/splash_window.cpp | #include "window.hpp"
#include "init/splash_window.hpp"
#include <hex/api/imhex_api.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/logger.hpp>
#include <fmt/chrono.h>
#include <romfs/romfs.hpp>
#include <imgui.h>
#include <imgui_intern... | 22,897 | C++ | .cpp | 462 | 36.807359 | 193 | 0.57351 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
298 | tasks.cpp | WerWolv_ImHex/main/gui/source/init/tasks.cpp | #include "init/tasks.hpp"
#include <imgui.h>
#include <romfs/romfs.hpp>
#include <hex/helpers/http_requests.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default_paths.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/plugin_manager.hpp>
#include <hex/api/ac... | 9,722 | C++ | .cpp | 217 | 33.663594 | 144 | 0.566967 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
299 | common.cpp | WerWolv_ImHex/main/gui/source/init/run/common.cpp | #include <hex/api/event_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <init/splash_window.hpp>
#include <init/tasks.hpp>
namespace hex::init {
/**
* @brief Handles a file open request by opening the file specified by OS-specific means
*/
void handleFileO... | 1,313 | C++ | .cpp | 36 | 30.111111 | 146 | 0.650869 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
300 | cli.cpp | WerWolv_ImHex/main/gui/source/init/run/cli.cpp | #include "messaging.hpp"
#include <hex/subcommands/subcommands.hpp>
#include <hex/api/plugin_manager.hpp>
#include <hex/helpers/fs.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default_paths.hpp>
#include <wolv/utils/guards.hpp>
#if defined(OS_WINDOWS)
#include <windows.h>
#include <shellapi... | 2,447 | C++ | .cpp | 59 | 32.711864 | 116 | 0.622785 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
301 | web.cpp | WerWolv_ImHex/main/gui/source/init/run/web.cpp | #if defined(OS_WEB)
#include <emscripten.h>
#include <emscripten/html5.h>
#include <hex/api/imhex_api.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <window.hpp>
#include <init/run.hpp>
namespace hex::init {
void saveFsData() {
... | 2,758 | C++ | .cpp | 61 | 28.295082 | 228 | 0.485437 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
302 | native.cpp | WerWolv_ImHex/main/gui/source/init/run/native.cpp | #if !defined(OS_WEB)
#include <hex/api/event_manager.hpp>
#include <wolv/utils/guards.hpp>
#include <init/run.hpp>
#include <window.hpp>
namespace hex::init {
int runImHex() {
bool shouldRestart = false;
do {
// Register an event handler that will... | 1,203 | C++ | .cpp | 33 | 22.242424 | 88 | 0.491364 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
303 | linux_window.cpp | WerWolv_ImHex/main/gui/source/window/linux_window.cpp | #include "window.hpp"
#if defined(OS_LINUX)
#include <hex/api/imhex_api.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/utils_linux.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default... | 6,421 | C++ | .cpp | 149 | 32.375839 | 243 | 0.576108 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
304 | win_window.cpp | WerWolv_ImHex/main/gui/source/window/win_window.cpp | #include <hex/api/content_registry.hpp>
#include <hex/api/theme_manager.hpp>
#include "window.hpp"
#if defined(OS_WINDOWS)
#include "messaging.hpp"
#include <hex/helpers/utils.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/default_paths.hpp>
#include <imgui.h>
#include <imgui... | 25,919 | C++ | .cpp | 549 | 31.965392 | 188 | 0.543336 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
305 | web_window.cpp | WerWolv_ImHex/main/gui/source/window/web_window.cpp | #include "window.hpp"
#if defined(OS_WEB)
#include <emscripten.h>
#include <emscripten/html5.h>
#include <hex/api/event_manager.hpp>
#include <imgui.h>
#include <imgui_internal.h>
// Function used by c++ to get the size of the html canvas
EM_JS(int, canvas_get_width, (), {
return Module.canvas.width;
});
// F... | 4,041 | C++ | .cpp | 117 | 27.606838 | 91 | 0.628792 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
306 | window.cpp | WerWolv_ImHex/main/gui/source/window/window.cpp | #include "window.hpp"
#include <hex.hpp>
#include <hex/api/plugin_manager.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/imhex_api.hpp>
#include <hex/api/layout_manager.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/workspace_manager.hpp>
#include <hex/api/tutorial_manager.hpp>
#inclu... | 42,703 | C++ | .cpp | 829 | 37.347407 | 319 | 0.570155 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
307 | macos_window.cpp | WerWolv_ImHex/main/gui/source/window/macos_window.cpp | #include "window.hpp"
#if defined(OS_MACOS)
#include <hex/api/project_file_manager.hpp>
#include <hex/api/imhex_api.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/utils_macos.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/... | 3,382 | C++ | .cpp | 84 | 30.571429 | 162 | 0.598411 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
308 | api_urls.hpp | WerWolv_ImHex/lib/libimhex/include/hex/api_urls.hpp | #pragma once
constexpr static auto ImHexApiURL = "https://api.werwolv.net/imhex";
constexpr static auto GitHubApiURL = "https://api.github.com/repos/WerWolv/ImHex";
| 167 | C++ | .h | 3 | 54.333333 | 82 | 0.785276 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
309 | plugin.hpp | WerWolv_ImHex/lib/libimhex/include/hex/plugin.hpp | #pragma once
#include <hex.hpp>
#include <hex/api/plugin_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <string>
#include <imgui.h>
#include <imgui_internal.h>
#include <wolv/utils/string.hpp>
#include <wolv/utils/preproc.hpp>
#include <wolv/utils/guards.hpp>
namespace {
struct PluginFunctionHelperIns... | 11,619 | C++ | .h | 133 | 81.93985 | 148 | 0.37548 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
310 | node.hpp | WerWolv_ImHex/lib/libimhex/include/hex/data_processor/node.hpp | #pragma once
#include <hex.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/intrinsics.hpp>
#include <hex/data_processor/attribute.hpp>
#include <set>
#include <span>
#include <vector>
#include <nlohmann/json_fwd.hpp>
#include <imgui.h>
#include <hex/providers/provider_data.hpp>
namespace hex... | 3,271 | C++ | .h | 81 | 32.444444 | 114 | 0.651899 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
311 | attribute.hpp | WerWolv_ImHex/lib/libimhex/include/hex/data_processor/attribute.hpp | #pragma once
#include <hex.hpp>
#include <hex/api/localization_manager.hpp>
#include <string>
#include <string_view>
#include <map>
#include <vector>
namespace hex::dp {
class Node;
class Attribute {
public:
enum class Type {
Integer,
Float,
Buffer
};... | 2,034 | C++ | .h | 54 | 29.203704 | 111 | 0.611933 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
312 | link.hpp | WerWolv_ImHex/lib/libimhex/include/hex/data_processor/link.hpp | #pragma once
namespace hex::dp {
class Link {
public:
Link(int from, int to);
[[nodiscard]] int getId() const { return m_id; }
void setId(int id) { m_id = id; }
[[nodiscard]] int getFromId() const { return m_from; }
[[nodiscard]] int getToId() const { return m_to; }
... | 462 | C++ | .h | 16 | 21.9375 | 62 | 0.558087 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
313 | tests.hpp | WerWolv_ImHex/lib/libimhex/include/hex/test/tests.hpp | #pragma once
#include <hex.hpp>
#include <utility>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/api/plugin_manager.hpp>
#include <wolv/utils/preproc.hpp>
#include <string>
#include <map>
#include <functional>
#define TEST_SEQUENCE(...) static auto W... | 2,901 | C++ | .h | 75 | 31.653333 | 143 | 0.506058 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
314 | test_provider.hpp | WerWolv_ImHex/lib/libimhex/include/hex/test/test_provider.hpp | #pragma once
#include <hex/providers/provider.hpp>
#include <nlohmann/json.hpp>
namespace hex::test {
using namespace hex::prv;
class TestProvider : public prv::Provider {
public:
explicit TestProvider(std::vector<u8> *data) {
this->setData(data);
}
~TestProvider() ove... | 1,914 | C++ | .h | 45 | 33.688889 | 99 | 0.597192 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
315 | memory_provider.hpp | WerWolv_ImHex/lib/libimhex/include/hex/providers/memory_provider.hpp | #pragma once
#include <hex/providers/provider.hpp>
namespace hex::prv {
/**
* This is a simple mock provider that can be used to pass in-memory data to APIs that require a provider.
* It's NOT a provider that can be loaded by the user.
*/
class MemoryProvider : public hex::prv::Provider {
... | 2,011 | C++ | .h | 37 | 46.783784 | 131 | 0.62946 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
316 | provider.hpp | WerWolv_ImHex/lib/libimhex/include/hex/providers/provider.hpp | #pragma once
#include <hex.hpp>
#include <list>
#include <map>
#include <optional>
#include <string>
#include <variant>
#include <vector>
#include <hex/providers/overlay.hpp>
#include <hex/helpers/fs.hpp>
#include <nlohmann/json_fwd.hpp>
#include <hex/providers/undo_redo/stack.hpp>
namespace hex::prv {
/**
... | 10,316 | C++ | .h | 210 | 40 | 137 | 0.637359 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
317 | buffered_reader.hpp | WerWolv_ImHex/lib/libimhex/include/hex/providers/buffered_reader.hpp | #pragma once
#include <hex/providers/provider.hpp>
#include <hex/helpers/literals.hpp>
#include <wolv/io/buffered_reader.hpp>
namespace hex::prv {
using namespace hex::literals;
inline void providerReaderFunction(Provider *provider, void *buffer, u64 address, size_t size) {
provider->read(address, ... | 815 | C++ | .h | 18 | 39.444444 | 149 | 0.716456 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
318 | overlay.hpp | WerWolv_ImHex/lib/libimhex/include/hex/providers/overlay.hpp | #pragma once
#include <hex.hpp>
#include <vector>
namespace hex::prv {
class Overlay {
public:
Overlay() = default;
void setAddress(u64 address) { m_address = address; }
[[nodiscard]] u64 getAddress() const { return m_address; }
[[nodiscard]] u64 getSize() const { return m_... | 485 | C++ | .h | 16 | 24.375 | 67 | 0.595238 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
319 | provider_data.hpp | WerWolv_ImHex/lib/libimhex/include/hex/providers/provider_data.hpp | #pragma once
#include <hex/api/imhex_api.hpp>
#include <hex/api/event_manager.hpp>
#include <map>
#include <ranges>
#include <utility>
namespace hex {
namespace prv {
class Provider;
}
template<typename T>
class PerProvider {
public:
PerProvider() { this->onCreate(); }
P... | 4,019 | C++ | .h | 105 | 27.152381 | 97 | 0.539789 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
320 | stack.hpp | WerWolv_ImHex/lib/libimhex/include/hex/providers/undo_redo/stack.hpp | #pragma once
#include <hex.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/providers/undo_redo/operations/operation.hpp>
#include <map>
#include <memory>
#include <vector>
namespace hex::prv {
class Provider;
}
namespace hex::prv::undo {
using Patches = ... | 1,667 | C++ | .h | 49 | 26.530612 | 96 | 0.618125 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
321 | operation.hpp | WerWolv_ImHex/lib/libimhex/include/hex/providers/undo_redo/operations/operation.hpp | #pragma once
#include <string>
#include <vector>
#include <hex/helpers/concepts.hpp>
namespace hex::prv {
class Provider;
}
namespace hex::prv::undo {
class Operation : public ICloneable<Operation> {
public:
virtual ~Operation() = default;
virtual void undo(Provider *provider) = 0;
... | 691 | C++ | .h | 21 | 27.095238 | 78 | 0.642965 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
322 | operation_group.hpp | WerWolv_ImHex/lib/libimhex/include/hex/providers/undo_redo/operations/operation_group.hpp | #pragma once
#include <hex/providers/undo_redo/operations/operation.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/utils.hpp>
namespace hex::prv::undo {
class OperationGroup : public Operation {
public:
explicit OperationGroup(UnlocalizedString ... | 2,407 | C++ | .h | 53 | 35.433962 | 117 | 0.619333 | WerWolv/ImHex | 43,494 | 1,905 | 221 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.