Commit de3bbc4f authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

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.
parent 81144b2b
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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 {
+1 −1
Original line number Diff line number Diff line
/* 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 {