'Configure the project to set up global settings (like SimProcedures).'

def configure_project(self):

    self.return_deadend = self.project.loader.extern_object.allocate()
    self.project.hook(self.return_deadend, P['stubs']['CallReturn']())
    def irelative_resolver(resolver_addr):
        if self.project.is_hooked(resolver_addr):
            return
        resolver = self.project.factory.callable(resolver_addr, concrete_only=True)
        try:
            val = resolver()
        except AngrCallableMultistateError:
            l.error('Resolver    at    %#x    failed    to    resolve!    (multivalued)', resolver_addr)
            return None
        except AngrCallableError:
            l.error('Resolver    at    %#x    failed    to    resolve!', resolver_addr)
            return None
        return val._model_concrete.value
    self.project.loader.perform_irelative_relocs(irelative_resolver)
