angr.rust.typehoon.translator¶
- class angr.rust.typehoon.translator.RustSimTypeTempRef¶
Bases:
RustSimType,SimTypeTempRefTemporary reference to an unresolved type variable during translation.
- repr(name=None, full=0, memo=None, indent=0)¶
- class angr.rust.typehoon.translator.RustTypeTranslator¶
Bases:
TypeTranslatorBidirectional translator between Rust SimTypes and type constants.
tc2simtype / concretize: TypeConstant -> RustSimType
simtype2tc / lift: RustSimType -> TypeConstant
- ctype2rust(simtype)¶
- Parameters:
simtype (SimType | RustSimType)
- arch: Arch
- memo
- named_struct_id_counter
- struct_name_to_idx
- structs
- translated: dict[TypeConstant, SimType]
- translated_simtypes: dict[SimType, TypeConstant]