'Test if the address belongs to an executable memory region.
:param int addr: The address to test
:return: True if the address belongs to an exectubale memory region, False otherwise
:rtype: bool'

def _addr_in_exec_memory_regions(self, addr):

    for (start, end) in self._exec_mem_regions:
        if (start <= addr < end):
            return True
    return False
