How bvdberg/code works
This repository is a collection of independent systems-programming examples, not one integrated application; no README was provided to identify a central product or workflow. The sampled programs cover networking, file-format inspection, compression, and interactive/concurrency demonstrations. Paths and links below reflect the tree and sampled source; unsampled implementations and wiring are omitted.
Main entry points: unzip/main.c Gzip extractor · WebSocketServer.cpp WebSocket server · io_uring_server/main.c io_uring echo server · elf_format/main.c ELF inspector
Components 20
Network servers
- WebSocket example
websocket-server/main.cpp - WebSocket server
websocket-server/WebSocketServer.cpp - io_uring echo server
linux/io_uring_server/main.c
File utilities
- ELF inspector
elf_format/main.c - Multiboot inspector
multiboot/main.c - UBI image tool
linux/ubi_parser/main.c - Gzip extractor
unzip/main.c - miniz inflater
unzip/miniz/miniz_tinfl.c - zlib example
zlib/main.c - MD5 checksum tool
linux/md5sum/main.c
Interactive demos
- Word completion
auto_completion/main.cpp - Snake puzzle solver
snake_game/main.c
Concurrency demo
- Thread manager
linux/pthread-cleanup/Manager.cpp - Worker threads
linux/pthread-cleanup/Manager.cpp
Other components
- WebSocket peer
- TCP client
- File-tool user
- Output file
- Terminal user
- Program caller
Connections 23
- WebSocket peer → WebSocket server: connects
- WebSocket example → WebSocket server: steps server
- WebSocket server → WebSocket peer: sends frames
- TCP client → io_uring echo server: sends data
- io_uring echo server → TCP client: echoes data
- File-tool user → ELF inspector: selects file
- ELF inspector → File-tool user: prints ELF details
- File-tool user → Multiboot inspector: selects file
- Multiboot inspector → File-tool user: prints tag details
- File-tool user → UBI image tool: selects image
- UBI image tool → File-tool user: shows or flashes
- File-tool user → Gzip extractor: selects archive
- Gzip extractor → miniz inflater: decompresses payload
- Gzip extractor → Output file: writes extracted data
- File-tool user → zlib example: runs example
- File-tool user → MD5 checksum tool: selects file
- MD5 checksum tool → File-tool user: prints digest
- Terminal user → Word completion: types input
- Word completion → Terminal user: shows matches
- Terminal user → Snake puzzle solver: starts solver
- Snake puzzle solver → Terminal user: prints solutions
- Program caller → Thread manager: starts or stops
- Thread manager → Worker threads: creates and joins