(self, reg: 'architecture.RegisterType')
| 883 | return result |
| 884 | |
| 885 | def get_reg_value(self, reg: 'architecture.RegisterType') -> variable.RegisterValue: |
| 886 | if self.function.arch is None: |
| 887 | raise Exception("Can not call get_reg_value on function with Architecture set to None") |
| 888 | reg = self.function.arch.get_reg_index(reg) |
| 889 | value = core.BNGetLowLevelILRegisterValueAtInstruction(self.function.handle, reg, self.instr_index) |
| 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: |
nothing calls this directly
no test coverage detected