curl-curl/lib
Viktor Szakats 6d87eb2878
cmake: add CURL_GCC_ANALYZER option, enable in CI, fix/silence
Enable in one existing Linux, macOS and Windows job.

Cost:
- Linux: +1.3 minutes.
- macOS: +1.5 minutes.
- Windows: +2.5 minutes.

Fix or silence issues found:
- conncache: silence NULL deref warning.
  ```
  lib/conncache.c:564:18: warning: dereference of NULL '*data.multi' [CWE-476] [-Wanalyzer-null-dereference]
  ```
  Ref: ede6a8e087 #19378
- http2: check pointer for NULL.
  ```
  lib/http2.c:388:7: error: dereference of NULL ‘data’ [CWE-476] [-Wanalyzer-null-dereference]
  ```
- http2: silence potential NULL deref in `cf_h2_recv`.
  ```
  lib/http2.c: In function 'cf_h2_recv':
  lib/curl_trc.h:62:15: warning: dereference of NULL 'data' [CWE-476] [-Wanalyzer-null-dereference]
  ```
- openldap: silence deref before NULL check.
  Seen in GHA/Linux.
  ```
  lib/openldap.c: In function ‘oldap_state_mechs_resp’:
  lib/curl_trc.h:140:7: warning: check of ‘data’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check]
  ```
- sendf: silence NULL deref false positive in `Curl_creader_set_fread`.
  It looks impossible to happen.
  ```
  lib/sendf.c:1133:7: warning: dereference of NULL 'r' [CWE-476] [-Wanalyzer-null-dereference]
  ```
- ws: silence deref before NULL check.
  ```
  lib/ws.c: In function 'ws_send_raw_blocking':
  lib/curl_trc.h:205:7: warning: check of 'data' for NULL after already dereferencing it [-Wanalyzer-deref-before-check]
  ```
- var: fix potential NULL deref
  ```
  src/var.c:216:29: warning: dereference of NULL 'envp' [CWE-476] [-Wanalyzer-null-dereference]
  ```
- cli_hx_upload.c: fix NULL check after dereference.
  ```
  tests/libtest/cli_hx_upload.c:170:7: warning: check of '*t.method' for NULL after already dereferencing it [-Wanalyzer-deref-before-check]
  ```
- unit1607, unit1609: fix theoretical NULL ptr dereference.
  ```
  tests/unit/unit1607.c:211:12: warning: dereference of NULL 'addr' [CWE-476] [-Wanalyzer-null-dereference]
  tests/unit/unit1609.c:193:12: warning: dereference of NULL 'addr' [CWE-476] [-Wanalyzer-null-dereference]
  ```
- globally disable checks triggering false positives only:
  ```
  docs/examples/externalsocket.c:135:8: warning: 'connect' on possibly invalid file descriptor 'sockfd' [-Wanalyzer-fd-use-without-check]
  lib/bufq.c:465:16: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop] (gcc-15 Windows)
  lib/doh.c:1035:34: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] (gcc-15 macOS)
  lib/ftp.c:4022:20: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop] (gcc-15 macOS)
  lib/http2.c:689:28: warning: buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] (gcc-15 macOS)
  lib/socketpair.c:195:5: warning: leak of file descriptor 'curl_dbg_socket(2, 1, 0, 192, "D:/a/curl/curl/lib/socketpair.c")' [CWE-775] [-Wanalyzer-fd-leak]
  src/tool_doswin.c:810:7: warning: leak of file descriptor '*tdata.socket_l' [CWE-775] [-Wanalyzer-fd-leak]
  src/tool_doswin.c:816:9: warning: leak of file descriptor '*tdata.socket_l' [CWE-775] [-Wanalyzer-fd-leak]
  src/tool_main.c:96:1: warning: leak of file descriptor 'fd[0]' [CWE-775] [-Wanalyzer-fd-leak]
  src/tool_main.c:96:1: warning: leak of file descriptor 'fd[1]' [CWE-775] [-Wanalyzer-fd-leak]
  src/tool_urlglob.c:48:17: warning: leak of 'malloc(8)' [CWE-401] [-Wanalyzer-malloc-leak]
  src/tool_writeout.c:870:3: warning: leak of FILE 'stream2' [CWE-775] [-Wanalyzer-file-leak]
  tests/libtest/lib518.c:90:1: warning: leak of FILE [CWE-775] [-Wanalyzer-file-leak]
  tests/libtest/lib537.c:87:1: warning: leak of FILE [CWE-775] [-Wanalyzer-file-leak]
  tests/server/tftpd.c:1147:10: warning: 'bind' on possibly invalid file descriptor 'sock' [-Wanalyzer-fd-use-without-check]
  tests/server/tftpd.c:1155:10: warning: 'bind' on possibly invalid file descriptor 'sock' [-Wanalyzer-fd-use-without-check]
  tests/server/tftpd.c:1259:10: warning: 'connect' on possibly invalid file descriptor '4294967295' [-Wanalyzer-fd-use-without-check]
  ```

