MCPcopy Create free account
hub / github.com/cseagle/blc / findLoopVariable

Method findLoopVariable

block.cc:3051–3100  ·  view source on GitHub ↗

Try to find a Varnode that represents the controlling \e loop \e variable for \b this loop. The Varnode must be: - tested by the exit condition - have a MULTIEQUAL in the head block - have a modification coming in from the tail block - the modification must be the last op or moveable to the last op If the loop variable is found, this routine sets the \e iterateOp and the \e loopDef. \param cbranc

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

isWrittenMethod · 0.80
getOutRevIndexMethod · 0.80
isCallMethod · 0.80
isMarkerMethod · 0.80
codeMethod · 0.80
isMoveableMethod · 0.80
getInMethod · 0.45
getDefMethod · 0.45
numInputMethod · 0.45
getParentMethod · 0.45

Tested by

no test coverage detected