angr.go.optimization_passes.prototypes¶
- angr.go.optimization_passes.prototypes.receiver_type_from_name(kb, arch, name)¶
pkg.(*T).M-> the SimType of*pkg.T;pkg.T.M->pkg.Twhen it is one word wide.Tmust be a type the binary describes. Closures (.func1) and plain functions give None.- Parameters:
name (str)
- class angr.go.optimization_passes.prototypes.GoPrototypes¶
Bases:
OptimizationPassGive the current function and its callees their Go prototypes (from DWARF, the stdlib signature database or an external source registered on kb.go_signatures) before return sites, argument lists and call sites are built.
- ARCHES = None¶
- PLATFORMS = None¶
- STAGE: OptimizationPassStage = 0¶
- NAME = 'Apply known Go prototypes'¶
- __init__(func, manager, **kwargs)¶