mbedtls/scripts
Bence Szépkúti 700ee44545 Add missing copyright dates to scripts and sources
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>
2020-06-15 12:05:46 +02:00
..
data_files Remove definitions and settings that are never used or duplicate MSVC 2020-05-21 17:19:56 +03:00
abi_check.py Pylint: abide by useless-object-inheritance warnings 2020-04-11 20:23:22 +02:00
apidoc_full.sh Add missing copyright dates to scripts and sources 2020-06-15 12:05:46 +02:00
assemble_changelog.py Clarify extract_top_version when creating a new section 2020-03-30 11:37:26 +02:00
bump_version.sh Revert "Only build libmbedcrypto" 2020-03-19 14:07:55 +01:00
config.pl If python3 fails, make it clear that this isn't fatal 2019-11-26 13:30:16 +01:00
config.py Merge pull request #3190 from gilles-peskine-arm/config-full-clarify-development 2020-05-04 12:29:09 +02:00
ecc-heap.sh Add missing copyright dates to scripts and sources 2020-06-15 12:05:46 +02:00
find-mem-leak.cocci
footprint.sh Revert "config: Remove TLS and NET options" 2020-03-19 13:55:04 +01:00
generate_errors.pl Add missing copyright dates to scripts and sources 2020-06-15 12:05:46 +02:00
generate_features.pl Add missing copyright dates to scripts and sources 2020-06-15 12:05:46 +02:00
generate_psa_constants.py Add missing copyright dates to scripts and sources 2020-06-15 12:05:46 +02:00
generate_query_config.pl Add missing copyright dates to scripts and sources 2020-06-15 12:05:46 +02:00
generate_visualc_files.pl Add missing copyright dates to scripts and sources 2020-06-15 12:05:46 +02:00
massif_max.pl Add missing copyright dates to scripts and sources 2020-06-15 12:05:46 +02:00
memory.sh Add missing copyright dates to scripts and sources 2020-06-15 12:05:46 +02:00
output_env.sh Add output of python3 version 2020-05-25 13:55:21 +02:00
rename.pl
rm-calloc-cast.cocci
tmp_ignore_makefiles.sh Add missing copyright dates to scripts and sources 2020-06-15 12:05:46 +02:00
windows_msbuild.bat Add a simple build script for Windows with Visual Studio 2020-04-26 20:52:04 +02:00