## In this file we list false-positives of the check-orig-suspicious.sh script
# so that they can be ignored. You should manually audit all of the files here
# to confirm that they adhere to Debian Policy and the DFSG. In particular, if
# you are blindly adding files here just to get the build to work, you are
# probably Doing It Wrong. Ask in #debian-rust or the mailing list for pointers.

# False-positive, very small so suspicious-source thinks "octet-stream"
src/test/run-pass/raw-str.rs

# False-positive, file(1) misidentifies mime type
src/ci/docker/*/patches/glibc/*/*.patch
vendor/itertools*/examples/iris.data
vendor/regex/tests/unicode.rs
vendor/regex/tests/suffix_reverse.rs

# False-positive, "verylongtext" but OK
CONTRIBUTING.md
library/std/sys/cloudabi/abi/cloudabi.rs
library/std/src/os/raw/*.md
library/std/src/sys/sgx/abi/entry.S
src/doc/book/first-edition/src/the-stack-and-the-heap.md
src/doc/book/*/tools/docx-to-md.xsl
src/doc/edition-guide/src/rust-next/cargo-vendor.md
src/doc/embedded-book/src/*/*.md
src/doc/rust-by-example/src/flow_control/if_let.md
src/doc/rust-by-example/src/std/arc.md
src/doc/rust-by-example/src/trait/dyn.md
src/doc/rustc/src/lints/groups.md
src/doc/rustc/src/targets/known-issues.md
src/doc/rustc-dev-guide/.travis.yml
src/doc/rustc-dev-guide/src/*.md
src/doc/rustc-dev-guide/src/*/*.md
src/doc/rustdoc/src/*.md
src/doc/*/CODE_OF_CONDUCT.md
src/doc/unstable-book/src/*/*.md
src/etc/third-party/README.txt
src/librustc_codegen_ssa/README.md
vendor/*/.travis.yml
vendor/*/Cargo.toml
vendor/*/CHANGELOG.md
vendor/*/CODE_OF_CONDUCT.md
vendor/*/CONTRIBUTORS.md
vendor/*/README.md
vendor/*/README.tpl
vendor/*/LICENSE
vendor/*/*/LICENSE
vendor/*/*/*/LICENSE
vendor/ammonia/src/lib.rs
vendor/base64/RELEASE-NOTES.md
vendor/clap/SPONSORS.md
vendor/clap/.github/CONTRIBUTING.md
vendor/handlebars/src/lib.rs
vendor/maplit/README.rst
vendor/lazy_static/src/lib.rs
vendor/oorandom/tarpaulin-report.html
vendor/pulldown-cmark/tests/suite/footnotes.rs
vendor/pulldown-cmark/third_party/xi-editor/crdt.md
vendor/pulldown-cmark/specs/footnotes.txt
vendor/pulldown-cmark-*/tests/suite/footnotes.rs
vendor/pulldown-cmark-*/third_party/xi-editor/crdt.md
vendor/pulldown-cmark-*/specs/footnotes.txt
vendor/rustc-demangle/src/legacy.rs
vendor/stable_deref_trait/src/lib.rs
vendor/tracing-subscriber/src/fmt/format/json.rs
vendor/unicase/src/lib.rs
vendor/winapi-*/src/winnt.rs
vendor/winapi/src/lib.rs
vendor/xml5ever/examples/README.md

