Rizin
unix-like reverse engineering framework and cli tools
capstone.CsError Class Reference
Inheritance diagram for capstone.CsError:

Public Member Functions

def __init__ (self, errno)
 
def __str__ (self)
 
def __str__ (self)
 

Public Attributes

 errno
 

Detailed Description

Definition at line 410 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

def capstone.CsError.__init__ (   self,
  errno 
)

Definition at line 411 of file __init__.py.

411  def __init__(self, errno):
412  self.errno = errno
413 

Member Function Documentation

◆ __str__() [1/2]

def capstone.CsError.__str__ (   self)

Definition at line 415 of file __init__.py.

415  def __str__(self):
416  return _cs.cs_strerror(self.errno)
417 

References capstone.CsError.errno, capstone.CsInsn.errno(), and capstone.Cs.errno().

Referenced by capstone.CsError.__str__().

◆ __str__() [2/2]

def capstone.CsError.__str__ (   self)

Definition at line 419 of file __init__.py.

419  def __str__(self):
420  return _cs.cs_strerror(self.errno).decode()
421 
422 
423 # return the core's version
int(* decode)(const ut8 *, ebc_command_t *cmd)
Definition: ebc_disas.c:88

References capstone.CsError.__str__(), capstone.CsError.errno, capstone.CsInsn.errno(), and capstone.Cs.errno().

Member Data Documentation

◆ errno

capstone.CsError.errno

Definition at line 412 of file __init__.py.

Referenced by capstone.CsError.__str__().


The documentation for this class was generated from the following file: