'Resolves a symbol to an address
Arguments:
resolvable(str,int): Thing to convert into an address
Returns:
int containing address of \'resolvable\', or None'

def resolve(self, resolvable):

    if isinstance(resolvable, str):
        for elf in self.elfs:
            if (resolvable in elf.symbols):
                return elf.symbols[resolvable]
    if isinstance(resolvable, (int, long)):
        return resolvable
