Home
last modified time | relevance | path

Searched refs:ptr_lhs_type (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c829 const_tree ptr_lhs_type; in find_bad_casts_execute() local
868 ptr_lhs_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(lhs_type)))); in find_bad_casts_execute()
874 if (ptr_lhs_type == void_type_node) in find_bad_casts_execute()
882 if (lookup_attribute("randomize_performed", TYPE_ATTRIBUTES(ptr_lhs_type))) in find_bad_casts_execute()
885 if (!whitelisted_cast(stmt, ptr_lhs_type, ptr_rhs_type)) in find_bad_casts_execute()
886 MISMATCH(gimple_location(stmt), "rhs", ptr_lhs_type, ptr_rhs_type); in find_bad_casts_execute() local
891 if (rhs_code == SSA_NAME && ptr_lhs_type == ptr_rhs_type) in find_bad_casts_execute()
904 if (op0_type == ptr_lhs_type) in find_bad_casts_execute()
911 if (!whitelisted_cast(stmt, ptr_lhs_type, op0_type)) in find_bad_casts_execute()
912 MISMATCH(gimple_location(stmt), "op0", ptr_lhs_type, op0_typ in find_bad_casts_execute() local
925 MISMATCH(gimple_location(stmt), "ssa", ptr_lhs_type, ptr_rhs_type); find_bad_casts_execute() local
[all...]
/kernel/linux/linux-6.6/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c742 const_tree ptr_lhs_type; in find_bad_casts_execute() local
781 ptr_lhs_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(lhs_type)))); in find_bad_casts_execute()
787 if (ptr_lhs_type == void_type_node) in find_bad_casts_execute()
795 if (lookup_attribute("randomize_performed", TYPE_ATTRIBUTES(ptr_lhs_type))) in find_bad_casts_execute()
797 MISMATCH(gimple_location(stmt), "rhs", ptr_lhs_type, ptr_rhs_type); in find_bad_casts_execute() local
801 if (rhs_code == SSA_NAME && ptr_lhs_type == ptr_rhs_type) in find_bad_casts_execute()
814 if (op0_type == ptr_lhs_type) in find_bad_casts_execute()
820 MISMATCH(gimple_location(stmt), "op0", ptr_lhs_type, op0_type); in find_bad_casts_execute() local
830 MISMATCH(gimple_location(stmt), "ssa", ptr_lhs_type, ptr_rhs_type); in find_bad_casts_execute() local

Completed in 4 milliseconds