miasm
Reverse engineering framework
miasm.loader.minidump.Enumeration Class Reference
Inheritance diagram for miasm.loader.minidump.Enumeration:
Collaboration diagram for miasm.loader.minidump.Enumeration:

Public Member Functions

def __init__ (self, enum_info)
 
def __getitem__ (self, key)
 
def __getattr__ (self, key)
 
def from_value (self, value)
 

Detailed Description

Stand for an enumeration type

Constructor & Destructor Documentation

◆ __init__()

def miasm.loader.minidump.Enumeration.__init__ (   self,
  enum_info 
)
enum_info: {name: value}

Member Function Documentation

◆ __getattr__()

def miasm.loader.minidump.Enumeration.__getattr__ (   self,
  key 
)

◆ __getitem__()

def miasm.loader.minidump.Enumeration.__getitem__ (   self,
  key 
)
Helper: assume that string is for key, integer is for value

◆ from_value()

def miasm.loader.minidump.Enumeration.from_value (   self,
  value 
)

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