interpret: better control over whether we read data with provenance, and implicit provenance stripping where possible
This commit is contained in:
parent
5e6bb83268
commit
47d11a8483
22 changed files with 502 additions and 411 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue