angr.ailment.utils

type angr.ailment.utils.GetBitsTypeParams = ailment.expression.Expression
angr.ailment.utils.get_bits(expr)
Return type:

int

Parameters:

expr (GetBitsTypeParams)

angr.ailment.utils.stable_hash(t)
Return type:

int

Parameters:

t (tuple)

angr.ailment.utils.is_none_or_likeable(arg1, arg2, is_list=False)

Returns whether two things are both None or can like each other

angr.ailment.utils.is_none_or_matchable(arg1, arg2, is_list=False)

Returns whether two things are both None or can match each other

angr.ailment.utils.is_lsb_extract(expr)

Return True if expr is an Extract that takes the least-significant expr.bits bits of its base, considering endianness.

Return type:

bool

Parameters:

expr (Expression)

angr.ailment.utils.is_lsb_overwrite(expr)

Return True if expr is an Insert that overwrites the least-significant expr.value.bits bits of its base, considering endianness.

Insert counterpart of is_lsb_extract.

Return type:

bool

Parameters:

expr (Expression)