]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Move code-generation scripts to scripts/codegen
authorNick Mathewson <nickm@torproject.org>
Wed, 7 May 2014 05:17:41 +0000 (01:17 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 7 May 2014 05:17:41 +0000 (01:17 -0400)
Now that we have a scripts/* directory, let's put the scripts we use
for generating C there.

scripts/README
scripts/codegen/gen_linux_syscalls.pl [moved from src/common/gen_linux_syscalls.pl with 88% similarity]
scripts/codegen/gen_server_ciphers.py [moved from src/common/gen_server_ciphers.py with 100% similarity]
scripts/codegen/get_mozilla_ciphers.py [moved from src/common/get_mozilla_ciphers.py with 100% similarity]
src/common/linux_syscalls.inc

index 0a831264ef1f294f063841f5ba643a0a28bd824f..f2cb5013c7925206f61d519325a9335af279e60e 100644 (file)
@@ -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.
+
similarity index 88%
rename from src/common/gen_linux_syscalls.pl
rename to scripts/codegen/gen_linux_syscalls.pl
index 3c64098a0b509ebd3c4e208e024847d0484528e4..f985bad6c99d8df5f3a09270a6abad369df5b1e9 100755 (executable)
@@ -11,7 +11,7 @@ while (<>) {
 
 print <<EOL;
 /* Automatically generated with
-        gen_sandbox_syscalls.pl /usr/include/asm/unistd*.h
+        gen_linux_syscalls.pl /usr/include/asm/unistd*.h
    Do not edit.
  */
 static const struct {
index 912735660d81c1a162d5aa867dac8eb66343e10c..cf47c73809113d0d47f57a6554b9557ae6d4e3e3 100644 (file)
@@ -1,5 +1,5 @@
 /* Automatically generated with
-        gen_sandbox_syscalls.pl /usr/include/asm/unistd*.h
+        gen_linux_syscalls.pl /usr/include/asm/unistd*.h
    Do not edit.
  */
 static const struct {