(self, flag: 'architecture.FlagType')
| 925 | return result |
| 926 | |
| 927 | def get_flag_value(self, flag: 'architecture.FlagType') -> 'variable.RegisterValue': |
| 928 | if self.function.arch is None: |
| 929 | raise Exception("Can not call get_flag_value on function with Architecture set to None") |
| 930 | flag = self.function.arch.get_flag_index(flag) |
| 931 | value = core.BNGetLowLevelILFlagValueAtInstruction(self.function.handle, flag, self.instr_index) |
| 932 | result = variable.RegisterValue.from_BNRegisterValue(value, self.function.arch) |
| 933 | return result |
| 934 | |
| 935 | def get_flag_value_after(self, flag: 'architecture.FlagType') -> 'variable.RegisterValue': |
| 936 | if self.function.arch is None: |
nothing calls this directly
no test coverage detected