orbitcowboy
667cd7f9f8
windows.cfg: Added support for constants from wingdi.h
2020-12-13 01:21:49 +01:00
orbitcowboy
b02ef00e48
windows.cfg: Added support for constants from consoleapi3.h
2020-12-13 00:34:00 +01:00
Daniel Marjamäki
2cf6217859
Travis: ExprEngine debug output was changed, corrected tests.
2020-12-12 21:29:28 +01:00
Daniel Marjamäki
2e96cc932d
ExprEngine; Improved debug output, show constraints.
2020-12-12 21:23:38 +01:00
Daniel Marjamäki
a7fb946ab8
ExprEngine: Clarify debug output a bit
2020-12-12 18:29:17 +01:00
orbitcowboy
ff7e99fd42
Merge branch 'main' of https://github.com/danmar/cppcheck into main
2020-12-12 17:36:46 +01:00
orbitcowboy
099d4ce574
donate_cpu: Add another header to auto detect BSD configuration.
2020-12-12 17:36:31 +01:00
Daniel Marjamäki
cba8b99095
ExprEngine: Catch and handle exceptions in ExprData
2020-12-12 17:33:21 +01:00
orbitcowboy
4b079c8934
donate_cpu: Add rule for automatically activate bsd.cfg
2020-12-12 17:29:25 +01:00
Daniel Marjamäki
d0f700305c
ExprEngine: Avoid analyzing unreachable execution paths
2020-12-12 15:22:49 +01:00
niooss-ledger
0dbff657ab
Add missing \n in help ( #2941 )
...
cppcheck --help printed:
--project-configuration=<config>
If used together with a Visual Studio Solution (*.sln)
or Visual Studio Project (*.vcxproj) you can limit
the configuration cppcheck should check.
For example: --project-configuration=Release|Win32 --max-configs=<limit>
Maximum number of configurations to check in a file
before skipping it. Default is '12'. If used together
with '--force', the last option is the one that is
effective.
A "\n" was missing before option --max-configs, and the doublequotes did
nothing.
2020-12-12 08:30:10 +01:00
IOBYTE
7fc03c6030
fix #10032 (Syntax error if first function in a struct is a template function) ( #2940 )
...
Co-authored-by: Robert Reif <reif@FX6840>
2020-12-11 07:01:20 +01:00
orbitcowboy
c4190d1741
bsd.cfg: Added more types
2020-12-10 14:50:30 +01:00
Daniel Marjamäki
1c99597b9f
bsd.cfg: Added u_char, u_short, u_int, u_long types. and a define TAILQ_HEAD.
2020-12-10 11:43:45 +01:00
Daniel Marjamäki
feeddc39d5
Revert "posix.cfg: added a few types"
...
This reverts commit d0cdf29715
.
2020-12-10 11:40:00 +01:00
Daniel Marjamäki
d0cdf29715
posix.cfg: added a few types
2020-12-09 17:30:32 +01:00
amai2012
daf1efcd28
Github CI: AddUbuntu 20.04 and MacOS 11.0 ( #2936 )
...
The job no longer uses `.latest` environment specifiers.
2020-12-09 09:46:23 +01:00
Daniel Marjamäki
d340e8770c
Fixed Tokenizer::setVarId when removing last scope name
2020-12-08 17:39:04 +01:00
Daniel Marjamäki
245284acde
Tokenizer; Fixed varid for base class member variable
2020-12-08 17:25:50 +01:00
Daniel Marjamäki
7a4462dac5
Tokenizer: Refactoring, use isFunctionHead in setVarId. It should be more reliable.
2020-12-08 16:53:55 +01:00
Daniel Marjamäki
6d7ddde1b5
Bug hunting; Make bughuntingUninit check a bit less noisy about const parameters
2020-12-08 13:34:46 +01:00
Daniel Marjamäki
99cb65b4b2
Bug hunting; Clarify bughuntingUninit output for non-const parameters
2020-12-08 11:16:38 +01:00
IOBYTE
8161baf1e9
fix template debug output line numbers ( #2938 )
2020-12-08 10:35:13 +01:00
IOBYTE
6103da59be
add column number to TokenList::addtoken ( #2939 )
2020-12-08 10:34:23 +01:00
Daniel Marjamäki
bcc7945540
Bug hunting; Separate bughuntingUninit warnings for arguments with separate id
2020-12-08 10:28:40 +01:00
Daniel Marjamäki
02bb14003b
Bug hunting; better handling of struct member assignment in for loop
2020-12-07 19:58:19 +01:00
Daniel Marjamäki
a9f4a14c8d
AUTHORS: Add Falital
2020-12-07 10:33:29 +01:00
amai2012
e085d851c0
Add Valgrind CI action ( #2921 )
...
For now only few testsuites are included. More should be added later.
2020-12-07 08:41:25 +01:00
Daniel Marjamäki
39a9350f6e
Bug hunting: Better analysis of BailoutValue
2020-12-07 06:27:14 +01:00
Daniel Marjamäki
7e9cbda2d5
Revert "2"
...
This reverts commit db386b2a7f
.
That commit was half-done and not intended to be merged.
2020-12-06 22:29:46 +01:00
IOBYTE
8d9f0b3528
fix #9394 ("debug: Executable scope 'x' with unknown function." with … ( #2935 )
2020-12-06 22:08:42 +01:00
Daniel Marjamäki
e541d01533
Bug hunting; Do not check with sanitizers in github action, it takes too much time
2020-12-06 22:06:55 +01:00
Daniel Marjamäki
db386b2a7f
2
2020-12-06 21:45:48 +01:00
Daniel Marjamäki
d12732adfb
Bug hunting; Diagnose array index out of bounds when struct member is accessed
2020-12-06 17:44:07 +01:00
Daniel Marjamäki
5e15a7fac7
Travis; Disable itc checks for now
2020-12-06 17:09:26 +01:00
Daniel Marjamäki
902da4179f
Travis: Disable cve.py for now as it's too slow at the moment. We might need to tweak the script, maybe ensure there is output every minute.. or something
2020-12-06 11:35:52 +01:00
Daniel Marjamäki
3bf758a04b
Bug hunting; Ensure there is warning after unknown variable expression
2020-12-06 10:13:10 +01:00
Daniel Marjamäki
1c6ff9aa2b
AUTHORS
2020-12-06 08:58:37 +01:00
Daniel Marjamäki
7324722dab
Bug hunting; Detect array index out of bounds in loop better
2020-12-05 20:39:54 +01:00
Daniel Marjamäki
089f193d6c
Bug hunting; Fix test CVE-2019-19334
2020-12-05 18:52:18 +01:00
fu7mu4
492cba7d2f
Add Japanese Translation only ( #2934 )
...
- Add 1 new Japanese translation for newly added section
- Remove unfinished tag from Japanese translation
2020-12-05 15:25:00 +01:00
Daniel Marjamäki
46454b1795
CI: Fixed TestBughuntingChecks
2020-12-05 14:56:06 +01:00
Daniel Marjamäki
bdfac5db09
Bug hunting: Fixed test case CVE-2019-19334
2020-12-05 13:51:12 +01:00
Daniel Marjamäki
cb7eee2aa9
SymbolDatabase: Improved types for 'std::string + x'
2020-12-05 13:24:21 +01:00
Daniel Marjamäki
dffa40803e
donate-cpu-server: update versions
2020-12-05 13:23:53 +01:00
Daniel Marjamäki
86ceafa870
Fixed compiler warning; missing enum case in switch
2020-12-05 13:02:43 +01:00
Daniel Marjamäki
076e78ebd0
Fixed Cppcheck warning (explicitConstructor)
2020-12-05 12:41:01 +01:00
Daniel Marjamäki
da4cd6a4f4
Bug hunting; Improved buffer overflow check
2020-12-05 11:47:57 +01:00
Daniel Marjamäki
396c353d3c
bug hunting: Add array index check
2020-12-05 11:46:07 +01:00
Daniel Marjamäki
a810678b83
Addons: handle inline suppressions internally in cppcheckdata
2020-12-05 11:37:09 +01:00