Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
interval Namespace Reference

Functions to work with intervals. More...

Functions

THREAD_SAFE constexpr uval_t last (uval_t off, asize_t s)
 max offset of the interval (assume s != 0)
 
THREAD_SAFE constexpr bool overlap (uval_t off1, asize_t s1, uval_t off2, asize_t s2)
 Do (off1,s1) and (off2,s2) overlap?
 
THREAD_SAFE constexpr bool includes (uval_t off1, asize_t s1, uval_t off2, asize_t s2)
 Does (off1,s1) include (off2,s2)?
 
THREAD_SAFE constexpr bool contains (uval_t off1, asize_t s1, uval_t off)
 Does (off1,s1) contain off?
 

Detailed Description

Functions to work with intervals.