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

Method GetValueHash

database.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88
89DataBuffer KeyValueStore::GetValueHash(const std::string& name) const
90{
91 BNDataBuffer* buffer = BNGetKeyValueStoreValueHash(m_object, name.c_str());
92 if (buffer == nullptr)
93 {
94 throw DatabaseException("Unknown key");
95 }
96 return DataBuffer(buffer);
97}
98
99
100DataBuffer KeyValueStore::GetBuffer(const std::string& name) const

Callers

nothing calls this directly

Calls 3

DatabaseExceptionClass · 0.85
c_strMethod · 0.80
DataBufferClass · 0.70

Tested by

no test coverage detected