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

Method get_flag_value_after

python/lowlevelil.py:935–941  ·  view source on GitHub ↗
(self, flag: 'architecture.FlagType')

Source from the content-addressed store, hash-verified

933 return result
934
935 def get_flag_value_after(self, flag: 'architecture.FlagType') -> 'variable.RegisterValue':
936 if self.function.arch is None:
937 raise Exception("Can not call get_flag_value_after on function with Architecture set to None")
938 flag = self.function.arch.get_flag_index(flag)
939 value = core.BNGetLowLevelILFlagValueAfterInstruction(self.function.handle, flag, self.instr_index)
940 result = variable.RegisterValue.from_BNRegisterValue(value, self.function.arch)
941 return result
942
943 def get_possible_flag_values(
944 self, flag: 'architecture.FlagType', options: Optional[List[DataFlowQueryOption]] = None

Callers

nothing calls this directly

Calls 2

get_flag_indexMethod · 0.80
from_BNRegisterValueMethod · 0.80

Tested by

no test coverage detected