Reijo Tomperi
|
9a4cbe0540
|
Changed CppCheck::parseFromArgs() to return boolean value and reportOut() in case of error.
It used to throw exception and return error message with the exception.
|
2010-04-11 22:53:21 +03:00 |
Daniel Marjamäki
|
6f74c0af5e
|
Fixed #1587 (Crash while processing file)
|
2010-04-11 20:57:30 +02:00 |
Reijo Tomperi
|
b063783bc3
|
Add some unit tests for command line argument parsing
|
2010-04-11 15:25:30 +03:00 |
Reijo Tomperi
|
eb79e5f918
|
Enable -Wshadow in Makefile
|
2010-04-11 14:57:03 +03:00 |
Reijo Tomperi
|
d1f22d50e6
|
Fix last of the -Wshadow warnings.
|
2010-04-11 14:49:50 +03:00 |
Daniel Marjamäki
|
1f022e281f
|
Fixed SIGABRT in new checking
|
2010-04-10 21:28:49 +02:00 |
Daniel Marjamäki
|
5fed938f56
|
Fixed #1190 (array index out of bounds when index variable is assigned in a condition)
|
2010-04-10 21:12:00 +02:00 |
Daniel Marjamäki
|
e17cce6ac4
|
Unit Testing: Added an ASSERT
|
2010-04-10 18:54:12 +02:00 |
Daniel Marjamäki
|
15da4fe689
|
Refactoring: simplified test case
|
2010-04-10 18:50:28 +02:00 |
Daniel Marjamäki
|
d7db82293e
|
gui: removed options for possible error/style
|
2010-04-10 15:32:22 +02:00 |
Daniel Marjamäki
|
96ba41b009
|
Cppcheck Help: Removed information about --auto-dealloc because it is not relevant at the moment.
|
2010-04-10 15:05:59 +02:00 |
Daniel Marjamäki
|
af49d4ba87
|
manual: removed information about possible errors. The inconclusive checks have been disabled. Removed section about --auto-dealloc.. this section is not relevant at the moment.
|
2010-04-10 15:00:01 +02:00 |
Daniel Marjamäki
|
2d41e31cdd
|
Cppcheck: Deprecated the command line options -a, --all and --enable=possibleError
|
2010-04-10 14:54:49 +02:00 |
Daniel Marjamäki
|
e9b4ea44a2
|
Refactoring: Disable inconclusive checks. They can still be activated for debugging/testing purposes
|
2010-04-10 14:05:33 +02:00 |
Daniel Marjamäki
|
7763d25847
|
Fixed #1357 (problem in stl insert method of set template)
|
2010-04-10 10:22:34 +02:00 |
Zachary Blair
|
3152816619
|
Fixed #779 (Tokenizer: delete register keyword everywhere)
|
2010-04-10 09:58:09 +02:00 |
Daniel Marjamäki
|
21717e05cd
|
Refactoring: use more specific conditions instead of std::isupper. Only the A-Z are interesting. This also fixes compiler errors.
|
2010-04-10 09:46:50 +02:00 |
Daniel Marjamäki
|
b4e9185177
|
Fixed #1134 (improve check: pointer access out of bounds not detected (allocated with malloc))
|
2010-04-10 07:57:29 +02:00 |
Martin Ettl
|
3388daadc3
|
ticket 1253 added testcases and one todo
|
2010-04-09 23:36:32 +02:00 |
Reijo Tomperi
|
6dc3860ae9
|
Fix more -Wshadow compile warnings
|
2010-04-09 22:40:37 +03:00 |
Daniel Marjamäki
|
f77dbbb14b
|
Fixed some false positives for unused struct members
|
2010-04-09 19:55:41 +02:00 |
Daniel Marjamäki
|
d360c01675
|
Fixed #1579 (False positive: function can be const when return type is unknown)
|
2010-04-09 19:15:39 +02:00 |
Daniel Marjamäki
|
1328a57103
|
Fixed #1584 (False positive: (static) Member variable not assigned a value in operator=)
|
2010-04-09 18:35:54 +02:00 |
Daniel Marjamäki
|
38a28e28ec
|
Fixed #1581 (False positives 'The scope of the variable x can be reduced')
|
2010-04-09 16:53:27 +02:00 |
Martin Ettl
|
f6a526c8c8
|
reduced -Wshadow warnings from gcc-4.4
|
2010-04-08 22:56:34 +02:00 |
Daniel Marjamäki
|
9a4707c025
|
Fixed #1576 ('Index out of bounds' false positive)
|
2010-04-08 19:57:38 +02:00 |
Daniel Marjamäki
|
1b81a9d435
|
Fixed #1537 ('Unused private function' when using pointer to member function)
|
2010-04-08 19:06:54 +02:00 |
Daniel Marjamäki
|
26c447279c
|
astyle formatting
|
2010-04-08 17:41:22 +02:00 |
Robert Reif
|
bc0a318b6d
|
Fixed #1580 (unnamed anonymous struct can segfault)
|
2010-04-08 17:40:23 +02:00 |
Martin Ettl
|
e23197a527
|
fixed ticket 1578, class Filelister had no virtual dtor
|
2010-04-07 23:07:03 +02:00 |
Robert Reif
|
b651acfc39
|
Unit testing: Testing handling of Borland C++ properties
|
2010-04-07 19:19:28 +02:00 |
Reijo Tomperi
|
fcf532ccaf
|
Fix some -Wshadow compile warnings
|
2010-04-06 23:17:23 +03:00 |
Daniel Marjamäki
|
cd2f8f6838
|
Merge branch 'master' of git://github.com/czw/cppcheck
|
2010-04-06 22:12:11 +02:00 |
Reijo Tomperi
|
7caaee3739
|
Fix some of the warnings that appear with -Wshadow
|
2010-04-06 22:53:05 +03:00 |
Reijo Tomperi
|
a562430f3f
|
Add a few test cases for CppCheck::parseFromArgs
|
2010-04-06 22:13:23 +03:00 |
Martin Ettl
|
2e11805c1a
|
added TODO testcase for checking fwrite() and fread() check for buffer overrun
|
2010-04-06 20:56:01 +02:00 |
Reijo Tomperi
|
5aa88ee5a2
|
Fix vs warnings. Apply patch from kidkat.
|
2010-04-06 21:35:21 +03:00 |
Reijo Tomperi
|
8ce5379299
|
Fix: warning C4138: '*/' found outside of comment
|
2010-04-06 21:07:46 +03:00 |
Robert Reif
|
d498095fa1
|
Unit Testing: Better code coverage of the operator= checking
|
2010-04-06 18:26:29 +02:00 |
Reijo Tomperi
|
c28b365ea0
|
astyle fix
|
2010-04-06 16:56:06 +03:00 |
Jens Bäckman
|
9ae714661b
|
Fix a rare crash with oddly formatted source files
|
2010-04-06 14:23:17 +02:00 |
Martin Ettl
|
c4d1d47f6b
|
fixed ticket 997, now fread and fwrite checked for bufferoverrun
|
2010-04-06 13:55:03 +02:00 |
Reijo Tomperi
|
928163b0cf
|
Fix line number in previously committed unit test
|
2010-04-05 23:37:30 +03:00 |
Daniel Marjamäki
|
0cffe547f9
|
Unit Testing: Added unit test for untested code in CheckBufferOverrun. Using memset on struct.
|
2010-04-05 21:50:40 +02:00 |
Reijo Tomperi
|
d3c251f53a
|
Refactor and fix "After a strncpy() the buffer should be zero-terminated" checking,
|
2010-04-05 21:47:50 +03:00 |
Martin Ettl
|
4bc325f077
|
#ticket 1513: added sqrt() support
|
2010-04-05 20:20:20 +02:00 |
Reijo Tomperi
|
93d195aa0f
|
astyle fix
|
2010-04-05 21:12:43 +03:00 |
Martin Ettl
|
f895ab9a0d
|
Merge branch 'master' of git@github.com:danmar/cppcheck
|
2010-04-05 20:08:21 +02:00 |
Martin Ettl
|
fe7c6aed9f
|
#ticket 1513: added pow() support
|
2010-04-05 20:07:53 +02:00 |
Daniel Marjamäki
|
6327ed55a2
|
Unit Testing: Buffer overruns when using memchr/memset/memcpy/etc
|
2010-04-05 20:02:28 +02:00 |