Laszlo Nagy
b37d7d4d01
revert longer logging line in intercept.parse_exec_trace
2017-04-08 20:37:17 +10:00
Laszlo Nagy
282a35f995
use mkstemp to create execution trace file
2017-04-08 13:14:44 +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
035a68c73f
cosmetic renaming
2017-03-04 15:28:18 +11:00
Laszlo Nagy
b9382ba64b
remove hand written tempdir and use tempfile.tmpdir instead
2017-03-04 13:08:54 +11:00
Laszlo Nagy
1d6ab8e931
follow up on clang's scan-build review changes
2017-03-04 12:56:32 +11:00
Laszlo Nagy
811827a4d0
use uuid instead of pid to avoid colision on windows
2016-11-14 23:56:39 +11:00
Laszlo Nagy
361deb9e63
intercept.capture does not deal with previous run results
2016-11-14 22:16:15 +11:00
Laszlo Nagy
3989034737
simplify JSON read/write on libscanbuild side
2016-11-14 21:28:44 +11:00
Laszlo Nagy
8859db446f
intercept trace files now pure JSON files, no append anymore
2016-11-10 08:27:27 +11:00
Laszlo Nagy
8cbdc533e9
intercept capture does not write file itself
2016-11-08 19:42:16 +11:00
Laszlo Nagy
f94595d707
trim down execution details
2016-11-08 09:13:40 +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
b72d083337
file is relative in compilation database
2016-11-01 18:58:58 +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
d6b9348130
make compilation entries in one place
2016-10-29 14:06:33 +11:00
Laszlo Nagy
8eaa3c4ede
pass wrapper parameters as JSON dictionary
2016-10-23 13:16:52 +11:00
Laszlo Nagy
80e133b15a
create argument module for command line parsing and validation
2016-10-22 23:52:38 +11:00
Laszlo Nagy
d8bc5abef2
few exit code test for intercept-build
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
cccd33a4a7
fix windows build
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
7d710f4f43
improve windows support on tests
2016-10-22 20:23:16 +11:00
Gyorgy Orban
930dc3e964
Improve script exit codes
...
If the scripts --help command was called the default 127 exit code was
returned even if the call was successful. If any other module (like
calling help in the argparse module) throws a SystemExit exception
with the sys.exit() call the exit code was not set properly
because exception was not handled.
2016-10-16 22:42:14 +02:00
Laszlo Nagy
af6bd27d5d
remove SELinux checks before libear usage
2016-09-06 21:38:48 +10: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
404a6c8956
fix wine finding
2016-05-27 22:52:09 +10:00
Laszlo Nagy
f66e1c8de9
cleanup on log initialization
2016-04-17 00:33:59 +10:00
Laszlo Nagy
de73dcc270
create decorator for compiler wrappers
2016-04-17 00:32:58 +10:00
Laszlo Nagy
31a96ac2ef
D17487 apply review changes
2016-04-17 00:27:05 +10:00
Laszlo Nagy
de03471503
separate compile option filtering
2016-03-13 20:55:00 +11:00
Laszlo Nagy
17c041fb33
check SELinux status before build libear
2016-01-05 16:25:41 +00:00
Laszlo Nagy
949dc055ac
add language and arch flags to the compilation database
2015-12-28 21:56:28 +01:00
Laszlo Nagy
205445243a
command entry points implemented as decorator
2015-12-25 22:13:52 +01:00
Laszlo Nagy
ca862ad248
check SIP status before build libear
2015-12-25 21:26:23 +01:00
Laszlo Nagy
de96c00dce
rename entry points for D9600
2015-12-25 21:26:23 +01:00
Laszlo Nagy
1b46cbe643
add checks for compiler wrappers
2015-12-11 20:33:29 +00:00
Laszlo Nagy
db97daf803
fix compiler wrapper names
2015-12-10 21:02:17 +00:00
Laszlo Nagy
d1c548838e
update files with Anna comments
2015-12-10 11:20:20 +00:00
Laszlo Nagy
f45264ebf2
add better instruction on program crash to the user
2015-12-07 17:32:19 +01:00
Laszlo Nagy
4150abd49f
cosmetic changes
2015-12-07 16:00:29 +01:00
Laszlo Nagy
412c253efa
logging: add more debug log to trace the execution path easier
2015-11-25 10:00:31 +00:00