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

Method deref

python/highlevelil.py:3283–3293  ·  view source on GitHub ↗

``deref`` dereferences expression ``src`` and reads a value of size ``size`` :param int size: size of the read :param ExpressionIndex src: expression being read :param ILSourceLocation loc: location of returned expression :return: The expression ``(*src).size`` :rtype: ExpressionIndex

(self, size: int, src: ExpressionIndex, loc: Optional['ILSourceLocation'])

Source from the content-addressed store, hash-verified

3281 return self.expr(HighLevelILOperation.HLIL_ARRAY_INDEX, src, idx, size=size, source_location=loc)
3282
3283 def deref(self, size: int, src: ExpressionIndex, loc: Optional['ILSourceLocation']) -> ExpressionIndex:
3284 """
3285 ``deref`` dereferences expression ``src`` and reads a value of size ``size``
3286
3287 :param int size: size of the read
3288 :param ExpressionIndex src: expression being read
3289 :param ILSourceLocation loc: location of returned expression
3290 :return: The expression ``(*src).size``
3291 :rtype: ExpressionIndex
3292 """
3293 return self.expr(HighLevelILOperation.HLIL_DEREF, src, size=size, source_location=loc)
3294
3295 def deref_field(
3296 self, size: int, src: ExpressionIndex, offset: int, member_index: int, loc: Optional['ILSourceLocation']

Callers 1

download_debug_infoFunction · 0.45

Calls 1

exprMethod · 0.95

Tested by

no test coverage detected