How the project is laid out
The project lives in G:\KarakStudio.
| Path | Purpose |
|---|---|
Cargo.toml, Cargo.lock |
Rust project file and pinned library versions |
.cargo\config.toml |
Build settings specific to this PC’s toolchain |
src\main.rs |
The window: looks, panels, views, actions, the Study and Practice pages, hidden test modes |
src\engine.rs |
The Program type: loading, function discovery, cross-references, text, names and notes, packing detection |
src\pe.rs |
Reads the Windows program file format |
src\elf.rs |
Reads the Linux program file format (ELF) into the same shape, plus the Protections facts |
src\linux.rs |
Linux system call numbers, and the list of calls that never return |
src\decomp.rs |
The C view |
src\winapi.rs |
What the C view knows about Windows and C library functions: argument names, named constants, descriptions |
elf-samples\ |
Linux test programs and their C sources. build.sh rebuilds them inside Linux (WSL); checksec.sh and inspect.sh print what Linux’s own tools see, to compare |
src\graph.rs |
Layout for the Graph view |
src\upx.rs |
The UPX unpacker |
src\triage.rs |
Hashes, abilities, text worth a look, hidden text |
src\explain.rs |
Plain-English instruction and register explanations |
src\course.rs and course\*.md |
The Study guide: the chapter files and the code that reads them |
src\practice.rs |
Practice challenges, answer checkers and quiz questions |
src\practice\*.exe |
The compiled practice programs, embedded into the app |
src\icon.rgba, icon.ico |
The icon as raw pixels (for the window) and as an icon file (for the exe) |
practice\ |
A separate Rust project that builds the practice programs |
linklibs\ |
A copy of shlwapi.dll, needed only so the linker can resolve it |
make_icon.py |
Draws the icon options and writes icon.rgba and icon.ico |
set_icon.py |
Stamps icon.ico into a built exe |
fuzz.py |
The hardening test |
build.bat |
Builds, copies to dist and stamps the icon |
dist\ |
The finished app |
upx-samples\ |
UPX-packed test files |
docs\MANUAL.md |
This manual |
PROGRESS.md |
A running note of what has been built and tested |
Libraries
Section titled “Libraries”| Library | Version | Used for |
|---|---|---|
| eframe / egui | 0.29.1, pinned exactly | The window and everything drawn in it |
| iced-x86 | 1.21 | Decoding x86 instructions |
| rfd | 0.15 | The Windows open and save dialogs |
Hashing, UPX decompression (including LZMA) and file parsing are written in the project, not taken from libraries.