From: Nick Mathewson Date: Wed, 7 May 2014 05:17:41 +0000 (-0400) Subject: Move code-generation scripts to scripts/codegen X-Git-Tag: tor-0.2.5.5-alpha~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de3bbc4f53c2a1905a713c66bf8f375b646cd2a2;p=thirdparty%2Ftor.git Move code-generation scripts to scripts/codegen Now that we have a scripts/* directory, let's put the scripts we use for generating C there. --- diff --git a/scripts/README b/scripts/README index 0a831264ef..f2cb5013c7 100644 --- a/scripts/README +++ b/scripts/README @@ -40,3 +40,16 @@ object files. test/scan-build.sh -- Example script for invoking clang's scan-build static analysis tools. + +Code generation scripts +----------------------- + +codegen/gen_linux_syscalls.pl -- Generate a table mapping linux syscall +numbers to their names. + +codegen/gen_server_ciphers.py -- Generate a sorted list of TLS ciphersuites +for servers to choose from. + +codegen/get_mozilla_ciphers.py -- Generate a list of TLS ciphersuites for +clients to use in order to look like Firefox. + diff --git a/src/common/gen_linux_syscalls.pl b/scripts/codegen/gen_linux_syscalls.pl similarity index 88% rename from src/common/gen_linux_syscalls.pl rename to scripts/codegen/gen_linux_syscalls.pl index 3c64098a0b..f985bad6c9 100755 --- a/src/common/gen_linux_syscalls.pl +++ b/scripts/codegen/gen_linux_syscalls.pl @@ -11,7 +11,7 @@ while (<>) { print <