gcc-plugins: randstruct: Remove cast exception handling
authorKees Cook <keescook@chromium.org>
Tue, 10 May 2022 23:22:45 +0000 (16:22 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 16 May 2022 23:02:21 +0000 (16:02 -0700)
commit710e4ebfbacac53b05c86a01e6d636c69f6eca9f
tree71aaab8f51459874044be9aefaa0a305f7f2ef5e
parentb146cbf2e32f01f56244d670aef2f43d44fcf120
gcc-plugins: randstruct: Remove cast exception handling

With all randstruct exceptions removed, remove all the exception
handling code. Any future warnings are likely to be shared between
this plugin and Clang randstruct, and will need to be addressed in a
more wholistic fashion.

Cc: Christoph Hellwig <hch@infradead.org>
Cc: linux-hardening@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
scripts/gcc-plugins/randomize_layout_plugin.c