Open deian opened 4 years ago
In prio, we ran into a really awkward thing to debug:
tainted_prio<PrioNSSCtx*> nss = sandbox.malloc_in_sandbox<PrioNSSCtx>() ... nss->NSS_IsInitialized = sandbox.register_callback(t_NSS_IsInitialized);
eneded up getting unregister at the end of the function call.
We probably want to just manually do the unregistering and have a separate type for automatically unregistering callbacks.
In prio, we ran into a really awkward thing to debug:
eneded up getting unregister at the end of the function call.
We probably want to just manually do the unregistering and have a separate type for automatically unregistering callbacks.