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

Method get_p_value

python/examples/nes.py:433–441  ·  view source on GitHub ↗
(il:LowLevelILFunction)

Source from the content-addressed store, hash-verified

431
432 @staticmethod
433 def get_p_value(il:LowLevelILFunction) -> ExpressionIndex:
434 c = il.flag_bit(1, c_flag, 0)
435 z = il.flag_bit(1, z_flag, 1)
436 i = il.flag_bit(1, i_flag, 2)
437 d = il.flag_bit(1, d_flag, 3)
438 b = il.flag_bit(1, b_flag, 4)
439 v = il.flag_bit(1, v_flag, 6)
440 s = il.flag_bit(1, s_flag, 7)
441 return il.or_expr(1, il.or_expr(1, il.or_expr(1, il.or_expr(1, il.or_expr(1, il.or_expr(1, c, z), i), d), b), v), s)
442
443 @staticmethod
444 def set_p_value(il:LowLevelILFunction, value:ExpressionIndex) -> None:

Callers 1

M6502Class · 0.80

Calls 2

flag_bitMethod · 0.80
or_exprMethod · 0.45

Tested by

no test coverage detected