libipt, insn: add pt_insn_range_is_contiguous()

Add a function to check for a contiguous range of instructions, in the sense
that we can reach the last instruction in the range from the first without using
trace.

The instructions are given by their IPs.

Change-Id: Ia4adf35803c67471811eea2aefd7ff67efa23aa0
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
2 files changed