# hellodda/systemexplorer_ architecture

> Architecture diagram of the GitHub repository hellodda/systemexplorer_, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hellodda/systemexplorer_
- Repository: https://github.com/hellodda/systemexplorer_

## Overview

SystemExplorer is a Windows system-monitoring and management application, accompanied by a kernel-driver component and managed/native extension modules. Its visible startup path launches the WinUI app and opens the main window; the tree indicates process, performance, settings, remote-access, and system-information areas. Separate kernel-message and EMS components appear to provide lower-level and extension plumbing, but their full runtime connections are not established by the supplied excerpts. The graph shows only directly documented startup and dispatch relationships; other links are omitted where source evidence was unavailable.

Main entry points: [`KernelExplorer/main.c`](https://github.com/hellodda/systemexplorer_/blob/master/KernelExplorer/main.c) (Kernel device dispatch), [`SystemExplorer/main.cpp`](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/main.cpp) (App entry), [`SystemExplorer/App.xaml.cpp`](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/App.xaml.cpp) (App lifecycle), [`ModularSystem/emsmsg.c`](https://github.com/hellodda/systemexplorer_/blob/master/ModularSystem/emsmsg.c) (EMS messages)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_application["SystemExplorer app"]
  node_entry["App entry<br/>[main.cpp]"]
  node_app["App lifecycle<br/>[App.xaml.cpp]"]
  node_window["Main window"]
end

subgraph group_system["System inspection"]
  node_process_ui["Process views"]
  node_process_vm["Process view model"]
  node_process_controllers["Process controllers"]
  node_process_data["Process data sources"]
  node_process_ops["Native process operations<br/>[process.h]"]
  node_process_delta["Process deltas<br/>[delta.h]"]
  node_performance["Performance activity"]
  node_system_info["System information<br/>[Management.cpp]"]
  node_ai_actions["AI actions"]
  node_openai_client["OpenAI client"]
  node_virustotal_client["VirusTotal client"]
end

subgraph group_settings["Settings and UI"]
  node_settings_views["Settings views"]
  node_settings_vm["Settings view models"]
  node_memory["Memory options"]
  node_ui_commands["UI commands"]
end

subgraph group_extensions["Modules and messaging"]
  node_ems_transport["EMS transport<br/>[emstransport.c]"]
  node_ems_messages["EMS messages<br/>[emsmsg.c]"]
  node_managed_module["Managed module<br/>[EmsModule.cs]"]
  node_native_module["Native module<br/>[main.cpp]"]
end

subgraph group_driver["Kernel driver"]
  node_kse_device["Kernel device dispatch<br/>[main.c]"]
  node_kse_handlers["Kernel message handlers<br/>[handler.c]"]
  node_kse_protocol["Kernel message protocol<br/>[kse.h]"]
end

node_user(("User"))

node_user -.->|"starts"| node_entry
node_entry -->|"starts application"| node_app
node_app -->|"creates window"| node_window
node_kse_device -->|"dispatches message"| node_kse_handlers
node_kse_device -->|"validates message"| node_kse_protocol
node_user -.->|"uses"| node_process_ui
node_user -.->|"uses"| node_performance
node_user -.->|"uses"| node_settings_views
node_managed_module -.->|"uses EMS"| node_ems_messages
node_native_module -.->|"uses EMS"| node_ems_messages

click node_entry "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/main.cpp"
click node_app "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/App.xaml.cpp"
click node_window "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Views/Windows/MainWindow.xaml.cpp"
click node_process_ui "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Views/Pages/Activities/ProcessesPage.xaml.cpp"
click node_process_vm "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/ViewModels/Activities/ProcessesViewModel.cpp"
click node_process_controllers "https://github.com/hellodda/systemexplorer_/tree/master/SystemExplorer/Core/System/Controllers"
click node_process_data "https://github.com/hellodda/systemexplorer_/tree/master/SystemExplorer/Core/System/Sources"
click node_process_ops "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/System/N2/process.h"
click node_process_delta "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/System/N2/delta.h"
click node_performance "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/ViewModels/Activities/Performance/PerformanceViewModel.cpp"
click node_system_info "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/System/Mi/Management.cpp"
click node_ai_actions "https://github.com/hellodda/systemexplorer_/tree/master/SystemExplorer/Core/AI/Actions"
click node_openai_client "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/Web/Http/OpenAIHttpClient.cpp"
click node_virustotal_client "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/Web/Http/VirusTotalHttpClient.cpp"
click node_settings_views "https://github.com/hellodda/systemexplorer_/tree/master/SystemExplorer/Views/Pages/Settings"
click node_settings_vm "https://github.com/hellodda/systemexplorer_/tree/master/SystemExplorer/ViewModels/Settings"
click node_memory "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/Services/AppMemoryManager.cpp"
click node_ui_commands "https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Xaml/Mvvm/AsyncRelayCommand.cpp"
click node_ems_transport "https://github.com/hellodda/systemexplorer_/blob/master/ModularSystem/emstransport.c"
click node_ems_messages "https://github.com/hellodda/systemexplorer_/blob/master/ModularSystem/emsmsg.c"
click node_managed_module "https://github.com/hellodda/systemexplorer_/blob/master/Modules/ManagedModule/Interop/EmsModule.cs"
click node_native_module "https://github.com/hellodda/systemexplorer_/blob/master/Modules/NativeModule/main.cpp"
click node_kse_device "https://github.com/hellodda/systemexplorer_/blob/master/KernelExplorer/main.c"
click node_kse_handlers "https://github.com/hellodda/systemexplorer_/blob/master/KernelExplorer/handler.c"
click node_kse_protocol "https://github.com/hellodda/systemexplorer_/blob/master/KernelExplorer/include/kse.h"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_app,node_window,node_user toneBlue
class node_process_ui,node_process_vm,node_process_controllers,node_process_data,node_process_ops,node_process_delta,node_performance,node_system_info,node_ai_actions,node_openai_client,node_virustotal_client toneAmber
class node_settings_views,node_settings_vm,node_memory,node_ui_commands toneMint
class node_ems_transport,node_ems_messages,node_managed_module,node_native_module toneRose
class node_kse_device,node_kse_handlers,node_kse_protocol toneIndigo
```

## Components

### SystemExplorer app

- [App entry](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/main.cpp): `SystemExplorer/main.cpp`
- [App lifecycle](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/App.xaml.cpp): `SystemExplorer/App.xaml.cpp`
- [Main window](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Views/Windows/MainWindow.xaml.cpp): `SystemExplorer/Views/Windows/MainWindow.xaml.cpp`

### System inspection

- [Process views](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Views/Pages/Activities/ProcessesPage.xaml.cpp): `SystemExplorer/Views/Pages/Activities/ProcessesPage.xaml.cpp`
- [Process view model](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/ViewModels/Activities/ProcessesViewModel.cpp): `SystemExplorer/ViewModels/Activities/ProcessesViewModel.cpp`
- [Process controllers](https://github.com/hellodda/systemexplorer_/tree/master/SystemExplorer/Core/System/Controllers): `SystemExplorer/Core/System/Controllers`
- [Process data sources](https://github.com/hellodda/systemexplorer_/tree/master/SystemExplorer/Core/System/Sources): `SystemExplorer/Core/System/Sources`
- [Native process operations](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/System/N2/process.h): `SystemExplorer/Core/System/N2/process.h`
- [Process deltas](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/System/N2/delta.h): `SystemExplorer/Core/System/N2/delta.h`
- [Performance activity](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/ViewModels/Activities/Performance/PerformanceViewModel.cpp): `SystemExplorer/ViewModels/Activities/Performance/PerformanceViewModel.cpp`
- [System information](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/System/Mi/Management.cpp): `SystemExplorer/Core/System/Mi/Management.cpp`
- [AI actions](https://github.com/hellodda/systemexplorer_/tree/master/SystemExplorer/Core/AI/Actions): `SystemExplorer/Core/AI/Actions`
- [OpenAI client](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/Web/Http/OpenAIHttpClient.cpp): `SystemExplorer/Core/Web/Http/OpenAIHttpClient.cpp`
- [VirusTotal client](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/Web/Http/VirusTotalHttpClient.cpp): `SystemExplorer/Core/Web/Http/VirusTotalHttpClient.cpp`

### Settings and UI

- [Settings views](https://github.com/hellodda/systemexplorer_/tree/master/SystemExplorer/Views/Pages/Settings): `SystemExplorer/Views/Pages/Settings`
- [Settings view models](https://github.com/hellodda/systemexplorer_/tree/master/SystemExplorer/ViewModels/Settings): `SystemExplorer/ViewModels/Settings`
- [Memory options](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Core/Services/AppMemoryManager.cpp): `SystemExplorer/Core/Services/AppMemoryManager.cpp`
- [UI commands](https://github.com/hellodda/systemexplorer_/blob/master/SystemExplorer/Xaml/Mvvm/AsyncRelayCommand.cpp): `SystemExplorer/Xaml/Mvvm/AsyncRelayCommand.cpp`

### Modules and messaging

- [EMS transport](https://github.com/hellodda/systemexplorer_/blob/master/ModularSystem/emstransport.c): `ModularSystem/emstransport.c`
- [EMS messages](https://github.com/hellodda/systemexplorer_/blob/master/ModularSystem/emsmsg.c): `ModularSystem/emsmsg.c`
- [Managed module](https://github.com/hellodda/systemexplorer_/blob/master/Modules/ManagedModule/Interop/EmsModule.cs): `Modules/ManagedModule/Interop/EmsModule.cs`
- [Native module](https://github.com/hellodda/systemexplorer_/blob/master/Modules/NativeModule/main.cpp): `Modules/NativeModule/main.cpp`

### Kernel driver

- [Kernel device dispatch](https://github.com/hellodda/systemexplorer_/blob/master/KernelExplorer/main.c): `KernelExplorer/main.c`
- [Kernel message handlers](https://github.com/hellodda/systemexplorer_/blob/master/KernelExplorer/handler.c): `KernelExplorer/handler.c`
- [Kernel message protocol](https://github.com/hellodda/systemexplorer_/blob/master/KernelExplorer/include/kse.h): `KernelExplorer/include/kse.h`

### Other components

- **User**

## Connections

- User → App entry: starts
- App entry → App lifecycle: starts application (evidence: `SystemExplorer/main.cpp`)
- App lifecycle → Main window: creates window (evidence: `SystemExplorer/App.xaml.cpp`)
- Kernel device dispatch → Kernel message handlers: dispatches message (evidence: `KernelExplorer/main.c`)
- Kernel device dispatch → Kernel message protocol: validates message (evidence: `KernelExplorer/main.c`)
- User → Process views: uses
- User → Performance activity: uses
- User → Settings views: uses
- Managed module → EMS messages: uses EMS
- Native module → EMS messages: uses EMS
