33 #ifndef ZYDIS_SHORTSTRING_H
34 #define ZYDIS_SHORTSTRING_H
36 #include <Zycore/Defines.h>
37 #include <Zycore/Types.h>
47 #if !(defined(ZYAN_AARCH64) && defined(ZYAN_APPLE))
48 # pragma pack(push, 1)
71 #if !(defined(ZYAN_AARCH64) && defined(ZYAN_APPLE))
84 #define ZYDIS_MAKE_SHORTSTRING(string) \
85 { string, sizeof(string) - 1 }
struct ZydisShortString_ ZydisShortString
Defines the ZydisShortString struct.
Defines the ZydisShortString struct.
Definition: ShortString.h:60
ZyanU8 size
The length (number of characters) of the string (without 0-termination).
Definition: ShortString.h:68
const char * data
The buffer that contains the actual (null-terminated) string.
Definition: ShortString.h:64