Add fuzz calls for SBInstruction and SBInstructionList.
llvm-svn: 134020
This commit is contained in:
@@ -171,6 +171,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_instruction
|
||||
sb_instruction.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBInstructionList(self):
|
||||
@@ -178,6 +181,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_instructionlist
|
||||
sb_instructionlist.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBLineEntry(self):
|
||||
|
||||
Reference in New Issue
Block a user