61 Commits

Author SHA1 Message Date
Laszlo Nagy
f554e7f824 apply code inspection results 2019-04-09 19:02:53 +10:00
Laszlo Nagy
919dcf91d7 D51655: Remove traces of ubigraph visualization 2019-04-09 18:29:41 +10:00
Laszlo Nagy
ab35f84ddd fix error logging issue when command not found 2019-01-01 13:15:24 +11:00
Ludvig Michaelsson
920c2bec83 Add support for static analysis of cross compilation
This adds the "--analyzer-target" option to specify target triple, which may be
necessary when "--use-cc" or "--use-c++" are cross compilers.
2018-04-20 17:01:05 +02:00
Laszlo Nagy
2f484d596e fix #99 2018-04-13 08:57:49 +10:00
Laszlo Nagy
fd5f2caf70 fix new pylint warnings and errors 2017-11-22 20:53:12 +11:00
Laszlo Nagy
515121e646 add more typing 2017-09-03 17:53:31 +10:00
Laszlo Nagy
821c4aaf05 add typing 2017-08-05 23:23:53 +10:00
Laszlo Nagy
06aeba36db D34489: fix to put "-analyzer-config" flag in front of the analyzer config flags 2017-08-05 19:48:37 +10:00
Zoltán Gera
e58f8fc49c Handle plist-multi-file output format 2017-06-05 20:23:15 +10:00
Laszlo Nagy
d76feab992 fix more pylint issues 2017-05-07 17:30:09 +10:00
Laszlo Nagy
9f3fbba80d run non configured pylint on travis-ci 2017-05-07 16:47:41 +10:00
Laszlo Nagy
f48f439054 run pep8 and flake8 on travis-ci 2017-05-07 11:31:18 +10:00
Laszlo Nagy
317bb6848b compilation class methods renamed 2017-04-07 22:00:15 +10:00
Laszlo Nagy
662fc4be69 follow up on clang's scan-build review changes 2017-03-11 21:05:46 +11:00
Laszlo Nagy
1d6ab8e931 follow up on clang's scan-build review changes 2017-03-04 12:56:32 +11:00
Laszlo Nagy
8cbdc533e9 intercept capture does not write file itself 2016-11-08 19:42:16 +11:00
Laszlo Nagy
09ef5e7343 execution type refactored to module level from intercept 2016-11-05 19:32:16 +11:00
Laszlo Nagy
bd2d2e125b create class to represent compilation 2016-11-04 23:04:24 +11:00
Laszlo Nagy
8bc9035df8 intercept: use hand written genarators and split up big functions 2016-11-01 00:13:20 +11:00
Laszlo Nagy
d88d10770b --use-cc and --use-c++ parameters are used to find compilers 2016-10-30 14:12:27 +11:00
Laszlo Nagy
d8800e97ee use assert for programing errors 2016-10-29 14:28:03 +11:00
Laszlo Nagy
d6b9348130 make compilation entries in one place 2016-10-29 14:06:33 +11:00
Laszlo Nagy
0aed42782d analyzer does not call split_compiler, but split_command 2016-10-29 12:22:02 +11:00
Laszlo Nagy
9ffdb742cc run_command split output into lines 2016-10-29 12:21:58 +11:00
Laszlo Nagy
44576904e0 output directory re-assignment and report simplifications 2016-10-25 22:51:52 +11:00
Laszlo Nagy
6477c2316c runner and analyze module is one now 2016-10-23 13:45:03 +11:00
Laszlo Nagy
8eaa3c4ede pass wrapper parameters as JSON dictionary 2016-10-23 13:16:52 +11:00
Laszlo Nagy
ce8f8b04ad add functional test against ignore configure step 2016-10-23 00:31:53 +11:00
Laszlo Nagy
80e133b15a create argument module for command line parsing and validation 2016-10-22 23:52:38 +11:00
Laszlo Nagy
186525ea0b add checker enable/disable functional tests 2016-10-22 20:23:16 +11:00
Laszlo Nagy
9a33d8abc5 unify the command line parameter mapper functions in analyzer module 2016-10-22 20:23:16 +11:00
Laszlo Nagy
0e1d19e8b9 add test against exclude flag (and fix findings) 2016-10-22 20:23:16 +11:00
Laszlo Nagy
b520ee05e2 Clang execution now write log before 2016-10-22 20:23:16 +11:00
Laszlo Nagy
b5f7b8300e windows: use console scripts for executables 2016-10-22 20:23:16 +11:00
Laszlo Nagy
7a8f025cec apply pycharm code inspection suggestions 2016-09-06 21:29:42 +10:00
Laszlo Nagy
e4b6f22276 fix wrapper logging was missing 2016-08-21 22:32:10 +10:00
Laszlo Nagy
dc6c8e35f5 rething command wrappers 2016-08-16 03:55:54 +02:00
Laszlo Nagy
fee82a66c0 add more comment on the analyzer cleanup 2016-07-18 09:20:46 +10:00
Laszlo Nagy
d6f6f0dbbd review analyzer entry point 2016-07-17 23:47:10 +10:00
Laszlo Nagy
e714f60e13 pick up CC and CXX if compiler is not specified 2016-05-27 22:52:09 +10:00
Laszlo Nagy
551ea0a97b do copy paramaters before call analyzer runner 2016-04-23 00:49:06 +10:00
Laszlo Nagy
f66e1c8de9 cleanup on log initialization 2016-04-17 00:33:59 +10:00
Laszlo Nagy
5af208a12b log analyzer output in runner module 2016-04-17 00:32:58 +10:00
Laszlo Nagy
de73dcc270 create decorator for compiler wrappers 2016-04-17 00:32:58 +10:00
Laszlo Nagy
18a8eb8833 review clang module 2016-04-17 00:30:51 +10:00
Laszlo Nagy
31a96ac2ef D17487 apply review changes 2016-04-17 00:27:05 +10:00
Laszlo Nagy
c68ef3417b fix backward compatibility with perl version 2016-03-13 20:55:05 +11:00
Laszlo Nagy
de03471503 separate compile option filtering 2016-03-13 20:55:00 +11:00
Laszlo Nagy
1686b702be D16200: Add --force-analyze-debug-code option to scan-build to force debug build 2016-01-30 03:37:41 +00:00