Skip to content

Invalid allFunctionsWithMain yml files #2069

Open
@eaubin

Description

@eaubin

Sometimes I'll see allFunctionsWithMain yaml files with errors. For example, loading one of the sqlite files with python yaml.safe_load() errors with:

ERROR:__main__:Error reading ../oss-fuzz/build/out/sqlite3/inspector/allFunctionsWithMain-19-fa37JncCHr.yaml
ERROR:root:while parsing a block mapping
  in "../oss-fuzz/build/out/sqlite3/inspector/allFunctionsWithMain-19-fa37JncCHr.yaml", line 447239, column 7
expected <block end>, but found '<scalar>'
  in "../oss-fuzz/build/out/sqlite3/inspector/allFunctionsWithMain-19-fa37JncCHr.yaml", line 447902, column 8

The text around those lines look like:

447230	              BranchSideFuncs:
447231	                - sqlite3ResolveExprListNames
447232	                - __assert_fail
447233	                - __assert_fail
447234	                - sq---
447235	Fuzzer filename: ''
447236	All functions:
447237	  Function list name: All functions
447238	  Elements:
447239	    - functionName:    sqlite3TreeViewTrigger
447240	      functionSourceFile: '/src/sqlite3/bld/sqlite3.c'
447241	      linkageType:     InternalLinkage
447242	      functionLinenumber: 34115
447243	      functionLinenumberEnd: 34131

and

447896	        - Branch String:   'sqlite3.c:109097,9'
447897	          Branch Sides:
447898	            - BranchSide:      'sqlite3.c:109098,12'
447899	              BranchSideFuncs:
447900	                - sqlite3ResolveExprNames
447901	                - sqlite3ResolveExprNames
447902	       iewPop
447903	                - sqlite3TreeViewPush
447904	                - sqlite3TreeViewLine
447905	                - sqlite3TreeViewPush
447906	                - sqlite3TreeViewTriggerStep
447907	                - sqlite3TreeViewPop

more of the text is in this gist, but the whole thing is too big to upload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions