Files
Hexwell b2640863a1 fix: harden shellui inject trampolines and ptrace stager
Allocate unique near trampolines without MAP_FIXED, gate hooks until
install completes, and make pt_attach/pt_call wait and stack alignment
fail-closed so controller use during inject cannot corrupt ShellUI.
2026-07-16 23:09:11 +08:00

19 lines
385 B
C++

/* Copyright (C) 2026 OnionHEN */
#pragma once
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Hook callbacks remain pass-through until the complete install transaction commits. */
void shellui_hooks_begin_install(void);
void shellui_hooks_publish_ready(void);
void shellui_hooks_publish_failed(void);
bool shellui_hooks_are_ready(void);
#ifdef __cplusplus
}
#endif