miasm
Reverse engineering framework
|
Public Member Functions | |
def | identifier (cls, size=32) |
def | number (cls, size=32) |
def | atomic (cls, size=32) |
def | operation (cls, size=32, depth=1) |
def | slice (cls, size=32, depth=1) |
def | compose (cls, size=32, depth=1) |
def | memory (cls, size=32, depth=1) |
def | get (cls, size=32, depth=1, clean=True) |
Public Attributes | |
generated_elements | |
Static Public Attributes | |
int | identifier_len = 5 |
identifier_charset = string.ascii_letters | |
int | number_max = 0xFFFFFFFF |
dictionary | operations_by_args_number |
int | operations_max_args_number = 5 |
bool | perfect_tree = True |
int | slice_add_size = 10 |
int | compose_max_layer = 5 |
int | memory_max_address_size = 32 |
bool | reuse_element = True |
dictionary | generated_elements = {} |
Return an expression randomly generated
def miasm.expression.expression_helper.ExprRandom.atomic | ( | cls, | |
size = 32 |
|||
) |
Return an atomic Expression @size: (optional) Expr size
def miasm.expression.expression_helper.ExprRandom.compose | ( | cls, | |
size = 32 , |
|||
depth = 1 |
|||
) |
Return an ExprCompose @size: (optional) Operation size @depth: (optional) Expression depth
def miasm.expression.expression_helper.ExprRandom.get | ( | cls, | |
size = 32 , |
|||
depth = 1 , |
|||
clean = True |
|||
) |
Return a randomly generated expression @size: (optional) Operation size @depth: (optional) Expression depth @clean: (optional) Clean expression cache between two calls
def miasm.expression.expression_helper.ExprRandom.identifier | ( | cls, | |
size = 32 |
|||
) |
Return a random identifier @size: (optional) identifier size
def miasm.expression.expression_helper.ExprRandom.memory | ( | cls, | |
size = 32 , |
|||
depth = 1 |
|||
) |
Return an ExprMem @size: (optional) Operation size @depth: (optional) Expression depth
def miasm.expression.expression_helper.ExprRandom.number | ( | cls, | |
size = 32 |
|||
) |
Return a random number @size: (optional) number max bits
def miasm.expression.expression_helper.ExprRandom.operation | ( | cls, | |
size = 32 , |
|||
depth = 1 |
|||
) |
Return an ExprOp @size: (optional) Operation size @depth: (optional) Expression depth
def miasm.expression.expression_helper.ExprRandom.slice | ( | cls, | |
size = 32 , |
|||
depth = 1 |
|||
) |
Return an ExprSlice @size: (optional) Operation size @depth: (optional) Expression depth
|
static |
|
static |
miasm.expression.expression_helper.ExprRandom.generated_elements |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |