G4.1: sandbox plugin host (plugin_host.exe) PoC — Nexus runs in child process, GUI + audio via SHM, crash isolation verified

This commit is contained in:
2026-08-16 10:36:01 +07:00
parent 700f612674
commit 7de00955d8
4 changed files with 265 additions and 0 deletions
+7
View File
@@ -62,3 +62,10 @@ struct SharedAudioBufferIPC {
// Append-only field: existing offsets stay stable.
volatile uint32_t heartbeat;
};
// Shared-memory helpers (impl in SharedMemoryIPC.cpp).
struct ShmHandle;
ShmHandle* shm_open(const char* name);
ShmHandle* shm_create(const char* name);
SharedAudioBufferIPC* shm_ptr(ShmHandle* h);
void shm_close(ShmHandle* h);