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
Laszlo Nagy
e165fe6145
intercept-build: introduce advanced options
2015-11-24 23:02:57 +00:00
Laszlo Nagy
5f6a9918e4
fix Devin's comments
2015-11-24 00:39:46 +00:00
Laszlo Nagy
1dd0f86cab
use contextlib decorator
2015-11-16 10:21:03 +00:00
Laszlo Nagy
72dc362183
fix differences between the old implementation and the new
2015-11-08 11:06:58 +00:00
Laszlo Nagy
7ac2192a73
command: handle output separate from compile options
2015-09-20 18:38:34 +00:00
Laszlo Nagy
7ddebb8ccd
fix #31
2015-09-08 20:37:05 +00:00
Laszlo Nagy
30c95a1ec3
implant bear 2.1 improvements
2015-08-07 22:37:34 +00:00
Laszlo Nagy
58b339b9aa
try to fix travis build
2015-07-18 15:21:34 +02:00
Laszlo Nagy
96f7020163
do compile ear library before run intercept
2015-07-11 14:02:30 +02:00