lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250920195127.22425-1-csfore@posteo.net>
Date: Sat, 20 Sep 2025 19:51:51 +0000
From: Christopher Fore <csfore@...teo.net>
To: kees@...nel.org
Cc: linux-hardening@...r.kernel.org
Subject: [PATCH] scripts/gcc-plugins: Remove TODO flag

TODO_verify_il was removed by GCC at
9739ae9384dd7cd3bb1c7683d6b80b7a9116eaf8

Direct link to GCC commit:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9739ae9384dd7cd3bb1c7683d6b80b7a9116eaf8

Signed-off-by: Christopher Fore <csfore@...teo.net>
---
 scripts/gcc-plugins/gcc-common.h            | 5 -----
 scripts/gcc-plugins/latent_entropy_plugin.c | 2 +-
 scripts/gcc-plugins/stackleak_plugin.c      | 3 +--
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/scripts/gcc-plugins/gcc-common.h b/scripts/gcc-plugins/gcc-common.h
index 6cb6d1051815..cedc655f4741 100644
--- a/scripts/gcc-plugins/gcc-common.h
+++ b/scripts/gcc-plugins/gcc-common.h
@@ -173,11 +173,6 @@ static inline opt_pass *get_pass_for_id(int id)
 	return g->get_passes()->get_pass_for_id(id);
 }
 
-#define TODO_verify_ssa TODO_verify_il
-#define TODO_verify_flow TODO_verify_il
-#define TODO_verify_stmts TODO_verify_il
-#define TODO_verify_rtl_sharing TODO_verify_il
-
 #define INSN_DELETED_P(insn) (insn)->deleted()
 
 static inline const char *get_decl_section_name(const_tree decl)
diff --git a/scripts/gcc-plugins/latent_entropy_plugin.c b/scripts/gcc-plugins/latent_entropy_plugin.c
index ff0b192be91f..065e1fe58f75 100644
--- a/scripts/gcc-plugins/latent_entropy_plugin.c
+++ b/scripts/gcc-plugins/latent_entropy_plugin.c
@@ -564,7 +564,7 @@ static void latent_entropy_start_unit(void *gcc_data __unused,
 
 #define PASS_NAME latent_entropy
 #define PROPERTIES_REQUIRED PROP_gimple_leh | PROP_cfg
-#define TODO_FLAGS_FINISH TODO_verify_ssa | TODO_verify_stmts | TODO_dump_func \
+#define TODO_FLAGS_FINISH TODO_dump_func \
 	| TODO_update_ssa
 #include "gcc-generate-gimple-pass.h"
 
diff --git a/scripts/gcc-plugins/stackleak_plugin.c b/scripts/gcc-plugins/stackleak_plugin.c
index e486488c867d..6f663bcfda84 100644
--- a/scripts/gcc-plugins/stackleak_plugin.c
+++ b/scripts/gcc-plugins/stackleak_plugin.c
@@ -503,8 +503,7 @@ static bool stackleak_instrument_gate(void)
 
 #define PASS_NAME stackleak_instrument
 #define PROPERTIES_REQUIRED PROP_gimple_leh | PROP_cfg
-#define TODO_FLAGS_START TODO_verify_ssa | TODO_verify_flow | TODO_verify_stmts
-#define TODO_FLAGS_FINISH TODO_verify_ssa | TODO_verify_stmts | TODO_dump_func \
+#define TODO_FLAGS_FINISH TODO_dump_func \
 			| TODO_update_ssa | TODO_rebuild_cgraph_edges
 #include "gcc-generate-gimple-pass.h"
 
-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