libipt, image: find an image section

Add a new function pt_image_find() to find an image section by virtual address
and address-space identifier.  The caller is responsible for putting the
provided image section after use.

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