49ae5ed75efdb52f34f6746fb584c4ef20346d97
- In stk_module_load: Use memcpy with explicit length check instead of strncpy - In platform_directory_init_scan: Same fix for directory scanning - In stk_module_realloc_memory: Replace realloc with malloc+memcpy approach to avoid potential use-after-free issues and compiler warnings - All changes maintain same functionality with improved safety
stk (Stalwart Toolkit)
stk is a lightweight, modular toolkit for building games and game engines. It provides a portable foundation for dynamically loading modules, native or WASM, without enforcing any architecture or design choices.
It is designed to run on modern systems running POSIX and Windows.
Key Features
- Dynamic module loading (native
.so/.dll) - Hot-swapping of modules at runtime
- Optional WASM support for multi-language modules
- Developer tools: lightweight metadata, logging/tracing, and dependency management
- Minimal, portable API
stk is non-opinionated: developers control architecture, engine design, and game logic while relying on a predictable, lean foundation.
Languages
C
88.3%
Makefile
10.8%
Shell
0.9%