angr.go.typehoon.translator

class angr.go.typehoon.translator.GoTypeTranslator

Bases: TypeTranslator

Bidirectional translator between Go SimTypes and type constants.

ctype2go(simtype)

Re-express a C-flavored SimType with Go SimTypes.

Return type:

SimType

Parameters:

simtype (SimType)

arch: Arch
func_addr: int | None
known_structs: dict[str, SimStruct]
memo: dict[str, Struct]
named_struct_id_counter
struct_name_to_idx
structs
translated: dict[TypeConstant, SimType]
translated_simtypes: dict[SimType, TypeConstant]