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

Method HasGlobal

database.cpp:468–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466
467
468bool Database::HasGlobal(const std::string& key) const
469{
470 // 0 - false, 1 - true, <0 - exception
471 int value = BNDatabaseHasGlobal(m_object, key.c_str());
472 if (value < 0)
473 {
474 throw DatabaseException("BNDatabaseHasGlobal");
475 }
476
477 return value == 1;
478}
479
480
481Json::Value Database::ReadGlobal(const std::string& key) const

Callers 8

RecognizeMethod · 0.80
RecognizeMethod · 0.80
RecognizeMethod · 0.80
RecognizeMethod · 0.80
RecognizeMethod · 0.80
RecognizeMethod · 0.80
RecognizeMethod · 0.80
RecognizeMethod · 0.80

Calls 2

DatabaseExceptionClass · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected