# in12hacker/vt_64_ept architecture

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

- Interactive diagram: https://gitdiagram.com/in12hacker/vt_64_ept
- Repository: https://github.com/in12hacker/vt_64_ept

## Overview

VT_64 is a Windows kernel hypervisor driver centered on Intel VT-x/EPT-based process memory splitting. The visible workflow monitors process creation, identifies a target process, builds translation data, and invokes split operations; EPT-violation handling then switches mappings for instruction fetches and data accesses. Paging code supports page-table construction and mapping. The README is empty, and Driver.c was not sampled, so driver initialization and callback registration cannot be confirmed; those links are omitted or marked unverified.

Main entry points: [`VT_64/VT_64/procmon.h`](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/procmon.h) (Process monitor), [`VT_64/VT_64/ept1.h`](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/ept1.h) (EPT split handlers), [`VT_64/VT_64/Def.h`](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/Def.h) (Hypervisor definitions), [`VT_64/VT_64/paging.h`](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/paging.h) (Paging interfaces)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Driver entry"]
  node_driver["Kernel driver<br/>[Driver.c]"]
end

subgraph group_monitor["Process monitoring"]
  node_monitor["Process monitor<br/>[procmon.h]"]
  node_translations["TLB translations<br/>[ept1.h]"]
end

subgraph group_memory["Memory paging"]
  node_pagingimpl["Guest paging<br/>[paging.c]"]
  node_pagingdefs["Paging interfaces<br/>[paging.h]"]
end

subgraph group_virtualization["EPT virtualization"]
  node_definitions["Hypervisor definitions<br/>[Def.h]"]
  node_eptlegacy["EPT page tracking<br/>[ept.h]"]
  node_eptsplit["EPT split handlers<br/>[ept1.h]"]
end

node_process(("Target process"))

node_process -.->|"triggers monitoring"| node_monitor
node_monitor -.->|"builds translations"| node_translations
node_monitor -->|"invokes split"| node_eptsplit
node_monitor -->|"reads process image"| node_process
node_eptsplit -->|"switches mappings"| node_process
node_eptsplit -->|"looks up translations"| node_translations
node_eptlegacy -->|"uses definitions"| node_definitions
node_eptsplit -->|"uses definitions"| node_definitions
node_pagingimpl -->|"implements interfaces"| node_pagingdefs
node_pagingdefs -->|"uses definitions"| node_definitions

click node_driver "https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/Driver.c"
click node_monitor "https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/procmon.h"
click node_translations "https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/ept1.h"
click node_definitions "https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/Def.h"
click node_eptlegacy "https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/ept.h"
click node_eptsplit "https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/ept1.h"
click node_pagingimpl "https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/paging.c"
click node_pagingdefs "https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/paging.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_driver toneBlue
class node_monitor,node_translations toneAmber
class node_pagingimpl,node_pagingdefs toneMint
class node_definitions,node_eptlegacy,node_eptsplit toneRose
class node_process toneIndigo
```

## Components

### Driver entry

- [Kernel driver](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/Driver.c): `VT_64/VT_64/Driver.c`

### Process monitoring

- [Process monitor](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/procmon.h): `VT_64/VT_64/procmon.h`
- [TLB translations](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/ept1.h): `VT_64/VT_64/ept1.h`

### Memory paging

- [Guest paging](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/paging.c): `VT_64/VT_64/paging.c`
- [Paging interfaces](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/paging.h): `VT_64/VT_64/paging.h`

### EPT virtualization

- [Hypervisor definitions](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/Def.h): `VT_64/VT_64/Def.h`
- [EPT page tracking](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/ept.h): `VT_64/VT_64/ept.h`
- [EPT split handlers](https://github.com/in12hacker/vt_64_ept/blob/master/VT_64/VT_64/ept1.h): `VT_64/VT_64/ept1.h`

### Other components

- **Target process**

## Connections

- Target process → Process monitor: triggers monitoring
- Process monitor → TLB translations: builds translations (evidence: `VT_64/VT_64/procmon.h`)
- Process monitor → EPT split handlers: invokes split (evidence: `VT_64/VT_64/procmon.h`)
- Process monitor → Target process: reads process image (evidence: `VT_64/VT_64/procmon.h`)
- EPT split handlers → Target process: switches mappings (evidence: `VT_64/VT_64/ept1.h`)
- EPT split handlers → TLB translations: looks up translations (evidence: `VT_64/VT_64/ept1.h`)
- EPT page tracking → Hypervisor definitions: uses definitions (evidence: `VT_64/VT_64/ept.h`)
- EPT split handlers → Hypervisor definitions: uses definitions (evidence: `VT_64/VT_64/ept1.h`)
- Guest paging → Paging interfaces: implements interfaces (evidence: `VT_64/VT_64/paging.c`)
- Paging interfaces → Hypervisor definitions: uses definitions (evidence: `VT_64/VT_64/paging.h`)
