MCPcopy Create free account
hub / github.com/Vector35/debugger / expect_segfault

Method expect_segfault

test/debugger_test.py:102–106  ·  view source on GitHub ↗
(self, reason)

Source from the content-addressed store, hash-verified

100 self.assertIn(exit_code, expected)
101
102 def expect_segfault(self, reason):
103 if platform.system() == 'Linux':
104 self.assertEqual(reason, DebugStopReason.SignalSegv)
105 else:
106 self.assertEqual(reason, DebugStopReason.AccessViolation)
107
108 def test_exception_segfault(self):
109 fpath = name_to_fpath('do_exception', self.arch)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected