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

Method keys

rust/src/database/kvs.rs:37–42  ·  view source on GitHub ↗

Get a list of all keys stored in the kvs

(&self)

Source from the content-addressed store, hash-verified

35
36 /// Get a list of all keys stored in the kvs
37 pub fn keys(&self) -> Array<BnString> {
38 let mut count = 0;
39 let result = unsafe { BNGetKeyValueStoreKeys(self.handle.as_ptr(), &mut count) };
40 assert!(!result.is_null());
41 unsafe { Array::new(result, count, ()) }
42 }
43
44 /// Get the value for a single key
45 pub fn value<S: BnStrCompatible>(&self, key: S) -> Option<DataBuffer> {

Callers 2

to_hashmapMethod · 0.45
fmtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected