angr.go.type_parser¶
Parse canonical Go type strings (see angr.go.signature) into Go SimTypes.
- exception angr.go.type_parser.GoTypeParseError¶
Bases:
ValueErrorA malformed Go type string.
- class angr.go.type_parser.GoTypeParser¶
Bases:
objectRecursive-descent parser for Go type strings.
resolvermaps a qualified type name to its GoNamedType record (from a signature database or DWARF); unknown names become opaque structs.- __init__(arch, resolver=None)¶
- Parameters:
resolver (Callable[[str], GoNamedType | None] | None)
- parse_signature(params, results, arg_names=None)¶
Build a function type from parameter and result type strings.
- ITAB_NAMES = ('internal/abi.ITab', 'runtime.itab')¶
- TYPE_NAMES = ('internal/abi.Type', 'runtime._type')¶
- itab_type()¶
The runtime’s itab struct as the binary describes it, or None.