mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Change __builtin_alloca declaration to use an unsigned long long parameter.
This commit is contained in:
@@ -10,7 +10,7 @@ extern int w1, w2;
|
||||
#define restrict __restrict__
|
||||
#endif
|
||||
|
||||
void *__builtin_alloca(int sz);
|
||||
void *__builtin_alloca(unsigned long long sz);
|
||||
#define alloca __builtin_alloca
|
||||
typedef unsigned long size_t;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ void free(void *ptr);
|
||||
struct vtype { int i1, i2; };
|
||||
extern int w1, w2;
|
||||
|
||||
void *_builtin_alloca(int sz);
|
||||
void *_builtin_alloca(unsigned long long sz);
|
||||
#define alloca __builtin_alloca
|
||||
|
||||
// We forward-declare the Microsoft routines
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
int sprintf(char *restrict buf, const char *restrict format, ...);
|
||||
char * strdup(const char *restrict str1);
|
||||
|
||||
void *__builtin_alloca(int sz);
|
||||
void *__builtin_alloca(unsigned long long sz);
|
||||
#define alloca __builtin_alloca
|
||||
|
||||
// case 1: a GNU c/c++ lambda with an alloca in it
|
||||
|
||||
Reference in New Issue
Block a user