From b8b948db64ea6e06345ecb8f95ce4f1bc45a2512 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 13 Nov 2024 11:29:50 +0100 Subject: tools/syz-declextract: handle _Bool type --- tools/syz-declextract/syz-declextract.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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")) { -- cgit mrf-deployment