(self, flag: FlagType)
| 1507 | raise Exception("reg_stack is not convertable to index") |
| 1508 | |
| 1509 | def get_flag_index(self, flag: FlagType) -> FlagIndex: |
| 1510 | if isinstance(flag, str): |
| 1511 | return self._flags[FlagName(flag)] |
| 1512 | elif isinstance(flag, lowlevelil.ILFlag): |
| 1513 | return flag.index |
| 1514 | elif isinstance(flag, int): |
| 1515 | return FlagIndex(flag) |
| 1516 | raise Exception("flag is not convertable to index") |
| 1517 | |
| 1518 | def get_semantic_flag_class_index(self, sem_class: Optional[SemanticClassType]) -> SemanticClassIndex: |
| 1519 | if sem_class is None: |
no outgoing calls
no test coverage detected