angr.go.optimization_passes.stdlib_folder¶
- class angr.go.optimization_passes.stdlib_folder.GoStdlibFolder¶
Bases:
OptimizationPass,CFGTransformationMixinFold inlined standard-library bodies back into the calls they came from.
container/list:
new(List)plus theInitstores islist.New();lazyInit(if l.root.next == nil { l.Init() }) followed bynew(Element)and theinsertstores isl.PushBack(v)/l.PushFront(v);l.len == 0 ? nil : l.root.nextisl.Front()(root.prev:Back()). A fold needs the whole body.- ARCHES = None¶
- PLATFORMS = None¶
- STAGE: OptimizationPassStage = 7¶
- NAME = 'Fold inlined Go standard-library functions'¶
- __init__(func, manager, **kwargs)¶