cppcheck/man
Rikard Falkeborn 839fcddd8a Fix #6115 (Add support to realloc to cfg files) (#1953)
* Allow to configure realloc like functions

* memleakonrealloc: Bring back tests.

The old memleak checker was removed, and the tests for it was removed in
commit 9765a2dfab. This also removed the
tests for memleakOnRealloc. Bring back those tests, somewhat modified
since the checker no longer checks for memory leaks.

* Add realloc to mem leak check

* Add tests of realloc buffer size

* Configure realloc functions

* Add test of freopen

* Allow to configure which element is realloc argument

* Fix wrong close in test

cppcheck now warns for this

* Update manual

* Update docs

* Rename alloc/dalloc/realloc functions

Naming the member function realloc caused problems on appveyor. Rename
the alloc and dealloc functions as well for consistency.

* Change comparisson order

* Remove variable and use function call directly

* Create temporary variable to simplify

* Throw mismatchError on mismatching allocation/reallocation

* Refactor to separate function

* Fix potential nullptr dereference

As pointed out by cppcheck.
2019-07-05 12:44:52 +02:00
..
images Manual: Added a getting started chapter for the GUI 2017-08-12 23:09:13 +02:00
buildman.sh Manual: Move .cfg reference to its own document 2019-06-16 10:08:37 +02:00
cppcheck-design.docbook
cppcheck.1.xml Fix link to cppcheck wiki in man page (#1714) 2019-02-28 20:37:49 +01:00
manual-ja.docbook change version number on manual-ja.docbook (#1658) 2019-02-10 16:57:48 +01:00
manual.docbook Fix #6115 (Add support to realloc to cfg files) (#1953) 2019-07-05 12:44:52 +02:00
manual.md Manual: The Cppcheck GUI has some options that can be 'imported' on the command line 2019-06-16 12:37:18 +02:00
reference-cfg-format.md Fix #6115 (Add support to realloc to cfg files) (#1953) 2019-07-05 12:44:52 +02:00
writing-rules-1.docbook
writing-rules-2.docbook
writing-rules-3.docbook