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

Method append

python/metadata.py:278–283  ·  view source on GitHub ↗

Appends a value to the Metadata array.

(self, value)

Source from the content-addressed store, hash-verified

276 return core.BNMetadataIsKeyValueStore(self.handle)
277
278 def append(self, value):
279 """Appends a value to the Metadata array."""
280 if not self.is_array:
281 raise TypeError("Metadata object is not an array and does not support append")
282 md_value = Metadata(value) # Convert value to Metadata object
283 core.BNMetadataArrayAppend(self.handle, md_value.handle)
284
285 def remove(self, key_or_index):
286 if isinstance(key_or_index, str) and self.is_dict:

Callers 15

registerMethod · 0.45
_print_all_typesMethod · 0.45
get_type_tokensMethod · 0.45
get_type_linesMethod · 0.45
listMethod · 0.45
activity_rootsMethod · 0.45
subactivitiesMethod · 0.45
eligibility_settingsMethod · 0.45
detect_base_addressMethod · 0.45
get_reasonsMethod · 0.45
keysMethod · 0.45
parentsMethod · 0.45

Calls 1

MetadataClass · 0.70

Tested by

no test coverage detected