You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we only output a warning when dereferencing function pointers in an SM. Compiler should error on dereferencing an unprotected function pointer, and else generate the following pseudo-code:
if ( fptr<sm_text_start||fptr >= sm_text_end )
{
/* target function outside SM */
goto sm_exit// with function argument meta data according to sm_exit calling conventions
}
else
{
/* target function inside SM */
(*fptr)();
}
The text was updated successfully, but these errors were encountered:
Currently, we only output a warning when dereferencing function pointers in an SM. Compiler should error on dereferencing an unprotected function pointer, and else generate the following pseudo-code:
The text was updated successfully, but these errors were encountered: