mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-29 09:21:19 +00:00
700ee44545
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_test_code.py | ||
generate-afl-tests.sh | ||
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_config_script.py | ||
test_generate_test_code.py | ||
test_psa_constant_names.py | ||
test_zeroize.gdb | ||
test-ref-configs.pl | ||
travis-log-failure.sh |