MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / pushValue

Function pushValue

lib/core/common.py:2740–2760  ·  view source on GitHub ↗

Push value to the stack (thread dependent)

(value)

Source from the content-addressed store, hash-verified

2738 return longestCommonPrefix(*[_ for _ in sequence if _.startswith(initial)])
2739
2740def pushValue(value):
2741 """
2742 Push value to the stack (thread dependent)
2743 """
2744
2745 exception = None
2746 success = False
2747
2748 for i in xrange(PUSH_VALUE_EXCEPTION_RETRY_COUNT):
2749 try:
2750 getCurrentThreadData().valueStack.append(copy.deepcopy(value))
2751 success = True
2752 break
2753 except Exception as ex:
2754 exception = ex
2755
2756 if not success:
2757 getCurrentThreadData().valueStack.append(None)
2758
2759 if exception:
2760 raise exception
2761
2762def popValue():
2763 """

Callers 15

tableExistsFunction · 0.90
searchFunction · 0.90
startFunction · 0.90
heuristicCheckDbmsFunction · 0.90
checkFalsePositivesFunction · 0.90
checkSuhosinPatchFunction · 0.90
checkFilteredCharsFunction · 0.90
checkWafFunction · 0.90
checkNullConnectionFunction · 0.90
getValueFunction · 0.90
queryPageMethod · 0.90
_xpCmdshellTestMethod · 0.90

Calls 3

getCurrentThreadDataFunction · 0.90
xrangeClass · 0.85
appendMethod · 0.45

Tested by 2

_findUnionCharCountFunction · 0.72
unionTestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…