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

Method load

python/mediumlevelil.py:3683–3693  ·  view source on GitHub ↗

``load`` Reads ``size`` bytes from the expression ``src`` :param int size: number of bytes to read :param ExpressionIndex src: the expression to read memory from :param ILSourceLocation loc: location of returned expression :return: The expression ``[addr].size`` :rtype: ExpressionIndex

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

Source from the content-addressed store, hash-verified

3681 return self.expr(MediumLevelILOperation.MLIL_SET_VAR_SPLIT, hi.identifier, lo.identifier, src, size=size, source_location=loc)
3682
3683 def load(self, size: int, src: ExpressionIndex, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex:
3684 """
3685 ``load`` Reads ``size`` bytes from the expression ``src``
3686
3687 :param int size: number of bytes to read
3688 :param ExpressionIndex src: the expression to read memory from
3689 :param ILSourceLocation loc: location of returned expression
3690 :return: The expression ``[addr].size``
3691 :rtype: ExpressionIndex
3692 """
3693 return self.expr(MediumLevelILOperation.MLIL_LOAD, src, size=size, source_location=loc)
3694
3695 def load_struct(
3696 self, size: int, src: ExpressionIndex, offset: int, loc: Optional['ILSourceLocation'] = None

Callers

nothing calls this directly

Calls 1

exprMethod · 0.95

Tested by

no test coverage detected