mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-10-26 12:37:40 +00:00
To find any files with a missing copyright declaration, use the following script:
# ========================
#!/bin/sh
# Find files with copyright declarations, and list their file extensions
exts=$(grep -Ril --exclude-dir .git --exclude-dir 3rdparty\
--exclude-dir programs/fuzz 'Copyright.*Arm' | sed '
s/.*\///
s/.*\./*./
s/.*/-name "&"/
' | sort -u | sed -n '
:l
N
$!bl
s/\n/ -o /gp
')
# Find files with file extensions that ususally include copyright extensions,
# but don't include a copyright declaration themselves.
eval "find\
'(' -path './.git' -o -path './3rdparty' -o -path './programs/fuzz' ')' -prune\
-o ! -path './tests/data_files/format_pkcs12.fmt'\
! -path './programs/psa/psa_constant_names_generated.c'\
'(' $exts ')' -print" | xargs grep -Li 'Copyright.*Arm'
# ========================
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
|
||
|---|---|---|
| .. | ||
| all-in-docker.sh | ||
| all.sh | ||
| basic-build-test.sh | ||
| basic-in-docker.sh | ||
| check-doxy-blocks.pl | ||
| check-files.py | ||
| check-generated-files.sh | ||
| check-names.sh | ||
| check-python-files.sh | ||
| check-test-cases.py | ||
| curves.pl | ||
| depends-hashes.pl | ||
| depends-pkalgs.pl | ||
| docker_env.sh | ||
| doxygen.sh | ||
| gen_ctr_drbg.pl | ||
| gen_gcm_decrypt.pl | ||
| gen_gcm_encrypt.pl | ||
| gen_pkcs1_v21_sign_verify.pl | ||
| generate-afl-tests.sh | ||
| generate_test_code.py | ||
| key-exchanges.pl | ||
| list-enum-consts.pl | ||
| list-identifiers.sh | ||
| list-macros.sh | ||
| list-symbols.sh | ||
| mbedtls_test.py | ||
| psa_collect_statuses.py | ||
| recursion.pl | ||
| run-test-suites.pl | ||
| tcp_client.pl | ||
| test-ref-configs.pl | ||
| test_config_script.py | ||
| test_generate_test_code.py | ||
| test_psa_constant_names.py | ||
| test_zeroize.gdb | ||
| travis-log-failure.sh | ||