# False-positive, audit-vendor-source automatically flags JS/C files
# The below ones are OK since they're actually part of rust's own source code
# and are not "embedded libraries".
library/backtrace/crates/line-tables-only/src/callback.c
src/ci/docker/scripts/qemu-bare-bones-addentropy.c
src/doc/book/*/ferris.js
src/doc/book/ferris.js
src/etc/wasm32-shim.js
src/grammar/parser-lalr-main.c
src/librustdoc/html/static/*.js
src/librustdoc/html/static/.eslintrc.js
src/test/auxiliary/rust_test_helpers.c
src/test/run-make/wasm-*/*.js
src/test/run-make-fulldeps/*.c
src/test/run-make-fulldeps/*/*.c
src/test/rustdoc-js/*.js
src/test/rustdoc-js-std/*.js
src/tools/rustdoc-js/tester.js
src/tools/rustdoc-js-std/tester.js
vendor/salsa/book/mermaid-init.js
vendor/stacker/src/arch/windows.c

# Embedded libraries, justified in README.source
library/backtrace/crates/backtrace-sys/src/libbacktrace/configure
library/backtrace/crates/backtrace-sys/src/libbacktrace/config/libtool.m4
library/backtrace/crates/backtrace-sys/src/libbacktrace/*.c
library/backtrace/crates/backtrace-sys/src/android-api.c
vendor/compiler_builtins/compiler-rt/lib/BlocksRuntime/*.c
vendor/compiler_builtins/compiler-rt/lib/builtins/*.c
vendor/compiler_builtins/compiler-rt/lib/builtins/*/*.c
vendor/compiler_builtins/compiler-rt/utils/generate_*.awk
vendor/dlmalloc/src/dlmalloc.c
vendor/mdbook/src/theme/book.js
vendor/mdbook/src/theme/searcher/searcher.js
vendor/walkdir/compare/nftw.c
vendor/walkdir-*/compare/nftw.c

# False-positive, misc
library/backtrace/crates/backtrace-sys/src/libbacktrace/libtool.m4
library/stdarch/.travis.yml
library/stdarch/crates/core_arch/foo.wasm
src/doc/rustc-dev-guide/src/queries/example-0.counts.txt
src/test/run-make-fulldeps/target-specs/*.json
src/test/run-make-fulldeps/libtest-json/output.json
vendor/clap/.mention-bot
vendor/cloudabi/cloudabi.rs
vendor/elasticlunr-rs/src/lang/*.rs
vendor/inotify-sys/inotify-sys.sublime-project
vendor/markup5ever/data/entities.json
vendor/num/ci/deploy.enc
vendor/term-0*/scripts/id_rsa.enc

