zephyr/scripts
Wenbo Yang 999290278e hardening: Deal with empty lines in csv file
The extra empty line broke the "ninja hardenconfig" on my machine with
Python 3.7.5, it complains:

"
... ...
File "/home/zephyrproject/zephyr/scripts/kconfig/hardenconfig.py",
line 46, in compare_with_hardened_conf

name = row[0]
IndexError: list index out of range
FAILED: CMakeFiles/hardenconfig
"

The csv.reader reads this empty line and gets an empty list which will
not be successfully "de-referenced". Adding extra check to skip the
empty lines.

Signed-off-by: Wenbo Yang <wenbo.yangcn@gmail.com>
2020-08-12 16:43:18 -04:00
..
checkpatch
ci cmake: kconfig: support for multiple SOC_ROOT 2020-08-05 08:06:07 -04:00
coccinelle zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dts devicetree: use edt.pickle more 2020-07-23 09:19:45 -05:00
footprint scripts: size_report: rework to use pyelftools... 2020-07-16 12:14:22 +02:00
gitlint
kconfig hardening: Deal with empty lines in csv file 2020-08-12 16:43:18 -04:00
net scripts: net: Fix incorrect error messages 2020-05-21 14:45:07 +02:00
release
sanity_chk sanitycheck: fix --coverage-tool gcovr 2020-08-11 08:36:39 -04:00
support
tests sanitycheck: Modify expected_subcases 2020-08-03 19:46:15 -04:00
tracing
west_commands west: sign: Move imgtool specific docs to appropriate place 2020-08-03 13:49:17 +02:00
.gitignore
checkpatch.pl Revert "checkpatch: update checkpatch to warn about C99 type usage" 2020-06-08 08:23:57 -05:00
checkstack.pl
coccicheck scripts: Fix documunt referenc for coccicheck 2020-05-08 17:44:44 +02:00
dir_is_writeable.py
file2hex.py scripts: file2hex.py: PEP 8 style fix 2020-06-12 11:09:58 +02:00
filter-known-issues.py
gen_app_partitions.py
gen_cfb_font_header.py zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gen_gcov_files.py scripts: gen_gcov_files.py: add argument help text 2020-06-13 16:33:22 -04:00
gen_kobject_list.py kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
gen_offset_header.py scripts: gen_offset_header: add argument help text 2020-05-21 14:45:24 +02:00
gen_relocate_app.py zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gen_syscalls.py scripts: gen_syscalls: typo fix 2020-06-09 10:39:49 +02:00
get_maintainer.py scripts: add maintainer script 2020-07-24 17:07:48 +02:00
mergehex.py
parse_syscalls.py userspace: net sockets are kernel objects 2020-06-03 22:33:32 +02:00
process_gperf.py scripts: process_gperf: typo fix 2020-06-09 10:40:58 +02:00
requirements-base.txt scripts: Increased minimal pyelftools version 2020-07-23 07:49:35 -04:00
requirements-build-test.txt requirements-build-test.txt: Updating mock module version 2020-07-09 06:26:28 -04:00
requirements-compliance.txt python3: add check_compliance package requirements 2020-08-11 14:49:48 -04:00
requirements-doc.txt ci: do not use latest breathe release for docs 2020-04-07 18:51:13 -04:00
requirements-extras.txt scripts/requirements: add lpc_checksum script 2020-07-29 20:12:24 +02:00
requirements-run-test.txt requirements: add psutil, needed by sanitycheck 2020-05-06 11:07:22 -05:00
requirements.txt python3: add check_compliance package requirements 2020-08-11 14:49:48 -04:00
sanitycheck sanitycheck: tests: Fill results for skipped tests 2020-08-06 11:49:39 +02:00
series-push-hook.sh
spelling.txt
subfolder_list.py scripts: subfolder_list.py: refactor the code 2020-07-20 17:31:53 -04:00
tags.sh
user_wordsize.py posix arch: build on aarch64 / allow host-specific cmake includes 2020-05-09 12:17:24 +02:00
valgrind.supp
west-commands.yml cmake: West extension command for Zephyr config package registration 2020-03-27 16:23:46 +01:00
zephyr_module.py modules: adding support for ROOTs definitions in zephyr/module.yml 2020-08-05 08:06:07 -04:00