diff options
| author | tbodt <tblodt@icloud.com> | 2025-09-09 08:20:44 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-09-17 21:47:53 -0700 |
| commit | ece75114e87b6ad80bc21f1825ac96293272951f (patch) | |
| tree | 4113e94acceb5c69a7ab01b4b8dc10d875309d6f /python | |
| parent | 4fccb2c8c9673247bfb9ba176021c9889ce680e8 (diff) | |
[Python] Use IL-specific types in return type annotations for get_basic_block_at
Diffstat (limited to 'python')
| -rw-r--r-- | python/highlevelil.py | 2 | ||||
| -rw-r--r-- | python/lowlevelil.py | 2 | ||||
| -rw-r--r-- | python/mediumlevelil.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py index 8869fedd..ce264e19 100644 --- a/python/highlevelil.py +++ b/python/highlevelil.py @@ -2647,7 +2647,7 @@ class HighLevelILFunction: def basic_blocks(self) -> 'function.HighLevelILBasicBlockList': return function.HighLevelILBasicBlockList(self) - def get_basic_block_at(self, index: int) -> Optional['basicblock.BasicBlock']: + def get_basic_block_at(self, index: int) -> Optional['HighLevelILBasicBlock']: """ ``get_basic_block_at`` returns the BasicBlock at the given HLIL instruction ``index``. diff --git a/python/lowlevelil.py b/python/lowlevelil.py index 7e941885..34deaaf1 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -3410,7 +3410,7 @@ class LowLevelILFunction: def basic_blocks(self) -> 'function.LowLevelILBasicBlockList': return function.LowLevelILBasicBlockList(self) - def get_basic_block_at(self, index: int) -> Optional['basicblock.BasicBlock']: + def get_basic_block_at(self, index: int) -> Optional['LowLevelILBasicBlock']: """ ``get_basic_block_at`` returns the BasicBlock at the given LLIL instruction ``index``. diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 18e0f718..e710d5c2 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -3429,7 +3429,7 @@ class MediumLevelILFunction: def basic_blocks(self) -> 'function.MediumLevelILBasicBlockList': return function.MediumLevelILBasicBlockList(self) - def get_basic_block_at(self, index: int) -> Optional['basicblock.BasicBlock']: + def get_basic_block_at(self, index: int) -> Optional['MediumLevelILBasicBlock']: """ ``get_basic_block_at`` returns the BasicBlock at the given MLIL instruction ``index``. |
