( self, offset: int, addr: int, arch: Optional['architecture.Architecture'] = None )
| 2683 | return core.BNIsVariableUserDefined(self.handle, var.to_BNVariable()) |
| 2684 | |
| 2685 | def get_stack_var_at_frame_offset( |
| 2686 | self, offset: int, addr: int, arch: Optional['architecture.Architecture'] = None |
| 2687 | ) -> Optional['variable.Variable']: |
| 2688 | if arch is None: |
| 2689 | arch = self.arch |
| 2690 | found_var = core.BNVariableNameAndType() |
| 2691 | if not core.BNGetStackVariableAtFrameOffset(self.handle, arch.handle, addr, offset, found_var): |
| 2692 | return None |
| 2693 | result = variable.Variable.from_BNVariable(self, found_var.var) |
| 2694 | core.BNFreeVariableNameAndType(found_var) |
| 2695 | return result |
| 2696 | |
| 2697 | def get_stack_var_at_frame_offset_after_instruction( |
| 2698 | self, offset: int, addr: int, arch: Optional['architecture.Architecture'] = None |
nothing calls this directly
no test coverage detected