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

Method checkSingle

condexe.cc:857–871  ·  view source on GitHub ↗

\brief Check for the \e alternate form, tmp1 = (val2 == 0) ? val1 : 0; We know we have the basic form \code tmp1 = cond ? val1 : 0; result = tmp1 | other; \endcode So we just need to check that \b other plays the role of \b val2. If we match the \e alternate form, perform the simplification \param vn is the candidate \b other Varnode \param branch holds the basic form \param op is the INT_OR p-c

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

isFreeMethod · 0.80
discoverCbranchMethod · 0.80
loneDescendMethod · 0.80
discoverPathIsTrueMethod · 0.80
opRemoveInputMethod · 0.80
opSetOpcodeMethod · 0.80
getOutMethod · 0.45
opSetInputMethod · 0.45

Tested by

no test coverage detected