Files
youssefnoob003-SindriKit/docs/common/README.md
T
sibouzitoun aea2eb6cfb Release v1.1.0: Process Injection & Architecture Hardening
- Implement complete cross-process injection engine via snd_inj_ctx_t
- Track explicit remote_entry_point for safe thread hijacking and PE execution
- Refactor standalone syscall resolvers into a unified pipeline (scan/sort)
- Perfect status code system by purging generic fallbacks in favor of highly-specific, domain-aware error codes
- Fix minor pointer validation and parsing bugs in the reflective loader
2026-06-28 14:14:54 +01:00

1.6 KiB

Common Infrastructure

Shared, domain-agnostic utilities under include/sindri/common/. Aggregated by include/sindri/common.h.

These headers provide CRT independence, bounded memory access, and hash-based API resolution without plaintext strings.

Header map

Header Role
macros.h SND_FORCE_INLINE, SND_BEGIN_EXTERN_C, linkage wrappers
memory.h Bounds checks, snd_memzero, snd_memcpy, SND_PTR_ADD
string.h Bounded ASCII and wide string operations
buffer.h snd_buffer_t lifecycle and buffer bounds checking
hash.h Runtime hashing (snd_hash, snd_hash_lower, snd_hash_wide_lower)
status.h snd_status_t, error macros, SND_SUCCEEDED / SND_FAILED
debug.h SND_DEBUG_PRINT, SND_FALLBACK_STR, snd_dump_hex
disk.h snd_disk_buffer_load (PoC file I/O)

Windows NT structure definitions live in include/sindri/internal/nt/ (not pulled in by common.h):

Header Role
internal/nt/types.h SND_UNICODE_STRING, SND_OBJECT_ATTRIBUTES, SND_NT_SUCCESS
internal/nt/api.h Nt* / LdrLoadDll function pointer typedefs
internal/nt/peb.h PEB, loader lists, process parameters layouts
internal/nt.h Umbrella include

Table of Contents