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

Method const_pointer

python/lowlevelil.py:4435–4445  ·  view source on GitHub ↗

``const_pointer`` returns an expression for the constant pointer ``value`` with size ``size`` :param int size: the size of the pointer in bytes :param int value: address referenced by pointer :param ILSourceLocation loc: location of returned expression :return: A constant expression of g

(self, size: int, value: int, loc: Optional['ILSourceLocation'] = None)

Source from the content-addressed store, hash-verified

4433 return self.expr(LowLevelILOperation.LLIL_CONST, ExpressionIndex(value), size=size, source_location=loc)
4434
4435 def const_pointer(self, size: int, value: int, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
4436 """
4437 ``const_pointer`` returns an expression for the constant pointer ``value`` with size ``size``
4438
4439 :param int size: the size of the pointer in bytes
4440 :param int value: address referenced by pointer
4441 :param ILSourceLocation loc: location of returned expression
4442 :return: A constant expression of given value and size
4443 :rtype: ExpressionIndex
4444 """
4445 return self.expr(LowLevelILOperation.LLIL_CONST_PTR, value, size=size, source_location=loc)
4446
4447 def extern_pointer(self, size: int, value: int, offset: int, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
4448 """

Callers 4

copy_expr_toMethod · 0.45
M6502Class · 0.45
load_zero_page_16Method · 0.45
indirect_loadMethod · 0.45

Calls 1

exprMethod · 0.95

Tested by

no test coverage detected