miasm
Reverse engineering framework
miasm.loader.pe.SHList Class Reference
Inheritance diagram for miasm.loader.pe.SHList:
Collaboration diagram for miasm.loader.pe.SHList:

Public Member Functions

def add_section (self, name="default", data=b"", **args)
 
def align_sections (self, f_align=None, s_align=None)
 
def __repr__ (self)
 
def __getitem__ (self, item)
 
def __len__ (self)
 
def append (self, section)
 
- Public Member Functions inherited from miasm.loader.new_cstruct.CStruct
def __init__ (self, parent_head=None, _sex=None, _wsize=None, **kargs)
 
def pack (self)
 
def __bytes__ (self)
 
def __str__ (self)
 
- Public Member Functions inherited from miasm.loader.new_cstruct.Cstruct_Metaclass
def __new__ (cls, name, bases, dct)
 
def unpack_l (cls, s, off=0, parent_head=None, _sex=None, _wsize=None)
 
def unpack (cls, s, off=0, parent_head=None, _sex=None, _wsize=None)
 

Additional Inherited Members

- Public Attributes inherited from miasm.loader.new_cstruct.CStruct
 parent_head
 
 sex
 
- Static Public Attributes inherited from miasm.loader.new_cstruct.Cstruct_Metaclass
string field_suffix = "_value"
 

Member Function Documentation

◆ __getitem__()

def miasm.loader.pe.SHList.__getitem__ (   self,
  item 
)

Reimplemented from miasm.loader.new_cstruct.CStruct.

◆ __len__()

def miasm.loader.pe.SHList.__len__ (   self)

Reimplemented from miasm.loader.new_cstruct.CStruct.

◆ __repr__()

def miasm.loader.pe.SHList.__repr__ (   self)

Reimplemented from miasm.loader.new_cstruct.CStruct.

Here is the call graph for this function:

◆ add_section()

def miasm.loader.pe.SHList.add_section (   self,
  name = "default",
  data = b"",
**  args 
)
Here is the call graph for this function:

◆ align_sections()

def miasm.loader.pe.SHList.align_sections (   self,
  f_align = None,
  s_align = None 
)

◆ append()

def miasm.loader.pe.SHList.append (   self,
  section 
)
Here is the caller graph for this function:

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