Start adding API calls to the invalid SB API object after default construction.
It should not crash lldb. This checkin adds calls for SBAddress. llvm-svn: 133778
This commit is contained in:
@@ -22,6 +22,9 @@ class APIDefaultConstructorTestCase(TestBase):
|
||||
if self.TraceOn():
|
||||
print obj
|
||||
self.assertFalse(obj)
|
||||
# Do fuzz testing on the invalid obj, it should not crash lldb.
|
||||
import sb_address
|
||||
sb_address.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBBlock(self):
|
||||
|
||||
Reference in New Issue
Block a user