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:
Johnny Chen committed 2011-06-24 00:06:53 +00:00
1 parent 1aae619933
commit 4d1f660ace
2 files changed
+15

No files matched your search

@@ -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):