Files
youssefnoob003-SindriKit/include/sindri/common/hash.h
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

33 lines
799 B
C

#ifndef SND_COMMON_HASH_H
#define SND_COMMON_HASH_H
#include <sindri/common/macros.h>
#include <stdint.h>
SND_BEGIN_EXTERN_C
/**
* @brief Computes the configured hash of a standard ASCII string
* (Case-Sensitive).
* @note Use this for API names from the Export Directory.
*/
uint32_t snd_hash(const char *str);
/**
* @brief Computes the configured hash of a standard ASCII string, converting to
* lowercase.
* @note Use this for DLL names found in the PE Import Directory.
*/
uint32_t snd_hash_lower(const char *str);
/**
* @brief Computes the configured hash of a wide string, converting to lowercase
* (Case-Insensitive).
* @note Use this for finding DLL module names in the PEB.
*/
uint32_t snd_hash_wide_lower(const wchar_t *str);
SND_END_EXTERN_C
#endif // SND_COMMON_HASH_H