interpret: better control over whether we read data with provenance, and implicit provenance stripping where possible
This commit is contained in:
@@ -746,6 +746,11 @@ impl Primitive {
|
||||
pub fn is_int(self) -> bool {
|
||||
matches!(self, Int(..))
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn is_ptr(self) -> bool {
|
||||
matches!(self, Pointer)
|
||||
}
|
||||
}
|
||||
|
||||
/// Inclusive wrap-around range of valid values, that is, if
|
||||
|
||||
Reference in New Issue
Block a user