# szdyg/hrsword architecture

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

- Interactive diagram: https://gitdiagram.com/szdyg/hrsword
- Repository: https://github.com/szdyg/hrsword

## Overview

HRSword is presented as a standalone version 6.0 application for 64-bit systems. The tree identifies an executable, a UI file, two driver files, and initialization and cleanup scripts, but no source excerpts or README details establish how these parts interact. The diagram therefore records the identifiable artifacts without guessing at a runtime workflow or driver-loading relationship.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_application["Application"]
  node_app["HRSword executable<br/>[SecAnalysis.exe]"]
  node_ui["UI definition<br/>[secanalysisui.ui]"]
end

subgraph group_drivers["Drivers"]
  node_hrwfp["HRWFP driver<br/>[hrwfpdrv.sys]"]
  node_sysdiag["System diagnostics driver<br/>[sysdiag.sys]"]
end

subgraph group_admin["Administration"]
  node_init["Initialization script<br/>[初始化.bat]"]
  node_cleanup["Cleanup script<br/>[清理卸载.bat]"]
  node_instructions["Admin instructions"]
end

node_user(("User"))

click node_app "https://github.com/szdyg/hrsword/blob/main/SecAnalysis.exe"
click node_ui "https://github.com/szdyg/hrsword/blob/main/secanalysisui.ui"
click node_hrwfp "https://github.com/szdyg/hrsword/blob/main/Drivers/hrwfpdrv.sys"
click node_sysdiag "https://github.com/szdyg/hrsword/blob/main/Drivers/sysdiag.sys"
click node_init "https://github.com/szdyg/hrsword/blob/main/%E5%88%9D%E5%A7%8B%E5%8C%96.bat"
click node_cleanup "https://github.com/szdyg/hrsword/blob/main/%E6%B8%85%E7%90%86%E5%8D%B8%E8%BD%BD.bat"
click node_instructions "https://github.com/szdyg/hrsword/blob/main/%E5%85%88%E8%BF%90%E8%A1%8C%E7%AE%A1%E7%90%86%E5%91%98%E5%88%9D%E5%A7%8B%E5%8C%96%E8%84%9A%E6%9C%AC%EF%BC%8C%E5%86%8D%E8%BF%90%E8%A1%8C%E7%A8%8B%E5%BA%8F.txt"

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_app,node_ui,node_user toneBlue
class node_hrwfp,node_sysdiag toneAmber
class node_init,node_cleanup,node_instructions toneMint
```

## Components

### Application

- [HRSword executable](https://github.com/szdyg/hrsword/blob/main/SecAnalysis.exe): `SecAnalysis.exe`
- [UI definition](https://github.com/szdyg/hrsword/blob/main/secanalysisui.ui): `secanalysisui.ui`

### Drivers

- [HRWFP driver](https://github.com/szdyg/hrsword/blob/main/Drivers/hrwfpdrv.sys): `Drivers/hrwfpdrv.sys`
- [System diagnostics driver](https://github.com/szdyg/hrsword/blob/main/Drivers/sysdiag.sys): `Drivers/sysdiag.sys`

### Administration

- [Initialization script](https://github.com/szdyg/hrsword/blob/main/%E5%88%9D%E5%A7%8B%E5%8C%96.bat): `初始化.bat`
- [Cleanup script](https://github.com/szdyg/hrsword/blob/main/%E6%B8%85%E7%90%86%E5%8D%B8%E8%BD%BD.bat): `清理卸载.bat`
- [Admin instructions](https://github.com/szdyg/hrsword/blob/main/%E5%85%88%E8%BF%90%E8%A1%8C%E7%AE%A1%E7%90%86%E5%91%98%E5%88%9D%E5%A7%8B%E5%8C%96%E8%84%9A%E6%9C%AC%EF%BC%8C%E5%86%8D%E8%BF%90%E8%A1%8C%E7%A8%8B%E5%BA%8F.txt): `先运行管理员初始化脚本，再运行程序.txt`

### Other components

- **User**
