Current File : //kunden/usr/share/gdb/python/gdb/__pycache__/disassembler.cpython-39.opt-1.pyc |
a
ɱZh8 � @ s^ d Z ddlZddlZddlT i ZG dd� de�Zddd�Zdd � ZG d
d� dej �Z
e
� dS )
zDisassembler related module.� N)�*c @ s e Zd ZdZdd� Zdd� ZdS )�DisassemblerzLA base class from which all user implemented disassemblers must
inherit.c C s
|| _ dS )z�Constructor. Takes a name, which should be a string, which can be
used to identify this disassembler in diagnostic messages.N)�name)�selfr � r �)/usr/share/gdb/python/gdb/disassembler.py�__init__. s zDisassembler.__init__c C s t d��dS )z�A default implementation of __call__. All sub-classes must
override this method. Calling this default implementation will throw
a NotImplementedError exception.�Disassembler.__call__N)�NotImplementedError)r �infor r r �__call__3 s r N)�__name__�
__module__�__qualname__�__doc__r r r r r r r * s r c C s\ t | t�s| durtd��d}|tv r4t| }t|= | durD| t|<