cppcheck/cli
Ryan M. Lederman d064f9c243
-j 0 causes indefinite hang. require >= 1 (#5326)
In cppcheck 2.11.1 (macOS), using `-j 0` actually causes cppcheck to do
nothing–it stalls indefinitely.

I could only find one place where `mSettings.jobs` was validated against
> 0 and it's simply an assert, so you wouldn't hit it in a release
build.

- Require -j >= 1 
- Cap -j at 1024, not 10000  (I don't even know what would happen if
you created 10,000 threads, but nothing good; likely exhaust virtual
memory or grind the process to a halt). 1024 is still obscene but there
may be some hypercomputers out there that have that many logical cores.
2023-08-14 11:55:32 +02:00
..
CMakeLists.txt use `ccache` for sanitizer builds / do not use precompiled headers with `ccache` (#4910) 2023-04-01 09:40:10 +02:00
cli.vcxproj extracted single job execution into `SingleExecutor` / improved testing / do not unconditionally apply colors to output (#4882) 2023-04-08 18:06:38 +02:00
cli.vcxproj.filters generate `*.vcxproj` file lists with `dmake` (#4652) 2023-01-21 11:55:36 +01:00
cmdlineparser.cpp -j 0 causes indefinite hang. require >= 1 (#5326) 2023-08-14 11:55:32 +02:00
cmdlineparser.h Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
cppcheckexecutor.cpp CppcheckExecutor: use dedicated ErrorLogger for printing error messages XML (#4985) 2023-08-08 22:58:02 +02:00
cppcheckexecutor.h CppcheckExecutor: use dedicated ErrorLogger for printing error messages XML (#4985) 2023-08-08 22:58:02 +02:00
cppcheckexecutorseh.cpp some `--exception-handling` related improvements (#4368) 2022-08-20 20:54:31 +02:00
cppcheckexecutorseh.h Update copyright year 2023-01-28 10:16:34 +01:00
cppcheckexecutorsig.cpp added missing `__GNUC__` define for selfcheck (#5324) 2023-08-14 10:29:04 +02:00
cppcheckexecutorsig.h cppcheckexecutor.cpp: extracted platform-dependent code into separate files (#4359) 2022-08-16 22:03:44 +02:00
executor.cpp pass `Suppressions` separately from `const Settings` into executors (#5278) 2023-08-07 18:39:57 +02:00
executor.h pass `Suppressions` separately from `const Settings` into executors (#5278) 2023-08-07 18:39:57 +02:00
filelister.cpp File lister: Fix possible resource leaks (#5031) 2023-05-03 16:23:07 +02:00
filelister.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
main.cpp 2.11.99: Set versions 2023-06-22 13:50:51 +02:00
precompiled.h cleaned up includes based on `include-what-you-use` (#4599) 2023-03-02 21:50:14 +01:00
processexecutor.cpp optimized pipe writing/reading and `ErrorMessage` serialization a bit (#5279) 2023-08-13 11:52:02 +02:00
processexecutor.h pass `Suppressions` separately from `const Settings` into executors (#5278) 2023-08-07 18:39:57 +02:00
singleexecutor.cpp TestSingleExecutor: test clang-tidy invocation (#5294) 2023-08-07 20:47:24 +02:00
singleexecutor.h pass `Suppressions` separately from `const Settings` into executors (#5278) 2023-08-07 18:39:57 +02:00
stacktrace.cpp cppcheckexecutor.cpp: extracted platform-dependent code into separate files (#4359) 2022-08-16 22:03:44 +02:00
stacktrace.h cppcheckexecutor.cpp: extracted platform-dependent code into separate files (#4359) 2022-08-16 22:03:44 +02:00
threadexecutor.cpp Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
threadexecutor.h pass `Suppressions` separately from `const Settings` into executors (#5278) 2023-08-07 18:39:57 +02:00
version.rc added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00