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

Method propagateAddPointer

typeop.cc:1202–1250  ·  view source on GitHub ↗

Determine if the given data-type edge looks like a pointer propagating through an "add a constant" operation. We assume the input to the edge has a pointer data-type. This routine returns one the commands: - 0 indicates this is "add a constant" adding a zero (PTRSUB or PTRADD) - 1 indicates this is "add a constant" and the constant is passed back - 2 indicating the pointer does not propagate

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

calc_maskFunction · 0.85
codeMethod · 0.80
isWrittenMethod · 0.80
getMetatypeMethod · 0.80
getTempTypeMethod · 0.80
getInMethod · 0.45
getOffsetMethod · 0.45
isConstantMethod · 0.45
getSizeMethod · 0.45
getDefMethod · 0.45

Tested by

no test coverage detected