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

Method protectSwitchPathIndirects

coreaction.cc:2189–2241  ·  view source on GitHub ↗

Test if the path to the given BRANCHIND originates from a constant but passes through INDIRECT operations. This indicates that the switch value is produced indirectly, so we mark the earliest INDIRECT operation as \e not \e collapsible, to guarantee that the indirect value is not lost during analysis. \param op is the given BRANCHIND op

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

isWrittenMethod · 0.80
getEvalTypeMethod · 0.80
codeMethod · 0.80
setNoIndirectCollapseMethod · 0.80
getInMethod · 0.45
getDefMethod · 0.45
numInputMethod · 0.45
isConstantMethod · 0.45

Tested by

no test coverage detected