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

Method get_reg_value_after

python/lowlevelil.py:892–897  ·  view source on GitHub ↗
(self, reg: 'architecture.RegisterType')

Source from the content-addressed store, hash-verified

890 return variable.RegisterValue.from_BNRegisterValue(value, self.function.arch)
891
892 def get_reg_value_after(self, reg: 'architecture.RegisterType') -> variable.RegisterValue:
893 if self.function.arch is None:
894 raise Exception("Can not call get_reg_value_after on function with Architecture set to None")
895 reg = self.function.arch.get_reg_index(reg)
896 value = core.BNGetLowLevelILRegisterValueAfterInstruction(self.function.handle, reg, self.instr_index)
897 return variable.RegisterValue.from_BNRegisterValue(value, self.function.arch)
898
899 def get_possible_reg_values(
900 self, reg: 'architecture.RegisterType', options: Optional[List[DataFlowQueryOption]] = None

Callers

nothing calls this directly

Calls 2

get_reg_indexMethod · 0.80
from_BNRegisterValueMethod · 0.80

Tested by

no test coverage detected