zephyr/scripts
Krzysztof Chruściński 9c2d1c8e99 scripts: logging: dictionary: Fix database generation
I noticed that not all strings were put into database. That is because
algorithm was searching for any null terminated byte arrays in the
section (e.g. rodata) and then attempting to decode it to string.
However, section may contain other static const variable and if a
string is preceded by a variable that has non-printable bytes and no
zero at the end then algorithm was picking a candidate that started
with non-printable characters followed by the string. Such candidate
was discarded because it was not a valid string.

Algorithm is changed to treat as string candidate any sequences that
contains printable bytes followed by 0.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2023-06-19 15:03:07 +02:00
..
build scripts: build: parse_syscalls: Fix duplicate paths on windows 2023-06-19 14:57:39 +02:00
checkpatch
ci ci: testplan: do not start more runners than needed 2023-06-08 07:33:56 -04:00
coccinelle
coredump treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
dts devicetree: better DT_PROP_BY_IDX()/DT_FOREACH_PROP_ELEM() support 2023-05-16 18:14:26 +02:00
footprint scripts: size_report: Use default encoding to process filenames 2023-06-02 15:44:36 -04:00
generate_usb_vif USB-C: genVIF: Cleanup and add support to pick static data from input 2023-05-26 13:54:43 -04:00
gitlint scripts: zephyr_commit_rules: improve commit error messages 2023-02-08 15:03:56 -08:00
kconfig kconfig: provide an option for enforcing Kconfig settings 2023-05-25 14:57:41 +02:00
logging/dictionary scripts: logging: dictionary: Fix database generation 2023-06-19 15:03:07 +02:00
net
pylib twister: Use natural sort when generating hardware map 2023-06-17 07:54:46 -04:00
pylint/checkers scripts: pylint: Add argument parser abbreviation checker 2023-01-26 20:12:36 +09:00
release scripts: add list_devicetree_bindings_changes.py 2023-03-25 11:12:38 +01:00
schemas Twister: Add integration with renode-test 2023-05-26 09:43:49 -04:00
support treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
tests scripts: Typo in the word 'platform' fix 2023-05-29 14:34:33 -04:00
tracing tracing: scripts: Fix spelling 2023-02-08 01:09:31 +09:00
utils scripts: utils: add twister_to_list tool 2023-05-10 09:52:37 +02:00
west_commands west: sign.py: give rimage a key placeholder when there's none 2023-06-19 08:38:48 +02:00
.gitignore
checkpatch.pl
checkstack.pl
coccicheck
dump_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_gcov_files.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
get_maintainer.py scripts: get_maintainer: Fix glob pattern directory match error logic 2023-04-26 00:29:25 +09:00
github_helpers.py
list_boards.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
make_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
requirements-base.txt west.cmake: make MIN_WEST_VERSION catch up with requirements-base.txt 2023-05-22 10:17:11 +02:00
requirements-build-test.txt
requirements-compliance.txt
requirements-doc.txt
requirements-extras.txt scripts: requirements: Update protobuf and grpcio-tools requirements 2023-05-23 08:55:16 +02:00
requirements-run-test.txt twister: Use natural sort when generating hardware map 2023-06-17 07:54:46 -04:00
requirements.txt
series-push-hook.sh
set_assignees.py scripts: set_assignee: don't skip assignment on too many labels 2023-01-26 14:57:29 -05:00
snippets.py scripts: snippets: Use UTF-8 to write CMake files 2023-06-02 15:44:36 -04:00
spelling.txt
tags.sh
twister
valgrind.supp
west-commands.yml
zephyr_module.py west: v0.14.0 is required now (and soon, v1.1) 2023-05-19 13:17:05 -07:00