# False-positive, hand-editable small image
src/etc/installer/gfx/
src/doc/embedded-book/src/assets/*.png
src/doc/embedded-book/src/assets/*.svg
src/doc/embedded-book/src/assets/f3.jpg
src/doc/embedded-book/src/assets/nrf52-memory-map.png
src/doc/embedded-book/src/assets/nrf52-spi-frequency-register.png
src/doc/embedded-book/src/assets/verify.jpeg
src/doc/nomicon/src/img/safeandunsafe.svg
src/doc/book/second-edition/src/img/*.png
src/doc/book/second-edition/src/img/*.svg
src/doc/book/src/img/ferris/*.svg
src/doc/book/src/img/*.png
src/doc/book/src/img/*.svg
src/doc/book/2018-edition/src/img/ferris/*.svg
src/doc/book/2018-edition/src/img/*.svg
src/doc/book/2018-edition/src/img/*.png
src/doc/book/tools/docx-to-md.xsl
src/doc/rustc-dev-guide/src/img/rustc_stages.svg
src/doc/rustc-dev-guide/src/queries/example-0.png
src/librustdoc/html/static/*.svg
src/librustdoc/html/static/rust-logo.png
src/librustdoc/html/static/favicon.ico
vendor/addr2line/memory.png
vendor/addr2line/time.png
vendor/base64/icon_CLion.svg
vendor/difference/assets/*.png
vendor/fortanix-sgx-abi/images/enclave-execution-lifecycle.png
vendor/heck/no_step_on_snek.png
vendor/mdbook/src/theme/favicon.svg
vendor/mdbook/src/theme/favicon.png
vendor/num/doc/favicon.ico
vendor/num/doc/rust-logo-128x128-blk-v2.png
vendor/pest/pest-logo.svg
vendor/pretty_assertions/examples/*.png
vendor/termion/logo.svg

# Example code
vendor/html5ever/examples/capi/tokenize.c

# Test data
library/stdarch/ci/gba.json
library/stdarch/crates/stdarch-verify/arm-intrinsics.html
library/stdarch/crates/stdarch-verify/x86-intel.xml
library/stdarch/crates/std_detect/src/detect/test_data/*.auxv
src/test/compile-fail/not-utf8.bin
src/test/mir-opt/*.mir
src/test/mir-opt/*.diff
src/test/mir-opt/*.diff.*
src/test/mir-opt/*/*.mir
src/test/mir-opt/*/*.diff
src/test/mir-opt/*/*.diff.*
src/test/mir-opt/*/*/*.mir
src/test/mir-opt/*/*/*.diff
src/test/mir-opt/*/*/*/*.mir
src/test/mir-opt/*/*/*/*.diff
src/test/*/*.rs
src/test/*/issues/*.rs
src/test/*/*/issue-*.rs
src/test/*/*/issues/*.rs
src/test/*/*.stderr
src/test/*/*/*.rs
src/test/*/*/*.json
src/test/*/*/*.stderr
src/test/*/*/*.stdout
src/test/*/*/*/*.stdout
src/test/*/*/*/*.stderr
src/test/ui/terminal-width/non-whitespace-trimming*.rs
src/tools/*/tests/*/*.stderr
vendor/bstr/src/unicode/data/*Test.txt
vendor/cargo_metadata/tests/test_samples.rs
vendor/cssparser/src/css-parsing-tests/*.json
vendor/cssparser/src/big-data-url.css
vendor/elasticlunr-rs/tests/data/*.in.txt
vendor/flate2/tests/*.gz
vendor/gimli/fixtures/self/*
vendor/goblin/etc/*.rs
vendor/goblin/tests/bins/elf/gnu_hash/helloworld.c
vendor/goblin/tests/bins/elf/gnu_hash/*.so
vendor/idna/tests/IdnaTest.txt
vendor/idna/tests/punycode_tests.json
vendor/idna-0*/tests/IdnaTest.txt
vendor/idna-0*/tests/punycode_tests.json
vendor/itertools/examples/iris.data
vendor/html5ever/data/bench/*.html
vendor/html5ever/html5lib-tests/*/*.dat
vendor/html5ever/html5lib-tests/*/*.test
vendor/libloading/tests/*.dll
vendor/libz-sys/src/smoke.c
vendor/md-5/tests/data/*.blb
vendor/md-5/tests/data/*.bin
vendor/mdbook/src/theme/searcher/searcher.js
vendor/mdbook/tests/searchindex_fixture.json
vendor/minifier/tests/files/test.json
vendor/minifier/tests/files/main.js
vendor/minifier/tests/files/minified_main.js
vendor/pest/benches/data.json
vendor/petgraph/tests/res/*.txt
vendor/pretty_assertions/src/format_changeset.rs
vendor/regex-automata/data/tests/fowler/basic.dat
vendor/regex-automata/data/fowler-tests/basic.dat
vendor/regex/src/testdata/basic.dat
vendor/regex/tests/crates_regex.rs
vendor/regex/tests/fowler.rs
vendor/regex-0*/src/testdata/basic.dat
vendor/regex-0*/tests/fowler.rs
vendor/rustc-demangle/src/lib.rs
vendor/sha-1/tests/data/*.blb
vendor/sha-1/tests/data/*.bin
vendor/tar/tests/archives/*.tar
vendor/term-0*/tests/data/*
vendor/toml/tests/*/*.toml
vendor/toml/tests/*/*.json
vendor/unicode-segmentation/src/testdata.rs
vendor/url/tests/*.json
vendor/url-1*/tests/*.json
vendor/xml5ever/data/bench/strong.xml
vendor/yaml-rust/tests/specexamples.rs.inc
vendor/yaml-rust-0*/tests/specexamples.rs.inc

# Compromise, ideally we'd autogenerate these
# Should already by documented in debian/copyright
src/doc/rustc-dev-guide/src/mir/mir_*.svg
src/librustdoc/html/static/normalize.css
vendor/pest_meta/src/grammar.rs
vendor/regex-syntax/src/unicode_tables/*.rs
vendor/ucd-parse/src/sentence_break.rs
vendor/ucd-trie/src/general_category.rs
vendor/unicode-normalization/src/tables.rs
vendor/unicode-script/src/tables.rs
vendor/unicode-segmentation/src/tables.rs

# Compromise, ideally we'd package these in their own package
src/librustdoc/html/static/*.woff

# Compromise, ideally we'd autogenerate these
vendor/bstr/src/unicode/fsm/*.dfa
