cppcheck/man
rikardfalkeborn 613dc19b68 #4241: Check for address of single character passed as string (#1381)
* #4241: Check for address of single character passed as string

Add a check that address of a single character is not passed as argument
to argument marked as strings (using strz). The check does not warn if
the address of a character with known value '\0'.

Since ValueFlow currently does not handle global constants (see #7597),
do not warn if the variable is global to avoid FPs when the address of
a global variable assigned to '\0' is passed to a function expecting a
string.

Remove comment in docs saying strz is unused.

* Change asdf to Hello world

* Add test of address to first element in string

* Add error reporting function to getErrorMessages

* Fix strings in test
2018-10-14 18:49:34 +02:00
..
images Manual: Added a getting started chapter for the GUI 2017-08-12 23:09:13 +02:00
buildman.sh fix a couple of issues in shell scripts found by codacy. 2016-12-25 00:43:47 +01:00
cppcheck-design.docbook
cppcheck.1.xml astyle formatting 2018-10-13 18:42:09 +02:00
manual-ja.docbook Cppcheck_ja.ts is updated (#1099) 2018-02-25 13:50:03 +01:00
manual.docbook #4241: Check for address of single character passed as string (#1381) 2018-10-14 18:49:34 +02:00
writing-rules-1.docbook
writing-rules-2.docbook
writing-rules-3.docbook