security(proof): require call argument arithmetic itself to be closed and i64-safe before imported proof inlining

This commit is contained in:
cflmy committed 2026-11-18 12:51:55 +08:00
1 parent 50786ddea0
commit ebe795f847
1 file changed
+1
+1
View File
@@ -1009,6 +1009,7 @@ fn imported_leaf_arithmetic_safe(target:&Function, call:&CallExpr)->bool {
}
}
safe(value,&bindings)
&& bindings.iter().all(|(_,argument)|safe(argument,&[]))
}
/// 无 sema 效应表时的库函数效应回退(与 sema 的 imported_effects 同思路的保守版)。