security(proof): require call argument arithmetic itself to be closed and i64-safe before imported proof inlining
This commit is contained in:
1 parent
50786ddea0
commit
ebe795f847
1 file changed
+1
@@ -1009,6 +1009,7 @@ fn imported_leaf_arithmetic_safe(target:&Function, call:&CallExpr)->bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
safe(value,&bindings)
|
safe(value,&bindings)
|
||||||
|
&& bindings.iter().all(|(_,argument)|safe(argument,&[]))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 无 sema 效应表时的库函数效应回退(与 sema 的 imported_effects 同思路的保守版)。
|
/// 无 sema 效应表时的库函数效应回退(与 sema 的 imported_effects 同思路的保守版)。
|
||||||
|
|||||||
Reference in new issue
Block a user