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

Method GetStringMetadata

binaryview.cpp:5166–5172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5164
5165
5166string BinaryView::GetStringMetadata(const string& key)
5167{
5168 auto data = QueryMetadata(key);
5169 if (!data || !data->IsString())
5170 throw QueryMetadataException("Failed to find key: " + key);
5171 return data->GetString();
5172}
5173
5174
5175vector<uint8_t> BinaryView::GetRawMetadata(const string& key)

Callers 1

LoadAllMethod · 0.80

Calls 3

IsStringMethod · 0.80
GetStringMethod · 0.45

Tested by

no test coverage detected