libipt, insn: remove decode_insn() dependency on the decoder

Replace the decoder parameter in decode_insn() with new parameters for the image
to read memory from and the asid to use.

This allows decode_insn() to be used for decoding instructions at arbitrary IPs.

Change-Id: I16aea95e150bfd46aede182f9e229b61b34ffeab
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
1 file changed