# bharathram125/hikari-llvm15 architecture

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

- Interactive diagram: https://gitdiagram.com/bharathram125/hikari-llvm15
- Repository: https://github.com/bharathram125/hikari-llvm15

## Overview

Hikari-LLVM15 is a work-in-progress LLVM obfuscator fork. The documented workflow is to build/use its LLVM toolchain, pass obfuscation flags through compiler settings, and produce an obfuscated binary. README-described capabilities include anti-class-dump renaming, anti-hooking, anti-debugging, string encryption, bogus control flow, constant encryption, and indirect branches; selected protections can use callbacks supplied through PreCompiled IR. The tree contains no implementation files, so capability nodes have no source paths and relationships are limited to those explicitly described in the README.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Compiler workflow"]
  node_compiler["Swift/LLVM compiler"]
  node_hikari["Hikari LLVM fork"]
  node_precompiled_ir["PreCompiled IR"]
  node_binary["Obfuscated binary"]
end

subgraph group_protections["Runtime protections"]
  node_anti_class_dump["AntiClassDump"]
  node_anti_hooking["AntiHooking"]
  node_anti_debugging["AntiDebugging"]
  node_hook_callback["AHCallBack"]
  node_debug_callbacks["ADB callbacks"]
end

subgraph group_transforms["Obfuscation transforms"]
  node_string_encryption["StringEncryption"]
  node_bogus_control_flow["BogusControlFlow"]
  node_constant_encryption["ConstantEncryption"]
  node_indirect_branch["IndirectBranch"]
end

node_developer(("Developer"))

node_developer -->|"sets flags"| node_compiler
node_compiler -->|"invokes passes"| node_hikari
node_hikari -->|"obfuscates"| node_binary
node_hikari -->|"supports"| node_anti_class_dump
node_hikari -->|"supports"| node_anti_hooking
node_hikari -->|"supports"| node_anti_debugging
node_hikari -->|"supports"| node_string_encryption
node_hikari -->|"supports"| node_bogus_control_flow
node_hikari -->|"supports"| node_constant_encryption
node_hikari -->|"supports"| node_indirect_branch
node_anti_hooking -->|"loads callbacks from"| node_precompiled_ir
node_anti_hooking -->|"calls on detection"| node_hook_callback
node_anti_debugging -->|"loads callbacks from"| node_precompiled_ir
node_anti_debugging -->|"uses callbacks"| node_debug_callbacks

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_compiler,node_hikari,node_precompiled_ir,node_binary toneBlue
class node_anti_class_dump,node_anti_hooking,node_anti_debugging,node_hook_callback,node_debug_callbacks toneAmber
class node_string_encryption,node_bogus_control_flow,node_constant_encryption,node_indirect_branch toneMint
class node_developer toneIndigo
```

## Components

### Compiler workflow

- **Swift/LLVM compiler**
- **Hikari LLVM fork**
- **PreCompiled IR**
- **Obfuscated binary**

### Runtime protections

- **AntiClassDump**
- **AntiHooking**
- **AntiDebugging**
- **AHCallBack**
- **ADB callbacks**

### Obfuscation transforms

- **StringEncryption**
- **BogusControlFlow**
- **ConstantEncryption**
- **IndirectBranch**

### Other components

- **Developer**

## Connections

- Developer → Swift/LLVM compiler: sets flags (evidence: `README.md`)
- Swift/LLVM compiler → Hikari LLVM fork: invokes passes (evidence: `README.md`)
- Hikari LLVM fork → Obfuscated binary: obfuscates (evidence: `README.md`)
- Hikari LLVM fork → AntiClassDump: supports (evidence: `README.md`)
- Hikari LLVM fork → AntiHooking: supports (evidence: `README.md`)
- Hikari LLVM fork → AntiDebugging: supports (evidence: `README.md`)
- Hikari LLVM fork → StringEncryption: supports (evidence: `README.md`)
- Hikari LLVM fork → BogusControlFlow: supports (evidence: `README.md`)
- Hikari LLVM fork → ConstantEncryption: supports (evidence: `README.md`)
- Hikari LLVM fork → IndirectBranch: supports (evidence: `README.md`)
- AntiHooking → PreCompiled IR: loads callbacks from (evidence: `README.md`)
- AntiHooking → AHCallBack: calls on detection (evidence: `README.md`)
- AntiDebugging → PreCompiled IR: loads callbacks from (evidence: `README.md`)
- AntiDebugging → ADB callbacks: uses callbacks (evidence: `README.md`)
