mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-06 01:19:28 +00:00
Fixup "[analyzer] Propagate taint for wchar variants of some APIs"
Fix build bot: https://lab.llvm.org/buildbot/#/builders/139/builds/49699 clang/test/Analysis/taint-generic.c: ``` Line 100: redefinition of typedef 'size_t' is a C11 feature Line 59: previous definition is here ``` This commit fixups 61924da630532c91f00351b7e84548eb42e2e1e0 Committed in this PR: https://github.com/llvm/llvm-project/pull/66074
This commit is contained in:
parent
3ae76e4fdc
commit
2dee316a04
@ -56,7 +56,8 @@
|
||||
// CHECK-INVALID-ARG-SAME: rules greater or equal to -1
|
||||
|
||||
typedef long long rsize_t;
|
||||
typedef typeof(sizeof(int)) size_t;
|
||||
typedef __typeof(sizeof(int)) size_t;
|
||||
typedef signed long long ssize_t;
|
||||
typedef __WCHAR_TYPE__ wchar_t;
|
||||
void clang_analyzer_isTainted_char(char);
|
||||
void clang_analyzer_isTainted_wchar(wchar_t);
|
||||
@ -97,8 +98,6 @@ int fscanf(FILE *restrict stream, const char *restrict format, ...);
|
||||
int sprintf(char *str, const char *format, ...);
|
||||
void setproctitle(const char *fmt, ...);
|
||||
void setproctitle_init(int argc, char *argv[], char *envp[]);
|
||||
typedef __typeof(sizeof(int)) size_t;
|
||||
typedef signed long long ssize_t;
|
||||
|
||||
// Define string functions. Use builtin for some of them. They all default to
|
||||
// the processing in the taint checker.
|
||||
|
Loading…
x
Reference in New Issue
Block a user