# tranarchy/benzo architecture

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

- Interactive diagram: https://gitdiagram.com/tranarchy/benzo
- Repository: https://github.com/tranarchy/benzo

## Overview

benzo is a small Linux x86-64 assembly cheat. The user launches it, and it patches CS2’s IsOtherEnemy function so it returns false; the game then presents enemies as teammates, with identifying and equipment information visible through walls. The README also documents direct Linux syscall use and no libc dependency. No source excerpts were provided, so the runtime relationships shown are limited to those documented in the README.

Main entry points: [`main.s`](https://github.com/tranarchy/benzo/blob/main/main.s) (benzo patcher)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_benzo["benzo patcher<br/>[main.s]"]
node_enemy_check["IsOtherEnemy"]
node_cs2_display["CS2 display"]
node_linux_kernel["Linux kernel"]

node_user -->|"launches"| node_benzo
node_benzo -->|"patches to false"| node_enemy_check
node_enemy_check -->|"alters presentation"| node_cs2_display
node_benzo -->|"uses syscalls"| node_linux_kernel

click node_benzo "https://github.com/tranarchy/benzo/blob/main/main.s"

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_user toneBlue
class node_benzo toneTeal
class node_enemy_check,node_cs2_display,node_linux_kernel toneIndigo
```

## Components

### Other components

- **User**
- [benzo patcher](https://github.com/tranarchy/benzo/blob/main/main.s): `main.s`
- **IsOtherEnemy**
- **CS2 display**
- **Linux kernel**

## Connections

- User → benzo patcher: launches (evidence: `README.md`)
- benzo patcher → IsOtherEnemy: patches to false (evidence: `README.md`)
- IsOtherEnemy → CS2 display: alters presentation (evidence: `README.md`)
- benzo patcher → Linux kernel: uses syscalls (evidence: `README.md`)
