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

Method ReadGlobalData

database.cpp:514–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512
513
514DataBuffer Database::ReadGlobalData(const std::string& key) const
515{
516 BNDataBuffer* value = BNReadDatabaseGlobalData(m_object, key.c_str());
517 if (value == nullptr)
518 {
519 throw DatabaseException("BNReadDatabaseGlobalData");
520 }
521 return DataBuffer(value);
522}
523
524
525void Database::WriteGlobalData(const std::string& key, const DataBuffer& val)

Callers

nothing calls this directly

Calls 3

DatabaseExceptionClass · 0.85
c_strMethod · 0.80
DataBufferClass · 0.70

Tested by

no test coverage detected