Also:
- cmake: update clang-tidy typecheck comment.

Ref: https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.html

Closes #20921
2026-03-16 11:49:34 +01:00
..
curlx badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
vauth badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
vquic badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
vssh protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
vtls urldata: import port types and conn destination format 2026-03-15 12:02:26 +01:00
.gitignore unit tests: extract "private" prototypes at build time 2025-06-30 23:16:40 +02:00
altsvc.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
altsvc.h urldata: import port types and conn destination format 2026-03-15 12:02:26 +01:00
amigaos.c dns: flatten the include tree 2026-01-17 11:45:18 +01:00
amigaos.h lib: fix formatting nits (part 2) 2025-12-02 16:52:54 +01:00
arpa_telnet.h stop using the word 'just' 2026-03-03 15:30:22 +01:00
asyn-ares.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
asyn-base.c badwords: avoid 'simply' 2026-03-10 19:34:06 +01:00
asyn-thrdd.c badwords: avoid 'simply' 2026-03-10 19:34:06 +01:00
asyn.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
bufq.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
bufq.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
bufref.c build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
bufref.h bufref: add Curl_bufref_dup that returns a strdup()ed version 2025-12-04 19:04:19 +01:00
cf-h1-proxy.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
cf-h1-proxy.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
cf-h2-proxy.c lib: keepon improving 2026-03-15 12:48:03 +01:00
cf-h2-proxy.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
cf-haproxy.c build: drop redundant unused variable suppressions 2026-01-14 10:38:34 +01:00
cf-haproxy.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
cf-https-connect.c easy: reset errorbuf on eyeballing success 2026-02-18 12:04:23 +01:00
cf-https-connect.h tidy-up: miscellaneous 2025-12-12 04:18:48 +01:00
cf-ip-happy.c urldata: import port types and conn destination format 2026-03-15 12:02:26 +01:00
cf-ip-happy.h tidy-up: curlx/nonblock.h includes 2025-12-21 02:16:34 +01:00
cf-socket.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
cf-socket.h docs: drop basically 2026-03-07 10:58:36 +01:00
cfilters.c docs/lib: fix typos 2026-03-16 10:43:24 +01:00
cfilters.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
CMakeLists.txt cmake: add CURL_GCC_ANALYZER option, enable in CI, fix/silence 2026-03-16 11:49:34 +01:00
config-mac.h tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
config-os400.h docs: avoid starting sentences with However, 2026-03-07 23:49:11 +01:00
config-riscos.h config-riscos.h: drop all undefs 2026-02-24 15:54:45 +01:00
config-win32.h config-win32.h: merge two #if branches 2026-03-09 11:35:19 +01:00
conncache.c cmake: add CURL_GCC_ANALYZER option, enable in CI, fix/silence 2026-03-16 11:49:34 +01:00
conncache.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
connect.c tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
connect.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
content_encoding.c content_encoding: return 'identity' if none other exists 2026-03-06 22:48:16 +01:00
content_encoding.h content_encoding: avoid strcpy 2025-12-22 14:17:21 +01:00
cookie.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
cookie.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
cshutdn.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
cshutdn.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
curl_addrinfo.c tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
curl_addrinfo.h clang-tidy: add arg names to prototypes where missing 2026-02-23 01:00:47 +01:00
curl_config-cmake.h.in tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
curl_ctype.h lib: fix formatting nits (part 2) 2025-12-02 16:52:54 +01:00
curl_endian.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_endian.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_fnmatch.c clang-tidy: drop redundant casts 2026-02-19 15:27:17 +01:00
curl_fnmatch.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_fopen.c build: use native file open flags in Windows-specific code 2026-02-04 15:59:35 +01:00
curl_fopen.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_get_line.c curl_get_line: drop single-use macro 2026-02-08 15:47:47 +01:00
curl_get_line.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_gethostname.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_gethostname.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_gssapi.c gss: exclude verbose error logic from non-verbose builds 2026-02-10 02:34:33 +01:00
curl_gssapi.h gss: exclude verbose error logic from non-verbose builds 2026-02-10 02:34:33 +01:00
curl_hmac.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
curl_ldap.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
curl_md4.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_md5.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
curl_memrchr.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_memrchr.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_ntlm_core.c clang-tidy: enable readability-math-missing-parentheses, adjust code 2026-02-23 18:57:40 +01:00
curl_ntlm_core.h build: use more const 2026-02-02 12:32:49 +01:00
curl_printf.h tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
curl_range.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
curl_range.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_rtmp.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
curl_rtmp.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
curl_sasl.c urldata: import port types and conn destination format 2026-03-15 12:02:26 +01:00
curl_sasl.h tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
curl_setup.h stop using the word 'just' 2026-03-03 15:30:22 +01:00
curl_sha256.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
curl_sha512_256.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
curl_sha512_256.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_share.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
curl_share.h clang-tidy: add arg names to prototypes where missing 2026-02-23 01:00:47 +01:00
curl_sspi.c build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
curl_sspi.h windows: tidy up includes, macros, document dependencies 2026-02-11 16:15:11 +01:00
curl_threads.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
curl_threads.h windows: bump minimum to Vista (from XP) 2026-01-17 11:41:49 +01:00
curl_trc.c easy: reset errorbuf on eyeballing success 2026-02-18 12:04:23 +01:00
curl_trc.h easy: reset errorbuf on eyeballing success 2026-02-18 12:04:23 +01:00
cw-out.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
cw-out.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
cw-pause.c tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
cw-pause.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
dict.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
dict.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
dllmain.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
doh.c docs/lib: fix typos 2026-03-16 10:43:24 +01:00
doh.h tidy-up: miscellaneous 2026-03-09 11:35:19 +01:00
dynhds.c dynhds: drop duplicate includes 2026-01-21 18:10:08 +01:00
dynhds.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
easy_lock.h windows: bump minimum to Vista (from XP) 2026-01-17 11:41:49 +01:00
easy.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
easygetopt.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
easyif.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
easyoptions.c build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
easyoptions.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
escape.c clang-tidy: enable readability-math-missing-parentheses, adjust code 2026-02-23 18:57:40 +01:00
escape.h tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
fake_addrinfo.c tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
fake_addrinfo.h build: merge TrackMemory (CURLDEBUG) into debug-enabled option 2026-01-19 18:43:17 +01:00
file.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
file.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
fileinfo.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
fileinfo.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
formdata.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
formdata.h clang-tidy: add arg names to prototypes where missing 2026-02-23 01:00:47 +01:00
ftp-int.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
ftp.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
ftp.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
ftplistparser.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
ftplistparser.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
functypes.h clang-tidy: check misc-header-include-cycle, fix in internal headers 2026-02-20 17:33:02 +01:00
getenv.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
getinfo.c clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
getinfo.h lib: refactor the type of funcs which have useless return and checks 2025-11-07 13:01:39 +01:00
gopher.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
gopher.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
hash.c clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
hash.h clang-tidy: add arg names to prototypes where missing 2026-02-23 01:00:47 +01:00
headers.c lib: separate scheme info from protocol implementation 2026-01-19 23:15:13 +01:00
headers.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
hmac.c clang-tidy: enable readability-math-missing-parentheses, adjust code 2026-02-23 18:57:40 +01:00
hostip4.c dns: flatten the include tree 2026-01-17 11:45:18 +01:00
hostip6.c dns: flatten the include tree 2026-01-17 11:45:18 +01:00
hostip.c hostip: remove two zero assigns after memset clear 2026-03-12 08:47:02 +01:00
hostip.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
hsts.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
hsts.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
http1.c http1: fix potential NULL dereference in Curl_h1_req_parse_read() 2026-03-02 13:45:14 +01:00
http1.h tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
http2.c cmake: add CURL_GCC_ANALYZER option, enable in CI, fix/silence 2026-03-16 11:49:34 +01:00
http2.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
http_aws_sigv4.c tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
http_aws_sigv4.h lib: drop unused curlx headers 2025-12-21 02:16:33 +01:00
http_chunks.c tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
http_chunks.h build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
http_digest.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
http_digest.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
http_negotiate.c checksrc: warn for leading spaces before the preprocessor hash 2026-01-13 09:52:26 +01:00
http_negotiate.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
http_ntlm.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
http_ntlm.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
http_proxy.c urldata: import port types and conn destination format 2026-03-15 12:02:26 +01:00
http_proxy.h urldata: import port types and conn destination format 2026-03-15 12:02:26 +01:00
http.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
http.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
httpsrr.c build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
httpsrr.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
idn.c clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
idn.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
if2ip.c tidy-up: move literals to right-side of if expressions (where missing) 2026-02-07 16:41:51 +01:00
if2ip.h lib: fix formatting nits (part 3) 2025-12-03 14:50:16 +01:00
imap.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
imap.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
ldap.c ldap: fix to initialize cleartext connection on Windows 2026-03-16 11:30:45 +01:00
libcurl.def multi: add notifications API 2025-10-07 10:55:31 +02:00
libcurl.rc build: merge TrackMemory (CURLDEBUG) into debug-enabled option 2026-01-19 18:43:17 +01:00
libcurl.vers.in build: tidy up and improve versioned-symbols options 2024-09-21 12:21:14 +02:00
llist.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
llist.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
macos.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
macos.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
Makefile.am lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
Makefile.inc protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
Makefile.soname badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
md4.c tidy-up: miscellaneous 2026-03-09 11:35:19 +01:00
md5.c tidy-up: miscellaneous 2026-03-09 11:35:19 +01:00
memdebug.c clang-tidy: add missing and delete redundant parentheses 2026-02-27 01:03:41 +01:00
mime.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
mime.h tidy-up: macro parentheses 2026-02-24 16:30:05 +01:00
mprintf.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
mqtt.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
mqtt.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
multi_ev.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
multi_ev.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
multi_ntfy.c tidy-up: miscellaneous 2026-01-15 13:06:13 +01:00
multi_ntfy.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
multi.c lib: keepon improving 2026-03-15 12:48:03 +01:00
multihandle.h multi: probe for IPv6 functionality in multi_init() 2026-01-21 09:38:31 +01:00
multiif.h clang-tidy: add arg names to prototypes where missing 2026-02-23 01:00:47 +01:00
netrc.c tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
netrc.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
noproxy.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
noproxy.h noproxy: patterns need to be comma separated 2024-06-01 12:25:13 +02:00
openldap.c cmake: add CURL_GCC_ANALYZER option, enable in CI, fix/silence 2026-03-16 11:49:34 +01:00
optiontable.pl build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
parsedate.c tidy-up: miscellaneous 2026-03-09 11:35:19 +01:00
parsedate.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
pingpong.c pingpong: cleanup timeleft handling 2026-03-11 23:30:05 +01:00
pingpong.h pingpong: cleanup timeleft handling 2026-03-11 23:30:05 +01:00
pop3.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
pop3.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
progress.c build: fix -Wunused-macros warnings, and related tidy-ups 2026-02-19 00:00:48 +01:00
progress.h source: misc typos 2026-01-01 12:43:59 +01:00
protocol.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
protocol.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
psl.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
psl.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
rand.c rand: drop scan-build silencer 2026-03-09 11:35:19 +01:00
rand.h tidy-up: macro parentheses 2026-02-24 16:30:05 +01:00
ratelimit.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
ratelimit.h ratelimit: download finetune 2026-01-16 16:42:31 +01:00
request.c lib: keepon improving 2026-03-15 12:48:03 +01:00
request.h lib: keepon improving 2026-03-15 12:48:03 +01:00
rtsp.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
rtsp.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
select.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
select.h tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
sendf.c cmake: add CURL_GCC_ANALYZER option, enable in CI, fix/silence 2026-03-16 11:49:34 +01:00
sendf.h tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
setopt.c curl.h: remove CURLPROTO_MQTTS from the public header 2026-03-03 23:14:34 +01:00
setopt.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
setup-os400.h tidy-up: macro parentheses 2026-02-24 16:30:05 +01:00
setup-vms.h stop using the word 'just' 2026-03-03 15:30:22 +01:00
setup-win32.h stop using the word 'just' 2026-03-03 15:30:22 +01:00
sha256.c tidy-up: miscellaneous 2026-03-09 11:35:19 +01:00
sigpipe.h clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
slist.c badwords: avoid 'simply' 2026-03-10 19:34:06 +01:00
slist.h slist: constify Curl_slist_append_nodup() string argument 2025-11-25 11:05:48 +01:00
smb.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
smb.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
smtp.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
smtp.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
sockaddr.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
socketpair.c socketpair: clear 'err' when retrying due to EINTR 2026-03-06 22:50:29 +01:00
socketpair.h socketpair: cleaner interface 2026-01-16 16:43:43 +01:00
socks_gssapi.c tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
socks_sspi.c tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
socks.c urldata: connection bit ipv6_ip is wrong 2026-03-14 23:17:40 +01:00
socks.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
splay.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
splay.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
strcase.c build: use more const 2026-02-02 12:32:49 +01:00
strcase.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
strequal.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
strerror.c build: fully omit verbose strings and code when disabled 2026-01-21 13:18:35 +01:00
strerror.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
system_win32.c windows: determine RtlVerifyVersionInfo address on global init 2026-03-09 11:35:19 +01:00
system_win32.h windows: bump minimum to Vista (from XP) 2026-01-17 11:41:49 +01:00
telnet.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
telnet.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
tftp.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
tftp.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
transfer.c lib: keepon improving 2026-03-15 12:48:03 +01:00
transfer.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
uint-bset.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
uint-bset.h build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
uint-hash.c clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
uint-hash.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
uint-spbset.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
uint-spbset.h build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
uint-table.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
uint-table.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
url.c url: use URL for url even in comments 2026-03-16 10:51:02 +01:00
url.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
urlapi-int.h urlapi: use U_CURLU_URLDECODE when toggling it off unsigned 2026-03-03 16:02:50 +01:00
urlapi.c urlapi: verify the last letter of a scheme when set explictly 2026-03-11 23:48:53 +01:00
urldata.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
version.c clang-tidy: drop redundant casts 2026-02-19 15:27:17 +01:00
ws.c cmake: add CURL_GCC_ANALYZER option, enable in CI, fix/silence 2026-03-16 11:49:34 +01:00
ws.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00