(lifter: Lifter, arch_name: str)
Registers a Lifter or Postprocessor to be used by the pcode lifter.
    Lifters are are given priority based on the order in which they are
    registered. Postprocessors will be run in registration order.

    :param lifter:       The Lifter or Postprocessor to register
    :vartype lifter:     :class:`Lifter` or :class:`Postprocessor`
Registers a Lifter or Postprocessor to be used by the pcode lifter.
    Lifters are are given priority based on the order in which they are
    registered. Postprocessors will be run in registration order.
Registers a Lifter or Postprocessor to be used by the pcode lifter . Lifters are are given priority based on the order in which they are registered . Postprocessors will be run in registration order .
def register(lifter: Lifter, arch_name: str) -> None:
    """
    Registers a Lifter or Postprocessor to be used by the pcode lifter.
    Lifters are are given priority based on the order in which they are
    registered. Postprocessors will be run in registration order.

    :param lifter:       The Lifter or Postprocessor to register
    :vartype lifter:     :class:`Lifter` or :class:`Postprocessor`
    """
    if issubclass(lifter, Lifter):
        l.debug(
            "Registering lifter %s for architecture %s.", lifter.__name__, arch_name
        )
        lifters[arch_name].append(lifter)
    if issubclass(lifter, Postprocessor):
        l.debug(
            "Registering postprocessor %s for architecture %s.",
            lifter.__name__,
            arch_name,
        )
        postprocessors[arch_name].append(lifter)
def register ( lifter : Lifter , arch_name : str ) -> None : if issubclass ( lifter , Lifter ) : l . debug ( "Registering lifter %s for architecture %s." , lifter . __name__ , arch_name ) lifters [ arch_name ] . append ( lifter ) if issubclass ( lifter , Postprocessor ) : l . debug ( "Registering postprocessor %s for architecture %s." , lifter . __name__ , arch_name , ) postprocessors [ arch_name ] . append ( lifter )