Add fuzz calls for SBSymbol and SBSymbolContext.
llvm-svn: 134042
This commit is contained in:
@@ -249,6 +249,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_symbol
|
||||
sb_symbol.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBSymbolContext(self):
|
||||
@@ -256,6 +259,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_symbolcontext
|
||||
sb_symbolcontext.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBSymbolContextList(self):
|
||||
|
||||
Reference in New Issue
Block a user