pub(crate) fn with<R>(f: impl FnOnce(&SmirInterface<'_>) -> R) -> R
Expand description
Execute the given function with access the SmirInterface
.
I.e., This function will load the current interface and calls a function with it. Do not nest these, as that will ICE.