Return the bitness in which the exception occured. Useful when debugingg a 32b process from a 64bits one :return: :class:`int` -- 32 or 64
(self, exc)
| 1029 | self.restore_all_memory_breakpoints(data, target) |
| 1030 | |
| 1031 | def get_exception_bitness(self, exc): |
| 1032 | """Return the bitness in which the exception occured. |
| 1033 | Useful when debugingg a 32b process from a 64bits one |
| 1034 | |
| 1035 | :return: :class:`int` -- 32 or 64""" |
| 1036 | if windows.current_process.bitness == 32: |
| 1037 | return 32 |
| 1038 | if exc.ExceptionRecord.ExceptionCode in [STATUS_WX86_BREAKPOINT, STATUS_WX86_SINGLE_STEP]: |
| 1039 | return 32 |
| 1040 | return 64 |
| 1041 | |
| 1042 | @staticmethod |
| 1043 | def kill_on_exit(choice): |
no outgoing calls
no test coverage detected