Commit Graph

722 Commits

Author SHA1 Message Date
Daniel Marjamäki 3a90f1fc41 daca2-report: use 'diff' tool 2018-08-14 17:49:27 +02:00
Daniel Marjamäki 20da3d2b46 rundaca: fix syntax error 2018-08-07 09:19:33 +02:00
Daniel Marjamäki c44b72082f rundaca: try to get best folder automatically 2018-08-07 09:18:41 +02:00
Oliver Stöneberg bb27bc280a more small *.py cleanups (#1329)
* added CLion project folder to .gitignore

* adjusted project name in CMakeLists.txt

* avoid warning when compiling "Debug" with Visual Studio via CMake

There was a GCC-style compiler flag in the common flags in compileroptions.cmake which caused the following warning:
cl : Command line warning D9002 : ignoring unknown option '-O0'

* compileroptions.cmake: restored original formatting

* daca2.py: added missing import

* misra.py: removed unnecessary escaping from regular expression
2018-08-06 22:07:58 +02:00
Daniel Marjamäki 750ba1a4c1 rundaca: do not read password from command line argument 2018-08-06 13:37:42 +02:00
Oliver Stöneberg 13cf982b77 some small *.py script cleanup (#1328)
* added CLion project folder to .gitignore

* adjusted project name in CMakeLists.txt

* avoid warning when compiling "Debug" with Visual Studio via CMake

There was a GCC-style compiler flag in the common flags in compileroptions.cmake which caused the following warning:
cl : Command line warning D9002 : ignoring unknown option '-O0'

* compileroptions.cmake: restored original formatting

* some small *.py script cleanups
2018-08-05 20:36:21 +02:00
Daniel Marjamäki b68759ccf5 Added script that tests a patch with daca 2018-08-04 09:42:55 +02:00
Daniel Marjamäki bb73a741a8 daca2-report: tweaked diff report 2018-07-01 14:59:38 +02:00
Daniel Marjamäki da2867c09a daca2-report: attempt to speedup report 2018-06-29 18:14:15 +02:00
Daniel Marjamäki ba8529ce32 daca2-report: Remove column data from diff-warnings because there are changes I want to ignore 2018-06-29 15:35:13 +02:00
Daniel Marjamäki 535526680c rundaca2.py: better error output 2018-06-29 11:27:49 +02:00
Daniel Marjamäki 0ba23c28bf daca2-report: fix checking for positives 2018-06-29 11:16:08 +02:00
Daniel Marjamäki 2d00be7a9a Removed the daca2-diff script. This functionality is embedded in daca2-report instead. 2018-06-29 08:48:01 +02:00
Daniel Marjamäki 6812cb57ba daca2-report: a bit better report 2018-06-29 08:47:00 +02:00
Daniel Marjamäki fc46956a08 daca2-report: show negatives and positives 2018-06-29 07:30:20 +02:00
Daniel Marjamäki b76706fed4 Fixed #8643 (daca2: comparison of versions) 2018-06-28 22:35:48 +02:00
Daniel Marjamäki e111902682 daca: skip hashdeep and lice to avoid hangs 2018-06-21 09:26:06 +02:00
amai2012 453c663fb0
#8611 Rename xmlV2.rng. Renaming it to cppcheck-errors.rng (#1278) 2018-06-06 15:25:09 +02:00
AlexF 99bb0d975c do not need -d'^I' argument for cut command, it's easy input wrong char for invisible char without copying (#1271) 2018-05-30 12:45:32 +02:00
amai2012 ceff09d491 #5178 Supply DTD/(XSD/RNG for cppcheck XML output. Add target to Makefile to create and validate XML from regular run. Update xmlV2.rng accordingly. 2018-05-24 16:12:43 +02:00
Daniel Marjamäki 0a0ffcdac6 daca2: skip --exception-handling to avoid hangs (#8589) 2018-05-21 08:54:21 +02:00
amai2012 64f0d31280 #5718 Supply DTD/XSD/RNG for cppcheck XML output - supply rng for current XML output. Add an automatic check on travis against the --errorlist output 2018-05-17 12:46:15 +02:00
Daniel Marjamäki a716183d33 daca2-search.cgi: string concatenation 2018-05-08 06:58:39 +02:00
Daniel Marjamäki 6ed3c130e7 daca2-search.cgi: Use compound assignment 2018-05-08 06:41:05 +02:00
Markus Elfring bd6173be6e Using compiled regular expressions for DACA2 functions (#1209)
​The method “match” was used as a module-level function in ​for loops
of implementations for DACA2 functions so far.
Use ​compiled regular expression objects instead.

Delete a duplicate element from an alternation.

Link: https://trac.cppcheck.net/ticket/8553
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2018-05-07 22:18:05 +02:00
Daniel Marjamäki 78e1474f55 daca2-report: cleanup. thanks elfring for spotting this. 2018-05-07 22:13:00 +02:00
Daniel Marjamäki b2789cc2c6 daca2-report: fixed review comment 2018-05-07 22:09:26 +02:00
Daniel Marjamäki bd02aca242 daca2: if there is a crash then try to show which file it was caused by 2018-05-07 07:10:00 +02:00
Daniel Marjamäki 02fde2025b Updated run-coverity.sh script 2018-05-05 15:23:35 +02:00
Daniel Marjamäki 31ac889d38 rundaca2: remove cpulimit option 2018-05-04 22:34:04 +02:00
Daniel Marjamäki 8d3570debf triage: use the codeeditor in the gui 2018-05-02 12:59:34 +02:00
Daniel Marjamäki 3c1e39f246 daca2-addons: make it work again 2018-05-02 12:59:07 +02:00
Daniel Marjamäki 47ba7abf0b triage: updated the codeeditor 2018-05-02 10:57:04 +02:00
Daniel Marjamäki 3ef1627d11 Fix noCopyConstructor and noOperatorEq warnings in tools/triage/mainwindow.h 2018-05-01 10:55:06 +02:00
Daniel Marjamäki 2470c711e4 Fix some more Travis warnings 2018-05-01 09:43:51 +02:00
Daniel Marjamäki fce7a0a128 dump: add Function::type 2018-04-30 16:52:51 +02:00
Daniel Marjamäki 05184555b2 clang-ast: print constructors and destructors 2018-04-30 15:42:40 +02:00
Daniel Marjamäki 1bb7c7fbf2 clang-ast: ensure that '-std=c++11' is used 2018-04-30 10:28:44 +02:00
Daniel Marjamäki 45a89b1c46 compare-ast-clang-and-cppcheck: Write some statistics. 2018-04-30 10:24:01 +02:00
Daniel Marjamäki aff108a16f compare-ast-clang-and-cppcheck: Added script that compares the clang and cppcheck AST. For now it only checks if the SymbolDatabase contains the proper function objects. 2018-04-30 10:18:33 +02:00
Daniel Marjamäki f44f726e10 clang-ast: argument is source file. show CXXMethod also. 2018-04-29 22:37:18 +02:00
Daniel Marjamäki 68cd43d3f9 clang-ast: add tool that uses libclang to output ast for a file 2018-04-29 22:22:32 +02:00
alexander 795f244804 Omit test/synthetic from tags file 2018-04-19 22:42:04 +02:00
Daniel Marjamäki a8cd2ac0ea triage: update project file 2018-04-16 10:50:56 +02:00
Daniel Marjamäki 8c082f1b3f Remove lib/cxx11emu.h 2018-04-09 22:28:41 +02:00
Daniel Marjamäki 7e4dba6a7e Updated copyright year 2018-03-31 20:59:09 +02:00
amai2012 27d4495d41 Add executable bit to reduce.py 2018-03-21 09:13:26 +01:00
Daniel Marjamäki dfd8ef5d52 generate_cfg_tests: fix argument count 2018-03-19 20:46:55 +01:00
Daniel Marjamäki e932c44ae6 generate cfg tests: updated NULL pointer testing 2018-03-18 19:04:17 +01:00
Daniel Marjamäki 0741c389c0 generated cfg tests: updates, most unmatched suppressions are removed now 2018-03-18 14:06:26 +01:00