miasm
Reverse engineering framework
miasm.ir.translators.C Namespace Reference

Classes

class  TranslatorC
 

Functions

def int_size_to_bn (value, size)
 
def get_c_common_next_pow2 (size)
 

Variables

dictionary TOK_CMP_TO_NATIVE_C
 
dictionary TOK_CMP_TO_BIGNUM_C
 

Function Documentation

◆ get_c_common_next_pow2()

def miasm.ir.translators.C.get_c_common_next_pow2 (   size)
Here is the caller graph for this function:

◆ int_size_to_bn()

def miasm.ir.translators.C.int_size_to_bn (   value,
  size 
)
Here is the caller graph for this function:

Variable Documentation

◆ TOK_CMP_TO_BIGNUM_C

dictionary miasm.ir.translators.C.TOK_CMP_TO_BIGNUM_C
Initial value:
1 = {
2  TOK_EQUAL: "equal",
3  TOK_INF_SIGNED: "inf_signed",
4  TOK_INF_UNSIGNED: "inf_unsigned",
5  TOK_INF_EQUAL_SIGNED: "inf_equal_signed",
6  TOK_INF_EQUAL_UNSIGNED: "inf_equal_unsigned",
7 }

◆ TOK_CMP_TO_NATIVE_C

dictionary miasm.ir.translators.C.TOK_CMP_TO_NATIVE_C
Initial value:
1 = {
2  TOK_EQUAL: "==",
3  TOK_INF_SIGNED: "<",
4  TOK_INF_UNSIGNED: "<",
5  TOK_INF_EQUAL_SIGNED: "<=",
6  TOK_INF_EQUAL_UNSIGNED: "<=",
7 }