diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-11-13 11:29:50 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-11-13 15:00:09 +0000 |
| commit | b8b948db64ea6e06345ecb8f95ce4f1bc45a2512 (patch) | |
| tree | 0fc5645e545be5c30acf17679e4f7d8d6975a15c /tools | |
| parent | 12db6bb497226c7de224a55ec91f863f2a444439 (diff) | |
tools/syz-declextract: handle _Bool type
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-declextract/syz-declextract.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-declextract/syz-declextract.cpp b/tools/syz-declextract/syz-declextract.cpp index 3c6c40a23..be63fa8cf 100644 --- a/tools/syz-declextract/syz-declextract.cpp +++ b/tools/syz-declextract/syz-declextract.cpp @@ -226,7 +226,7 @@ IntType getIntType(const std::string &ctype, const bool isSyscallParam) { if (contains(ctype, "16") || contains(ctype, "short")) { return INT_16; } - if (contains(ctype, "8") || contains(ctype, "char")) { + if (contains(ctype, "8") || contains(ctype, "char") || ctype == "_Bool") { return INT_8; } if (contains(ctype, "32") || contains(ctype, "int")) { |
