miasm
Reverse engineering framework
|
Public Member Functions | |
def | __init__ (self, bounds=None) |
def | __iter__ (self) |
def | cannon (self) |
def | __repr__ (self) |
def | __contains__ (self, other) |
def | __eq__ (self, i) |
def | __ne__ (self, other) |
def | union (self, other) |
def | difference (self, other) |
def | intersection (self, other) |
def | __add__ (self, other) |
def | __and__ (self, other) |
def | __sub__ (self, other) |
def | hull (self) |
def | empty (self) |
def | show (self, img_x=1350, img_y=20, dry_run=False) |
def | length (self) |
Static Public Member Functions | |
def | cannon_list (tmp) |
Public Attributes | |
is_cannon | |
intervals | |
Stands for intervals with integer bounds Offers common methods to work with interval
def miasm.core.interval.interval.__init__ | ( | self, | |
bounds = None |
|||
) |
Instance an interval object @bounds: (optional) list of (int, int) and/or interval instance
def miasm.core.interval.interval.__add__ | ( | self, | |
other | |||
) |
def miasm.core.interval.interval.__and__ | ( | self, | |
other | |||
) |
def miasm.core.interval.interval.__contains__ | ( | self, | |
other | |||
) |
def miasm.core.interval.interval.__eq__ | ( | self, | |
i | |||
) |
def miasm.core.interval.interval.__iter__ | ( | self | ) |
Iterate on intervals
def miasm.core.interval.interval.__ne__ | ( | self, | |
other | |||
) |
def miasm.core.interval.interval.__repr__ | ( | self | ) |
def miasm.core.interval.interval.__sub__ | ( | self, | |
other | |||
) |
def miasm.core.interval.interval.cannon | ( | self | ) |
|
static |
Return a cannonizes list of intervals @tmp: list of (int, int)
def miasm.core.interval.interval.difference | ( | self, | |
other | |||
) |
Return the difference of intervals @other: interval instance
def miasm.core.interval.interval.empty | ( | self | ) |
Return True iff the interval is empty
def miasm.core.interval.interval.hull | ( | self | ) |
def miasm.core.interval.interval.intersection | ( | self, | |
other | |||
) |
Return the intersection of intervals @other: interval instance
def miasm.core.interval.interval.length | ( | self | ) |
Return the cumulated length of intervals
def miasm.core.interval.interval.show | ( | self, | |
img_x = 1350 , |
|||
img_y = 20 , |
|||
dry_run = False |
|||
) |
show image representing the interval
def miasm.core.interval.interval.union | ( | self, | |
other | |||
) |
Return the union of intervals @other: interval instance
miasm.core.interval.interval.intervals |
miasm.core.interval.interval.is_cannon |