MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / get_value

Method get_value

python/database.py:70–74  ·  view source on GitHub ↗

Get the value for a single key

(self, key: str)

Source from the content-addressed store, hash-verified

68 core.BNFreeStringList(value, count)
69
70 def get_value(self, key: str) -> databuffer.DataBuffer:
71 """Get the value for a single key"""
72 handle = core.BNGetKeyValueStoreBuffer(self.handle, key)
73 assert handle is not None
74 return databuffer.DataBuffer(handle=handle)
75
76 def set_value(self, key: str, value: databuffer.DataBuffer):
77 """Set the value for a single key"""

Callers 2

__getitem__Method · 0.95
update_localsMethod · 0.80

Calls 1

DataBufferMethod · 0.80

Tested by

no test coverage detected