linux-zen-desktop/scripts/gcc-plugins/.randomize_layout_seed.h.cmd

2 lines
563 B
Batchfile
Raw Normal View History

2023-08-30 17:31:07 +02:00
savedcmd_scripts/gcc-plugins/randomize_layout_seed.h := SEED=$$(cat scripts/basic/randstruct.seed </dev/null); echo '/*' > scripts/gcc-plugins/randomize_layout_seed.h; echo ' * This file is automatically generated. Keep it private.' >> scripts/gcc-plugins/randomize_layout_seed.h; echo ' * Exposing this value will expose the layout of randomized structures.' >> scripts/gcc-plugins/randomize_layout_seed.h; echo ' */' >> scripts/gcc-plugins/randomize_layout_seed.h; echo "const char *randstruct_seed = \"$$SEED\";" >> scripts/gcc-plugins/randomize_layout_seed.h