16 char data[ANYSIZE_ARRAY];
36 size_t number_of_bytes = 0;
44 #pragma prefast(suppress : 30030)
58 size_t total =
n *
size;
72 size_t current_size = 0;
73 size_t smaller_size = 0;
85 smaller_size = (current_size <
size) ? current_size :
size;
86 RtlCopyMemory(new_ptr, ptr, smaller_size);
98 #pragma warning(disable : 28719)
101 int result = _vsnprintf(
buffer,
count, format, argptr);
106 if (result == -1 || (
size_t)result ==
count) {
121 result = _vsnprintf(
tmp, 0x1000, format, argptr);
122 NT_ASSERT(result != -1);
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
__declspec(noreturn) void uv_fatal_error(const int errorno
#define NT_SUCCESS(status)
void *CAPSTONE_API cs_winkernel_realloc(void *ptr, size_t size)
int CAPSTONE_API cs_winkernel_vsnprintf(char *buffer, size_t count, const char *format, va_list argptr)
void CAPSTONE_API cs_winkernel_free(void *ptr)
void *CAPSTONE_API cs_winkernel_calloc(size_t n, size_t size)
struct _CS_WINKERNEL_MEMBLOCK CS_WINKERNEL_MEMBLOCK
static const ULONG CS_WINKERNEL_POOL_TAG
void *CAPSTONE_API cs_winkernel_malloc(size_t size)