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

Method split

python/highlevelil.py:3253–3266  ·  view source on GitHub ↗

``var_split`` combines expressions ``hi`` and ``lo`` of size ``size`` into an expression of size ``2*size`` :param int size: the size of each expression in bytes :param ExpressionIndex hi: the expression holding high part of value :param ExpressionIndex lo: the expression holding low part

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

Source from the content-addressed store, hash-verified

3251 return self.expr(HighLevelILOperation.HLIL_STRUCT_FIELD, src, offset, member_index, size=size, source_location=loc)
3252
3253 def split(
3254 self, size: int, hi: ExpressionIndex, lo: ExpressionIndex, loc: Optional['ILSourceLocation'] = None
3255 ) -> ExpressionIndex:
3256 """
3257 ``var_split`` combines expressions ``hi`` and ``lo`` of size ``size`` into an expression of size ``2*size``
3258
3259 :param int size: the size of each expression in bytes
3260 :param ExpressionIndex hi: the expression holding high part of value
3261 :param ExpressionIndex lo: the expression holding low part of value
3262 :param ILSourceLocation loc: location of returned expression
3263 :return: The expression ``hi:lo``
3264 :rtype: ExpressionIndex
3265 """
3266 return self.expr(HighLevelILOperation.HLIL_SPLIT, hi, lo, size=size, source_location=loc)
3267
3268 def array_index(
3269 self, size: int, src: ExpressionIndex, idx: ExpressionIndex, loc: Optional['ILSourceLocation'] = None

Callers 15

do_logMethod · 0.45
do_metricsMethod · 0.45
do_configureMethod · 0.45
do_breakpointMethod · 0.45
do_overrideMethod · 0.45
precmdMethod · 0.45
_function_wrapperFunction · 0.45
post_process_linesMethod · 0.45
bninspectFunction · 0.45
runMethod · 0.45
_install_modulesMethod · 0.45

Calls 1

exprMethod · 0.95

Tested by

no test coverage detected