(il:LowLevelILFunction, dest:ExpressionIndex)
| 419 | |
| 420 | @staticmethod |
| 421 | def jump(il:LowLevelILFunction, dest:ExpressionIndex) -> None: |
| 422 | label = None |
| 423 | instr = LowLevelILInstruction.create(il, dest) |
| 424 | if isinstance(instr, LowLevelILConst): |
| 425 | label = il.get_label_for_address(Architecture['6502'], instr.constant) # type: ignore |
| 426 | if label is None: |
| 427 | il.append(il.jump(dest)) |
| 428 | else: |
| 429 | il.append(il.goto(label)) |
| 430 | return None |
| 431 | |
| 432 | @staticmethod |
| 433 | def get_p_value(il:LowLevelILFunction) -> ExpressionIndex: |
no test coverage detected