mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
27f215cfa3
It's possible to have a very few rules for some directories and trust that other patterns further along will take care of whatever is left. .gitignore should therefore be loosely organised from least generic to most generic, allowing things like this: # Keep any file with extensions, such as foo.c, bar.h, ... !/dir/*.* # .... # Remove all object files *.o *.obj With this change, we implement some very generic rules for what will and will not be ignored in the fuzz subdirectory, and truse that patterns later on (such as *.o, *.obj, *.exe) will take care of everything we didn't specifically specify for the fuzz subdirectory. Reviewed-by: Rich Salz <rsalz@openssl.org>
172 lines
2.6 KiB
Plaintext
172 lines
2.6 KiB
Plaintext
# Ignore editor artefacts
|
|
/.dir-locals.el
|
|
|
|
# Top level excludes
|
|
/Makefile.orig
|
|
/MINFO
|
|
/TABLE
|
|
/*.a
|
|
/*.pc
|
|
/rehash.time
|
|
/inc.*
|
|
/makefile.*
|
|
/out.*
|
|
/tmp.*
|
|
/configdata.pm
|
|
|
|
# *all* Makefiles
|
|
Makefile
|
|
|
|
# Links under apps
|
|
/apps/CA.pl
|
|
/apps/tsget
|
|
/apps/tsget.pl
|
|
/apps/md4.c
|
|
|
|
# Auto generated headers
|
|
/crypto/buildinf.h
|
|
/crypto/include/internal/*_conf.h
|
|
/openssl/include/opensslconf.h
|
|
/util/domd
|
|
|
|
# Executables
|
|
/apps/openssl
|
|
/test/sha256t
|
|
/test/sha512t
|
|
/test/gost2814789t
|
|
/test/ssltest_old
|
|
/test/*test
|
|
/test/fips_aesavs
|
|
/test/fips_desmovs
|
|
/test/fips_dhvs
|
|
/test/fips_drbgvs
|
|
/test/fips_dssvs
|
|
/test/fips_ecdhvs
|
|
/test/fips_ecdsavs
|
|
/test/fips_rngvs
|
|
/test/fips_test_suite
|
|
/test/ssltest_old
|
|
/test/x509aux
|
|
/test/v3ext
|
|
|
|
# Certain files that get created by tests on the fly
|
|
/test/*.ss
|
|
/test/*.srl
|
|
/test/.rnd
|
|
/test/test*.pem
|
|
/test/newkey.pem
|
|
/test/*.log
|
|
/test/buildtest_*
|
|
|
|
# Fuzz stuff.
|
|
# Anything without an extension is an executable on Unix, so we keep files
|
|
# with extensions. And we keep the corpora subddir versioned as well.
|
|
# Anything more generic with extensions that should be ignored will be taken
|
|
# care of by general ignores for those extensions (*.o, *.obj, *.exe, ...)
|
|
/fuzz/*
|
|
!/fuzz/README*
|
|
!/fuzz/corpora
|
|
!/fuzz/*.*
|
|
|
|
# Misc auto generated files
|
|
/include/openssl/opensslconf.h
|
|
/tools/c_rehash
|
|
/tools/c_rehash.pl
|
|
/tags
|
|
/TAGS
|
|
/crypto.map
|
|
/ssl.map
|
|
|
|
# Windows (legacy)
|
|
/tmp32
|
|
/tmp32.dbg
|
|
/tmp32dll
|
|
/tmp32dll.dbg
|
|
/out32
|
|
/out32.dbg
|
|
/out32dll
|
|
/out32dll.dbg
|
|
/inc32
|
|
/MINFO
|
|
/ms/.rnd
|
|
/ms/bcb.mak
|
|
/ms/libeay32.def
|
|
/ms/nt.mak
|
|
/ms/ntdll.mak
|
|
/ms/ssleay32.def
|
|
/ms/version32.rc
|
|
|
|
# Files created on other branches that are not held in git, and are not
|
|
# needed on this branch
|
|
/include/openssl/asn1_mac.h
|
|
/include/openssl/des_old.h
|
|
/include/openssl/fips.h
|
|
/include/openssl/fips_rand.h
|
|
/include/openssl/krb5_asn.h
|
|
/include/openssl/kssl.h
|
|
/include/openssl/pq_compat.h
|
|
/include/openssl/ssl23.h
|
|
/include/openssl/tmdiff.h
|
|
/include/openssl/ui_compat.h
|
|
/test/fips_aesavs.c
|
|
/test/fips_desmovs.c
|
|
/test/fips_dsatest.c
|
|
/test/fips_dssvs.c
|
|
/test/fips_hmactest.c
|
|
/test/fips_randtest.c
|
|
/test/fips_rngvs.c
|
|
/test/fips_rsagtest.c
|
|
/test/fips_rsastest.c
|
|
/test/fips_rsavtest.c
|
|
/test/fips_shatest.c
|
|
/test/fips_test_suite.c
|
|
/test/shatest.c
|
|
|
|
##### Generic patterns
|
|
# Auto generated assembly language source files
|
|
*.s
|
|
!/crypto/*/asm/*.s
|
|
/crypto/arm*.S
|
|
/crypto/*/*.S
|
|
*.asm
|
|
!/crypto/*/asm/*.asm
|
|
|
|
# Object files
|
|
*.o
|
|
*.obj
|
|
|
|
# editor artefacts
|
|
*.swp
|
|
.#*
|
|
\#*#
|
|
*~
|
|
|
|
# Certificate symbolic links
|
|
*.0
|
|
|
|
# All kinds of executables
|
|
*.so
|
|
*.so.*
|
|
*.dylib
|
|
*.dylib.*
|
|
*.dll
|
|
*.dll.*
|
|
*.exe
|
|
*.pyc
|
|
*.exp
|
|
*.lib
|
|
*.pdb
|
|
*.ilk
|
|
*.def
|
|
*.rc
|
|
*.res
|
|
|
|
# Misc generated stuff
|
|
Makefile.save
|
|
/crypto/**/lib
|
|
/engines/**/lib
|
|
/ssl/**/lib
|
|
*.bak
|
|
cscope.*
|
|
*.d
|