angr.go.optimization_passes.closure_context

class angr.go.optimization_passes.closure_context.GoClosureContextNamer

Bases: OptimizationPass

Name the variable that stands for the incoming closure context register ctx (codegen prints it as the first parameter) and, when the parent’s closure record is known, type it as *struct { F uintptr; X0 T; ... } so captures read as ctx.X0.

ARCHES = None
PLATFORMS = None
STAGE: OptimizationPassStage = 8
NAME = 'Name the Go closure context register'
__init__(func, manager, **kwargs)