12fe615709082d0847d35c440b84be12a3ca45a20Johnny Chen""" 22fe615709082d0847d35c440b84be12a3ca45a20Johnny ChenFuzz tests an object after the default construction to make sure it does not crash lldb. 32fe615709082d0847d35c440b84be12a3ca45a20Johnny Chen""" 42fe615709082d0847d35c440b84be12a3ca45a20Johnny Chen 52fe615709082d0847d35c440b84be12a3ca45a20Johnny Chenimport sys 62fe615709082d0847d35c440b84be12a3ca45a20Johnny Chenimport lldb 72fe615709082d0847d35c440b84be12a3ca45a20Johnny Chen 82fe615709082d0847d35c440b84be12a3ca45a20Johnny Chendef fuzz_obj(obj): 92fe615709082d0847d35c440b84be12a3ca45a20Johnny Chen obj.Exists() 102fe615709082d0847d35c440b84be12a3ca45a20Johnny Chen obj.ResolveExecutableLocation() 112fe615709082d0847d35c440b84be12a3ca45a20Johnny Chen obj.GetFilename() 122fe615709082d0847d35c440b84be12a3ca45a20Johnny Chen obj.GetDirectory() 132fe615709082d0847d35c440b84be12a3ca45a20Johnny Chen obj.GetPath(None, 0) 142fe615709082d0847d35c440b84be12a3ca45a20Johnny Chen obj.GetDescription(lldb.SBStream()) 15