miasm
Reverse engineering framework
|
Public Member Functions | |
def | __init__ (self, loc_db, loc_key, assignblks) |
def | __eq__ (self, other) |
def | __ne__ (self, other) |
def | get_label (self) |
def | assignblks (self) |
def | irs (self) |
def | __iter__ (self) |
def | __getitem__ (self, index) |
def | __len__ (self) |
def | is_dst_set (self) |
def | cache_dst (self) |
def | dst (self) |
def | set_dst (self, value) |
def | dst_linenb (self) |
def | to_string (self) |
def | __str__ (self) |
def | modify_exprs (self, mod_dst=None, mod_src=None) |
def | simplify (self, simplifier) |
Properties | |
loc_key = property(lambda self:self._loc_key) | |
loc_db = property(lambda self:self._loc_db) | |
label = property(get_label) | |
Intermediate representation block object. Stand for an intermediate representation basic block.
def miasm.ir.ir.IRBlock.__init__ | ( | self, | |
loc_db, | |||
loc_key, | |||
assignblks | |||
) |
@loc_key: LocKey of the IR basic block @assignblks: list of AssignBlock
Reimplemented in miasm.ir.ir.irbloc.
def miasm.ir.ir.IRBlock.__eq__ | ( | self, | |
other | |||
) |
def miasm.ir.ir.IRBlock.__getitem__ | ( | self, | |
index | |||
) |
Getitem on assignblks
def miasm.ir.ir.IRBlock.__iter__ | ( | self | ) |
Iterate on assignblks
def miasm.ir.ir.IRBlock.__len__ | ( | self | ) |
Length of assignblks
def miasm.ir.ir.IRBlock.__ne__ | ( | self, | |
other | |||
) |
def miasm.ir.ir.IRBlock.__str__ | ( | self | ) |
def miasm.ir.ir.IRBlock.assignblks | ( | self | ) |
def miasm.ir.ir.IRBlock.cache_dst | ( | self | ) |
def miasm.ir.ir.IRBlock.dst | ( | self | ) |
Return the value of IRDst for the IRBlock
def miasm.ir.ir.IRBlock.dst_linenb | ( | self | ) |
Line number of the IRDst setting statement in the current irs
def miasm.ir.ir.IRBlock.get_label | ( | self | ) |
def miasm.ir.ir.IRBlock.irs | ( | self | ) |
def miasm.ir.ir.IRBlock.is_dst_set | ( | self | ) |
def miasm.ir.ir.IRBlock.modify_exprs | ( | self, | |
mod_dst = None , |
|||
mod_src = None |
|||
) |
Generate a new IRBlock with its AssignBlock expressions modified according to @mod_dst and @mod_src @mod_dst: function called to modify Expression destination @mod_src: function called to modify Expression source
def miasm.ir.ir.IRBlock.set_dst | ( | self, | |
value | |||
) |
Generate a new IRBlock with a dst (IRBlock) fixed to @value
def miasm.ir.ir.IRBlock.simplify | ( | self, | |
simplifier | |||
) |
Simplify expressions in each assignblock @simplifier: ExpressionSimplifier instance
def miasm.ir.ir.IRBlock.to_string | ( | self | ) |
|
static |
|
static |
|
static |