MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / update

Method update

windows/crypto/cryptmsg.py:116–122  ·  view source on GitHub ↗
(self, blob, final)

Source from the content-addressed store, hash-verified

114
115
116 def update(self, blob, final):
117 # Test isinstance string ?
118 if isinstance(blob, (windows.pycompat.anybuff, bytearray)):
119 blob = windows.pycompat.raw_encode(blob)
120 buffer = windows.utils.BUFFER(gdef.BYTE).from_buffer_copy(blob)
121 return winproxy.CryptMsgUpdate(self, buffer, len(blob), final)
122 return winproxy.CryptMsgUpdate(self, blob.pbData, blob.cbData, final)
123
124 # constructor
125 @classmethod

Callers 7

from_bufferMethod · 0.95
device_manager.pyFile · 0.80
triggerMethod · 0.80
__init__Method · 0.80
X86RegisterSelectorClass · 0.80
dump_dictMethod · 0.80

Calls 1

from_buffer_copyMethod · 0.80

Tested by

no test coverage detected