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

Method GetKeyValueStore

metadata.cpp:315–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315map<std::string, Ref<Metadata>> Metadata::GetKeyValueStore() const
316{
317 BNMetadataValueStore* data = BNMetadataGetValueStore(m_object);
318 map<std::string, Ref<Metadata>> result;
319 for (size_t i = 0; i < data->size; i++)
320 {
321 result[data->keys[i]] = new Metadata(data->values[i]);
322 }
323 BNFreeMetadataValueStore(data);
324 return result;
325}
326
327std::string Metadata::GetJsonString() const
328{

Callers 5

formatMethod · 0.80
LoadMetadataMethod · 0.80
LoadMetadataMethod · 0.80
DeserializedMetadataMethod · 0.80
PEHeadersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected