miasm
Reverse engineering framework
|
Functions | |
def | gen_all_intervals (size) |
def | interval_elements (interv) |
def | test (left, right) |
Variables | |
int | size = 4 |
left | |
right | |
right_int = list(range(1 << size)) | |
tuple | mask = (1 << size) - 1 |
def modularintervals.gen_all_intervals | ( | size | ) |
Return every possible interval for element of @size bit -> 2**(2**size) (number of partition)
def modularintervals.interval_elements | ( | interv | ) |
Generator on element of an interval
def modularintervals.test | ( | left, | |
right | |||
) |
Launch tests on left OP right
modularintervals.left |
tuple modularintervals.mask = (1 << size) - 1 |
modularintervals.right |
modularintervals.right_int = list(range(1 << size)) |
int modularintervals.size = 4 |