Rizin
unix-like reverse engineering framework and cli tools
libc.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <ntifs.h>
9 
10 EXTERN_C
11 __drv_when(return!=0, __drv_allocatesMem(pBlock))
12 __checkReturn
13 __drv_maxIRQL(DISPATCH_LEVEL)
14 __bcount_opt(size)
15 void* __cdecl malloc(__in size_t size);
16 
17 
18 EXTERN_C
19 __drv_when(return != 0, __drv_allocatesMem(p))
20 __checkReturn
21 __drv_maxIRQL(DISPATCH_LEVEL)
22 __bcount_opt(size * n)
23 void* __cdecl calloc(size_t n, size_t size);
24 
25 
26 EXTERN_C
27 __drv_when(return!=0, __drv_allocatesMem(inblock))
28 __checkReturn
29 __drv_maxIRQL(DISPATCH_LEVEL)
30 __bcount_opt(size)
31 void* __cdecl realloc(__in_opt void* ptr, __in size_t size);
32 
33 
34 EXTERN_C
35 __drv_maxIRQL(DISPATCH_LEVEL)
36 void __cdecl free(__inout_opt __drv_freesMem(Mem) void* ptr);
37 
38 
39 int __cdecl vsnprintf(char *buffer, size_t count,
40  const char *format, va_list argptr);
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
Definition: sflib.h:98
RZ_API void Ht_() free(HtName_(Ht) *ht)
Definition: ht_inc.c:130
voidpf void uLong size
Definition: ioapi.h:138
void * p
Definition: libc.cpp:67
std::unique_ptr< unsigned char > inblock
Definition: libc.cpp:88
int __cdecl vsnprintf(char *buffer, size_t count, const char *format, va_list argptr)
Definition: libc.cpp:135
EXTERN_C __drv_when(return!=0, __drv_allocatesMem(pBlock)) __checkReturn __drv_maxIRQL(DISPATCH_LEVEL) __bcount_opt(size) void *__cdecl malloc(__in size_t size)
Definition: libc.cpp:29
EXTERN_C __drv_maxIRQL(DISPATCH_LEVEL) void __cdecl free(__inout_opt __drv_freesMem(Mem) void *ptr)
Definition: libc.cpp:101
#define const
Definition: ansidecl.h:240
void * realloc(void *ptr, size_t size)
Definition: malloc.c:144
void * malloc(size_t size)
Definition: malloc.c:123
void * calloc(size_t number, size_t size)
Definition: malloc.c:102
int n
Definition: mipsasm.c:19
Definition: buffer.h:15