where self->p is const char * in the entry point, but int64_t in the exit point. Perhaps we need to be more permissive when typing variables in DIF typing -- or perhaps we can isolate this to anything that can be cast to NULL (so any integer that is 0)?
It seems like DTrace is very liberal when it comes to variable typing. In
tst.openret.ksh
, DTrace seems to be happy with:where
self->p
isconst char *
in the entry point, butint64_t
in the exit point. Perhaps we need to be more permissive when typing variables in DIF typing -- or perhaps we can isolate this to anything that can be cast to NULL (so any integer that is 0)?