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.
This commit is contained in:
Nick Mathewson 2014-05-07 01:17:41 -04:00
parent 81144b2bd2
commit de3bbc4f53
5 changed files with 15 additions and 2 deletions

View File

@ -40,3 +40,16 @@ object files.
test/scan-build.sh -- Example script for invoking clang's scan-build test/scan-build.sh -- Example script for invoking clang's scan-build
static analysis tools. 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.

View File

@ -11,7 +11,7 @@ while (<>) {
print <<EOL; print <<EOL;
/* Automatically generated with /* Automatically generated with
gen_sandbox_syscalls.pl /usr/include/asm/unistd*.h gen_linux_syscalls.pl /usr/include/asm/unistd*.h
Do not edit. Do not edit.
*/ */
static const struct { static const struct {

View File

@ -1,5 +1,5 @@
/* Automatically generated with /* Automatically generated with
gen_sandbox_syscalls.pl /usr/include/asm/unistd*.h gen_linux_syscalls.pl /usr/include/asm/unistd*.h
Do not edit. Do not edit.
*/ */
static const struct { static const struct {