angr.analyses.typehoon.translator¶
- class angr.analyses.typehoon.translator.SimTypeTempRef¶
Bases:
SimTypeRepresents a temporary reference to another type. TypeVariableReference is translated to SimTypeTempRef.
- class angr.analyses.typehoon.translator.TypeTranslator¶
Bases:
objectTranslate type constants to SimType and SimType to type constants.
- __init__(arch, func_addr=None)¶
- Parameters:
arch (archinfo.Arch)
func_addr (int | None)
- arch: Arch
- translated: dict[TypeConstant, SimType]
- translated_simtypes: dict[SimType, TypeConstant]
- structs
- named_struct_id_counter
- struct_name_to_idx
- struct_name()¶
Create a name for an auto-generated struct. Do not conflict with struct names in self.known_structs.
- Return type:
- tc2simtype(tc)¶
- concretize(tc)¶
- backpatch(st, translated)¶
- Parameters:
st (sim_type.SimType)
translated (dict)
- Returns: