(self, abi: str, name: str, arch=None)
return proto.with_arch(arch=arch)
Get a prototype of the given syscall name and its ABI, optionally specialize the prototype to a given
        architecture.

        :param abi:     ABI of the prototype to get.
        :param name:    Name of the syscall.
        :param arch:    The architecture to specialize to.
        :return:        Prototype of the syscall, or None if the prototype does not exist.
Get a prototype of the given syscall name and its ABI, optionally specialize the prototype to a given
        architecture.
Get a prototype of the given syscall name and its ABI optionally specialize the prototype to a given architecture .
def get_prototype(self, abi: str, name: str, arch=None) -> Optional[SimTypeFunction]:
        """
        Get a prototype of the given syscall name and its ABI, optionally specialize the prototype to a given
        architecture.

        :param abi:     ABI of the prototype to get.
        :param name:    Name of the syscall.
        :param arch:    The architecture to specialize to.
        :return:        Prototype of the syscall, or None if the prototype does not exist.
        """
        if abi not in self.syscall_prototypes:
            return None
        proto = self.syscall_prototypes[abi].get(name, None)
        if proto is None:
            return None
        return proto.with_arch(arch=arch)
def get_prototype ( self , abi : str , name : str , arch = None ) -> Optional [ SimTypeFunction ] : if abi not in self . syscall_prototypes : return None proto = self . syscall_prototypes [ abi ] . get ( name , None ) if proto is None : return None return proto . with_arch ( arch = arch )