cppcheck/test
Paul Fultz II fd3c1fd040 Fix issue 1777: Undefined Behavior: Comparing pointers to different objects
This uses the lifetime analysis to check when comparing pointer that point to different objects:

```cpp
int main(void)
{
    int foo[10];
    int bar[10];
    int diff;

    if(foo > bar)   // Undefined Behavior
    {
       diff = 1;
    }

    return 0;
}
```
2019-02-23 08:32:08 +01:00
..
cfg gtk.cfg: Add more details for g_print() and g_printerr() 2019-02-18 16:48:46 +01:00
synthetic Improve Python code 2017-06-05 13:23:00 +02:00
CMakeLists.txt Add a check target to cmake (#1465) 2018-11-05 18:13:04 +01:00
options.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
options.h Updated copyright year 2018-01-14 15:37:52 +01:00
redirect.h Updated copyright year 2018-01-14 15:37:52 +01:00
test.cxx test: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:40 +02:00
test64bit.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testassert.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testastutils.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testautovariables.cpp #3030 add another regression test 2019-02-22 21:10:05 +01:00
testbool.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testboost.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testbufferoverrun.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testcharvar.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testclass.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testcmdlineparser.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testcondition.cpp Fix issue 8987: False positive knownConditionTrueFalse (#1678) 2019-02-20 15:28:31 +01:00
testconstructors.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testcppcheck.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testerrorlogger.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testexceptionsafety.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testfilelister.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testfiles.pri Fixed #8960 ("(debug) Unknown type 'x'." with alias in template class alias) (#1643) 2019-02-05 08:52:23 +01:00
testfunctions.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testgarbage.cpp token simplifier: fix crashes related to #8972 (#1659) 2019-02-11 07:45:03 +01:00
testimportproject.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testincompletestatement.cpp Fix issue 8984: FP constStatement regression with qualified name (#1676) 2019-02-19 07:08:36 +01:00
testinternal.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testio.cpp Run simplifyPlatformTypes on library return types (#1672) 2019-02-15 13:29:52 +01:00
testleakautovar.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testlibrary.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testmathlib.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testmemleak.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testnullpointer.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testoptions.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testother.cpp Fix issue 1777: Undefined Behavior: Comparing pointers to different objects 2019-02-23 08:32:08 +01:00
testpath.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testpathmatch.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testplatform.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testpostfixoperator.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testpreprocessor.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testrunner.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
testrunner.vcxproj Fixed #8960 ("(debug) Unknown type 'x'." with alias in template class alias) (#1643) 2019-02-05 08:52:23 +01:00
testrunner.vcxproj.filters Export interfaces from cppcheck-core.dll used from testrunner. In turn remove ctu sources from testrunner which are obsolete now. 2018-12-28 23:09:44 +01:00
testsamples.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testsimplifytemplate.cpp Fixed #8962 ("(debug) Unknown type 'T'" with template typename parame… (#1671) 2019-02-14 11:48:59 +01:00
testsimplifytokens.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testsimplifytypedef.cpp Ticket #8878: Properly simplify typedefs within template instantiations. (#1656) 2019-02-10 09:45:33 +01:00
testsimplifyusing.cpp Fixed #8976 (Crash on `using mystring = std::string;`) (#1663) 2019-02-12 09:39:01 +01:00
testsizeof.cpp Update copyright year 2019-02-09 07:24:06 +01:00
teststl.cpp Update copyright year 2019-02-09 07:24:06 +01:00
teststring.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testsuite.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testsuite.h Update copyright year 2019-02-09 07:24:06 +01:00
testsuppressions.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testsymboldatabase.cpp Fixed regression introduced by my previous commit. 2019-02-20 11:11:20 +01:00
testthreadexecutor.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtimer.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtoken.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtokenize.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtokenlist.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtype.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testuninitvar.cpp UninitVar: Fix --experimental-fast issues 2019-02-10 19:00:01 +01:00
testunusedfunctions.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testunusedprivfunc.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testunusedvar.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testutils.h Update copyright year 2019-02-09 07:24:06 +01:00
testvaarg.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testvalueflow.cpp Improvement to lifetime tracking of addressof and derefencing 2019-02-22 06:38:56 +01:00
testvarid.cpp Fixed #8971 ("(debug) Unknown type 'x'." using alias in class members) (#1653) 2019-02-09 08:34:59 +01:00