':param int addr: The address to check.
:return: True if the address is inside a non-executable region, False otherwise.
:rtype: bool'

def main_nonexecutable_regions_contain(self, addr):

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