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

Method value

python/metadata.py:205–220  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203
204 @property
205 def value(self):
206 if self.is_integer:
207 return int(self)
208 elif self.is_string:
209 return str(self)
210 elif self.is_bytes:
211 return bytes(self)
212 elif self.is_float:
213 return float(self)
214 elif self.is_boolean:
215 return bool(self)
216 elif self.is_array:
217 return list(self)
218 elif self.is_dict:
219 return self.get_dict()
220 raise TypeError()
221
222 def get_dict(self):
223 if not self.is_dict:

Callers 15

__init__Method · 0.45
__init__Method · 0.45
get_info_stringFunction · 0.45
parse_variableFunction · 0.45
get_attr_as_u64Function · 0.45
get_expr_valueFunction · 0.45
DemangleNameItaniumMethod · 0.45
ProcessRTTIMethod · 0.45
ProcessVFTMethod · 0.45
ProcessRTTIMethod · 0.45
ProcessVFTMethod · 0.45

Calls 1

get_dictMethod · 0.95

Tested by

no test coverage detected