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

Public Member Functions

def gete (self, raw, off)
 
def sete (self, entries)
 
def set_rva (self, rva, size=None)
 
def build_content (self, raw)
 
def __len__ (self)
 
def __bytes__ (self)
 
def __str__ (self)
 
def __repr__ (self)
 
def add_reloc (self, rels, rtype=3, patchrel=True)
 
def del_reloc (self, taboffset)
 
- 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 __getitem__ (self, item)
 
- 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

◆ __bytes__()

def miasm.loader.pe.DirReloc.__bytes__ (   self)

Reimplemented from miasm.loader.new_cstruct.CStruct.

Here is the caller graph for this function:

◆ __len__()

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

Reimplemented from miasm.loader.new_cstruct.CStruct.

◆ __repr__()

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

Reimplemented from miasm.loader.new_cstruct.CStruct.

◆ __str__()

def miasm.loader.pe.DirReloc.__str__ (   self)

Reimplemented from miasm.loader.new_cstruct.CStruct.

Here is the call graph for this function:

◆ add_reloc()

def miasm.loader.pe.DirReloc.add_reloc (   self,
  rels,
  rtype = 3,
  patchrel = True 
)

◆ build_content()

def miasm.loader.pe.DirReloc.build_content (   self,
  raw 
)
Here is the caller graph for this function:

◆ del_reloc()

def miasm.loader.pe.DirReloc.del_reloc (   self,
  taboffset 
)

◆ gete()

def miasm.loader.pe.DirReloc.gete (   self,
  raw,
  off 
)

◆ set_rva()

def miasm.loader.pe.DirReloc.set_rva (   self,
  rva,
  size = None 
)

◆ sete()

def miasm.loader.pe.DirReloc.sete (   self,
  entries 
)

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