Home
last modified time | relevance | path

Searched +full:clang +full:- +full:analyzer (Results 1 – 25 of 61) sorted by relevance

123

/third_party/curl/lib/
DMakefile.am21 # SPDX-License-Identifier: curl
28 EXTRA_DIST = Makefile.mk config-win32.h config-win32ce.h config-plan9.h \
29 config-riscos.h config-mac.h curl_config.h.in config-dos.h libcurl.rc \
30 config-amigaos.h config-win32ce.h config-os400.h setup-os400.h \
31 $(CMAKE_DIST) setup-win32.h .checksrc Makefile.soname
41 # This might hold -Werror
53 AM_CPPFLAGS = -I$(top_srcdir)/include \
54 -I$(top_builddir)/lib \
55 -I$(top_srcdir)/lib
62 AM_CPPFLAGS += -DBUILDING_LIBCURL
[all …]
Descape.c21 * SPDX-License-Identifier: curl
41 /* for ABI-compatibility with previous versions */
47 /* for ABI-compatibility with previous versions */
72 while(length--) { in curl_easy_escape()
95 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 0, /* 0x30 - 0x3f */
96 0, 10, 11, 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x40 - 0x4f */
97 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x50 - 0x5f */
98 0, 10, 11, 12, 13, 14, 15 /* 0x60 - 0x66 */
102 #define onehex2dec(x) hextable[x - '0']
111 * - REJECT_NADA: accept everything
[all …]
/third_party/curl/src/
DMakefile.am21 # SPDX-License-Identifier: curl
38 # $(top_srcdir)/src is for curl's src/tool_setup.h and "curl-private" files
40 AM_CPPFLAGS = -I$(top_srcdir)/include \
41 -I$(top_builddir)/lib \
42 -I$(top_builddir)/src \
43 -I$(top_srcdir)/lib \
44 -I$(top_srcdir)/src
53 AM_CPPFLAGS += -DCURL_STATICLIB
55 AM_CPPFLAGS += -DBUILDING_CURL
68 # This might hold -Werror
[all …]
/third_party/benchmark/
D.clang-tidy1 ---
2 Checks: 'clang-analyzer-*,readability-redundant-*,performance-*'
3 WarningsAsErrors: 'clang-analyzer-*,readability-redundant-*,performance-*'
/third_party/vixl/
D.clang-tidy1 ---
2 # We use the clang-tidy defaults and the Google styles as a baseline, with a
4 # -clang-analyzer-security.insecureAPI.rand:
10 # -google-readability-todo:
12 # -google-readability-function-size:
14 # particularly involving macro-generated encoding tables and so on.
15 # -google-build-using-namespace:
16 # We do this in internal contexts (typically in .cc files), but clang-tidy
18 # -google-explicit-constructor:
23 # google-readability-braces-around-statements
[all …]
/third_party/fsverity-utils/.github/workflows/
Dci.yml1 # SPDX-License-Identifier: MIT
4 # Use of this source code is governed by an MIT-style
12 static-linking-test:
14 runs-on: ubuntu-latest
16 - uses: actions/checkout@v4
17 - run: scripts/run-tests.sh static_linking
19 dynamic-linking-test:
21 runs-on: ubuntu-latest
23 - uses: actions/checkout@v4
24 - run: scripts/run-tests.sh dynamic_linking
[all …]
/third_party/rust/crates/cxx/
D.clang-tidy2 clang-analyzer-*,
3 clang-diagnostic-*,
4 cppcoreguidelines-*,
5 modernize-*,
6 -cppcoreguidelines-macro-usage,
7 -cppcoreguidelines-owning-memory,
8 -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
9 -cppcoreguidelines-pro-bounds-pointer-arithmetic,
10 -cppcoreguidelines-pro-type-const-cast,
11 -cppcoreguidelines-pro-type-member-init,
[all …]
/third_party/ninja/.github/workflows/
Dlinux.yml11 runs-on: [ubuntu-latest]
15 - uses: actions/checkout@v2
16 - uses: codespell-project/actions-codespell@master
19 - name: Install dependencies
21 … curl -L -O https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Linux-x86_64.sh
22 chmod +x cmake-3.16.4-Linux-x86_64.sh
23 ./cmake-3.16.4-Linux-x86_64.sh --skip-license --prefix=/usr/local
24 …curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p…
25 …curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p…
26 rpm -U --quiet p7zip-16.02-20.el7.x86_64.rpm
[all …]
/third_party/json/cmake/
Dci.cmake12 execute_process(COMMAND ${ASTYLE_TOOL} --version OUTPUT_VARIABLE ASTYLE_TOOL_VERSION ERROR_VARIABLE…
13 string(REGEX MATCH "[0-9]+(\\.[0-9]+)+" ASTYLE_TOOL_VERSION "${ASTYLE_TOOL_VERSION}")
16 …program(CLANG_TOOL NAMES clang++-HEAD clang++ clang++-17 clang++-16 clang++-15 clang++-14 clang++-
17 execute_process(COMMAND ${CLANG_TOOL} --version OUTPUT_VARIABLE CLANG_TOOL_VERSION ERROR_VARIABLE C…
18 string(REGEX MATCH "[0-9]+(\\.[0-9]+)+" CLANG_TOOL_VERSION "${CLANG_TOOL_VERSION}")
19 message(STATUS "�� Clang ${CLANG_TOOL_VERSION} (${CLANG_TOOL})")
21 …m(CLANG_TIDY_TOOL NAMES clang-tidy-17 clang-tidy-16 clang-tidy-15 clang-tidy-14 clang-tidy-13 clan…
22 execute_process(COMMAND ${CLANG_TIDY_TOOL} --version OUTPUT_VARIABLE CLANG_TIDY_TOOL_VERSION ERROR_…
23 string(REGEX MATCH "[0-9]+(\\.[0-9]+)+" CLANG_TIDY_TOOL_VERSION "${CLANG_TIDY_TOOL_VERSION}")
24 message(STATUS "�� Clang-Tidy ${CLANG_TIDY_TOOL_VERSION} (${CLANG_TIDY_TOOL})")
[all …]
/third_party/fsverity-utils/scripts/
Drun-tests.sh2 # SPDX-License-Identifier: MIT
5 # Use of this source code is governed by an MIT-style
10 # Test script for fsverity-utils. Runs 'make check' in lots of configurations,
14 # fsverity-utils into a kvm-xfstests test appliance and run
15 # 'kvm-xfstests -c ext4,f2fs -g verity'
17 set -e -u -o pipefail
31 TMPDIR=$(mktemp -d -t libfsverity_test.XXXXXXXXX)
32 trap 'rm -r "$TMPDIR"' EXIT
36 echo "Starting fsverity-utils tests. See run-tests.log for full output."
37 rm -f run-tests.log
[all …]
/third_party/lame/
Dconfigure.in24 AC_INIT([lame],[3.100],[lame-dev@lists.sf.net])
80 COMPILER_TYPE="`${CC} --version | head -1 | sed -e '1,$s/version.*//g'`"
87 *clang*)
88 AC_MSG_RESULT(clang)
101 GCC_version="`${CC} --version | sed -n '1s/^[[^ ]]* (.*) //;s/ .*$//;1p'`"
103 [[0-9]]*[[0-9]]*)
115 AC_MSG_CHECKING(version of clang)
116 CLANG_version="`${CC} --version | sed -n 's/.*clang version //;s/ .*$//;1p'`"
172 if test $ac_cv_sizeof_short -eq 0 \
173 -o $ac_cv_sizeof_unsigned_short -eq 0 \
[all …]
/third_party/json/
DMakefile7 # find GNU sed to use `-i` parameter
8 SED:=$(shell command -v gsed || which sed)
16 SRCS=$(shell find include -type f | sort)
19 …TS_SRCS=$(shell find tests -type f \( -name '*.hpp' -o -name '*.cpp' -o -name '*.cu' \) -not -path…
32 …@echo "amalgamate - amalgamate files single_include/nlohmann/json{,_fwd}.hpp from the include/nloh…
33 @echo "ChangeLog.md - generate ChangeLog file"
34 @echo "check-amalgamation - check whether sources have been amalgamated"
35 @echo "clean - remove built files"
36 @echo "doctest - compile example files and check their output"
37 @echo "fuzz_testing - prepare fuzz testing of the JSON parser"
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Option/
DOptTable.h1 //===- OptTable.h - Option Table --------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
78 assert(id > 0 && id - 1 < getNumOptions() && "Invalid Option ID."); in getInfo()
79 return OptionInfos[id - 1]; in getInfo()
117 /// Get the meta-variable name to use when describing
126 /// \param [in] Option - Key flag like "-stdlib=" when "-stdlib=l"
127 /// was passed to clang.
129 /// \param [in] Arg - Value which we want to autocomplete like "l"
130 /// when "-stdlib=l" was passed to clang.
[all …]
/third_party/mesa3d/include/android_stub/log/
Dlog_main.h2 * Copyright (C) 2005-2017 The Android Open Source Project
8 * http://www.apache.org/licenses/LICENSE-2.0
43 /* --------------------------------------------------------------------- */
46 * This file uses ", ## __VA_ARGS__" zero-argument token pasting to
47 * work around issues with debug-only syntax errors in assertions
52 #pragma clang diagnostic push
53 #pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
57 * Use __VA_ARGS__ if running a static analyzer,
105 /* --------------------------------------------------------------------- */
131 * is -inverted- from the normal assert() semantics.
[all …]
/third_party/skia/third_party/externals/expat/expat/
DChanges7 #616 #649 #650 CVE-2022-43680 -- Fix heap use-after-free after overeager
9 XML_ExternalEntityParserCreate in out-of-memory situations
13 #629 #640 CVE-2022-40674 -- Heap use-after-free vulnerability in
17 #531 #534 CVE-2021-45960 -- Fix issues with left shifts by >=29 places
27 (which needs argument "-n" when running xmlwf).
47 #551 CVE-2022-23990 -- Fix unsigned integer overflow in function
52 #34 #466 #484 CVE-2013-0340/CWE-776 -- Protect against billion laughs attacks
53 (denial-of-service; flavors targeting CPU time or RAM or both,
61 - A new error code XML_ERROR_AMPLIFICATION_LIMIT_BREACH to
63 - Two new API functions ..
[all …]
/third_party/protobuf/objectivec/
DGPBMessage.m1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
50 // protos can turn on -Wdirect-ivar-access without issues.
51 #pragma clang diagnostic push
52 #pragma clang diagnostic ignored "-Wdirect-ivar-access"
91 // http://mjtsai.com/blog/2015/12/16/osspinlock-is-unsafe/
92 // https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20151214/000372.html
252 autoArray->_autocreator = autocreator;
255 gpbArray->_autocreator = autocreator;
551 autoDict->_autocreator = autocreator;
[all …]
DGPBUtilities.m1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
44 // protos can turn on -Wdirect-ivar-access without issues.
45 #pragma clang diagnostic push
46 #pragma clang diagnostic ignored "-Wdirect-ivar-access"
97 for (GPBFieldDescriptor *field in descriptor->fields_) {
199 // -- About Version Checks --
262 // GPB*Dictionary/NSDictionary all support -count;
276 GPBMessageFieldDescription *fieldDesc = field->description_;
279 uint8_t *storage = (uint8_t *)self->messageStorage_;
[all …]
/third_party/protobuf/src/google/protobuf/
Dmetadata_lite.h1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
53 // allows for "zero-overhead" storage of the Arena pointer, relative to the
57 // indicate an arena pointer and bit 0 == 1 to indicate a UFS+Arena-container
74 return PtrValue<ContainerBase>()->arena; in arena()
90 return PtrValue<Container<T>>()->unknown_fields; in unknown_fields()
99 return &PtrValue<Container<T>>()->unknown_fields; in mutable_unknown_fields()
108 // pointer. We cannot simply swap ptr_ with other->ptr_ because we need to in Swap()
113 if (have_unknown_fields() || other->have_unknown_fields()) { in Swap()
114 DoSwap<T>(other->mutable_unknown_fields<T>()); in Swap()
[all …]
/third_party/cJSON/
DCHANGELOG.md4 ------
5 * Fix null reference in cJSON_SetValuestring(CVE-2023-50472), see #809
6 * Fix null reference in cJSON_InsertItemInArray(CVE-2023-50471), see #809 and #810
11 ------
18 ------
23 * Fix 'cjson_utils-static' target not exist, see #625
30 ------
40 ------
48 ---------
57 ------
[all …]
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
99 return sp.size() >= x.size() && sp.substr(sp.size() - x.size()) == x; in StrEndsWith()
129 // Well-known types (.proto files in the google/protobuf directory) are in GetRootPath()
130 // assumed to come from the 'google-protobuf' npm package. We may want to in GetRootPath()
133 return "google-protobuf/"; in GetRootPath()
158 ReplaceCharacters(&basename, "-", '$'); in ModuleAlias()
170 } else if (!file->package().empty()) { in GetNamespace()
171 return "proto." + file->package(); in GetNamespace()
186 descriptor->full_name(), descriptor->file()->package()); in GetNestedMessageName()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/core/utils/
Dlog_adapter.cc2 * Copyright 2019-2023 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
41 constexpr auto kSplitLine = "\n----------------------------------------------------\n";
219 std::regex title_re{R"(\#[d|u]msg\#.+?\#[d|u]msg\#|)" + std::string(kSplitLine) + R"(- .+?)" + in RemoveLabelBeforeOutputLog()
238 (void)output->emplace_back(message.substr(pos1, pos2 - pos1)); in SplitString()
244 (void)output->emplace_back(message.substr(pos1)); in SplitString()
270 (void)dmsg->emplace_back(temp[0]); in ParseExceptionMessage()
272 (void)umsg->insert(umsg->cend(), temp.cbegin() + 1, temp.cend()); in ParseExceptionMessage()
276 (void)dmsg->emplace_back(vec[i]); in ParseExceptionMessage()
285 if ((length != 0) && (message[length - 1] != '\n')) { in PrintMessage()
[all …]
/third_party/json/docs/mkdocs/docs/home/
Dreleases.md7 - [include.zip](https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip) (274 KB)
8- [include.zip.asc](https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip.asc) (1 …
9 - [json.hpp](https://github.com/nlohmann/json/releases/download/v3.7.3/json.hpp) (791 KB)
10 - [json.hpp.asc](https://github.com/nlohmann/json/releases/download/v3.7.3/json.hpp.asc) (1 KB)
12 Release date: 2019-11-17
13 SHA-256: 3b5d2b8f8282b80557091514d8ab97e27f9574336c804ee666fda673a9b59926 (json.hpp), 87b5884741427…
17 ….2 which could yield quadratic complexity in destructor calls. All changes are backward-compatible.
21 - Removed `reserve()` calls from the destructor which could lead to quadratic complexity. #1837 #18…
27 - Function [`iterator_wrapper`](http://nlohmann.github.io/json/doxygen/classnlohmann_1_1basic__json…
28 - Functions [`friend std::istream& operator<<(basic_json&, std::istream&)`](http://nlohmann.github.…
[all …]
/third_party/json/tests/thirdparty/doctest/
Ddoctest.h1 // ====================================================================== lgtm [cpp/missing-header-
2 // == DO NOT MODIFY THIS FILE BY HAND - IT IS AUTO GENERATED BY CMAKE! ==
5 // doctest.h - the lightest feature-rich C++ single-header testing framework for unit tests and TDD
7 // Copyright (c) 2016-2023 Viktor Kirilov
20 // The library is heavily influenced by Catch - https://github.com/catchorg/Catch2
21 // which uses the Boost Software License - Version 1.0
22 // see here - https://github.com/catchorg/Catch2/blob/master/LICENSE.txt
26 // - stringification - the detection of "ostream& operator<<(ostream&, const T&)" and StringMaker<>
27 // - the Approx() helper class for floating point comparison
28 // - colors in the console
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dpreauth.c2 * RSN pre-authentication (supplicant)
3 * Copyright (c) 2003-2015, Jouni Malinen <j@w1.fi>
34 * pmksa_candidate_free - Free all entries in PMKSA candidate list
44 dl_list_for_each_safe(entry, n, &sm->pmksa_candidates, in pmksa_candidate_free()
46 dl_list_del(&entry->list); in pmksa_candidate_free()
57 wpa_printf(MSG_DEBUG, "RX pre-auth from " MACSTR, MAC2STR(src_addr)); in rsn_preauth_receive()
58 wpa_hexdump(MSG_MSGDUMP, "RX pre-auth", buf, len); in rsn_preauth_receive()
60 if (sm->preauth_eapol == NULL || in rsn_preauth_receive()
61 is_zero_ether_addr(sm->preauth_bssid) || in rsn_preauth_receive()
62 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) { in rsn_preauth_receive()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dpreauth.c2 * RSN pre-authentication (supplicant)
3 * Copyright (c) 2003-2015, Jouni Malinen <j@w1.fi>
34 * pmksa_candidate_free - Free all entries in PMKSA candidate list
44 dl_list_for_each_safe(entry, n, &sm->pmksa_candidates, in pmksa_candidate_free()
46 dl_list_del(&entry->list); in pmksa_candidate_free()
67 wpa_printf(MSG_DEBUG, "RX pre-auth from " MACSTR_SEC, MAC2STR_SEC(src_addr)); in rsn_preauth_receive()
68 wpa_hexdump(MSG_MSGDUMP, "RX pre-auth", buf, len); in rsn_preauth_receive()
70 if (sm->preauth_eapol == NULL || in rsn_preauth_receive()
71 is_zero_ether_addr(sm->preauth_bssid) || in rsn_preauth_receive()
72 !ether_addr_equal(sm->preauth_bssid, src_addr)) { in rsn_preauth_receive()
[all …]

123