@@ -72,13 +72,6 @@ they are not instances of commented-out code."
-config=MC3R1.D4.3,reports+={deliberate, "any_area(any_loc(file(arm64_bitops))&&context(name(int_clear_mask16)))"}
-doc_end
--doc_begin="This header file is autogenerated or empty, therefore it poses no
-risk if included more than once."
--file_tag+={empty_header, "^xen/arch/arm/efi/runtime\\.h$"}
--file_tag+={autogen_headers, "^xen/include/xen/compile\\.h$||^xen/include/generated/autoconf.h$||^xen/include/xen/hypercall-defs.h$"}
--config=MC3R1.D4.10,reports+={safe, "all_area(all_loc(file(empty_header||autogen_headers)))"}
--doc_end
-
-doc_begin="Files that are intended to be included more than once do not need to
conform to the directive."
-config=MC3R1.D4.10,reports+={safe, "first_area(text(^/\\* This file is legitimately included multiple times\\. \\*/$, begin-4))"}
@@ -76,6 +76,14 @@
},
{
"id": "SAF-9-safe",
+ "analyser": {
+ "eclair": "MC3R1.D4.10"
+ },
+ "name": "Dir 4.10: empty headers",
+ "text": "Empty headers pose no risk if included more than once."
+ },
+ {
+ "id": "SAF-10-safe",
"analyser": {},
"name": "Sentinel",
"text": "Next ID to be used"
@@ -1 +1,2 @@
/* Placeholder for ARM-specific runtime include/declarations */
+/* SAF-9-safe empty header */
@@ -53,7 +53,7 @@ cmd_compat_h = \
mv -f $@.new $@
quiet_cmd_stub_h = GEN $@
-cmd_stub_h = echo '/* empty */' >$@
+cmd_stub_h = echo '/* SAF-9-safe empty header */' >$@
quiet_cmd_compat_i = CPP $@
cmd_compat_i = $(CPP) $(filter-out -Wa$(comma)% -include %/include/xen/config.h,$(XEN_CFLAGS)) $(cppflags-y) -o $@ $<