Skip to content

Commit

Permalink
Prime test data with pre/post cpp values
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Jul 23, 2024
1 parent 76bb88c commit 6014726
Show file tree
Hide file tree
Showing 53 changed files with 2,746 additions and 915 deletions.
1 change: 1 addition & 0 deletions src/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ PRAGMA locking_mode = EXCLUSIVE;
.separator "\t"
.headers on
.nullvalue NULL
.print "Fixing EIDs"
Expand Down
1,032 changes: 774 additions & 258 deletions src/test/out/awk.c

Large diffs are not rendered by default.

36 changes: 27 additions & 9 deletions src/test/out/c00-unused.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,21 @@ EID PID
6949 18
7089 18
Table: Files
FID NAME RO NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN NSTRING NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NPPTOKEN NCTOKEN NCOPIES NSTATEMENT NPFUNCTION NFFUNCTION NPVAR NFVAR NAGGREGATE NAMEMBER NENUM NEMEMBER NINCFILE
2 host-defs.h 1 578 367 29 0 3 22 61 3 0 5 0 0 5 37 18 1 1 0 1 0 0 0 0 0 0 0
3 host-incs.h 1 295 187 13 0 2 13 54 1 0 1 0 0 0 16 0 1 0 0 0 0 0 0 0 0 0 0
4 c00-unused.c 0 723 54 152 2 0 30 67 0 0 1 0 0 1 151 134 1 0 1 0 18 0 1 2 0 0 0
5 prj2.c 0 121 34 26 2 0 11 21 0 0 1 0 0 1 21 18 1 0 1 0 2 0 0 0 0 0 0
FID NAME RO
2 host-defs.h 1
3 host-incs.h 1
4 c00-unused.c 0
5 prj2.c 0
Table: Filemetrics
FID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NCOPIES NINCFILE NPFUNCTION NFFUNCTION NPVAR NFVAR NAGGREGATE NAMEMBER NENUM NEMEMBER
2 0 NULL NULL NULL NULL NULL NULL NULL 16 0 1 1 NULL NULL NULL NULL NULL 18 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL 0 1 0 0 0 0 0 0
2 1 578 367 29 0 3 22 61 47 NULL 1 1 0 5 0 0 5 37 2 0 0 2 0 3 0 0 0 0 0 0 0 0 0 0 0 0 1 2 5 8 1 1 5 7 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
3 0 NULL NULL NULL NULL NULL NULL NULL 15 0 1 1 NULL NULL NULL NULL NULL 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL 0 0 0 0 0 0 0 0
3 1 295 187 13 0 2 13 54 28 NULL 1 1 0 1 0 0 0 16 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
4 0 NULL NULL NULL NULL NULL NULL NULL 38 0 1 3 NULL NULL NULL NULL NULL 134 20 4 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 40 4 NULL 50 20 1 NULL 24 0 NULL NULL 1 0 18 0 1 2 0 0
4 1 723 54 152 2 0 30 67 35 NULL 1 3 0 1 0 0 1 151 20 4 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 2 24 49 20 1 1 25 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
5 0 NULL NULL NULL NULL NULL NULL NULL 8 0 1 1 NULL NULL NULL NULL NULL 18 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 NULL 4 4 0 NULL 4 0 NULL NULL 1 0 2 0 0 0 0 0
5 1 121 34 26 2 0 11 21 14 NULL 1 1 0 1 0 0 1 21 3 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 1 5 4 0 1 5 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
Table: FileProj
FID PID
2 17
Expand Down Expand Up @@ -318,11 +328,19 @@ ID NAME ISMACRO DEFINED DECLARED FILESCOPED FID FOFFSET FANIN
4279 f 0 1 1 0 4 427 0
4715 main 0 0 1 0 2 471 0
5355 _cscout_dummy1 0 1 1 1 2 535 1
Table: FunctionDefs
FUNCTIONID FIDBEGIN FOFFSETBEGIN FIDEND FOFFSETEND
-3126566792108663513 2 557 2 577
5002506867492155973 4 448 4 471
5315163546707572052 5 95 5 117
Table: FunctionMetrics
FUNCTIONID NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN NSTRING NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NPPTOKEN NCTOKEN NSTMT NOP NUOP NNCONST NCLIT NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NGNSOC NPARAM MAXNEST NLABEL FANIN FANOUT CCYCL1 CCYCL2 CCYCL3 CSTRUC CHAL IFLOW FIDBEGIN FOFFSETBEGIN FIDEND FOFFSETEND
891 23 15 4 1 0 2 18 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36 0 0 0 0 0 1 1 1 0.0 0.0 0.0 5 95 5 117
4279 24 0 10 0 0 2 18 0 0 0 0 0 0 5 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 0 0 1 2 36 0 0 0 0 0 1 1 1 0.0 2.0 0.0 4 448 4 471
5355 21 0 3 0 0 1 20 0 0 0 0 0 0 5 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 28 0 0 0 1 1 1 1 1 1.0 0.0 1.0 2 557 2 577
FUNCTIONID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NGNSOC NMPARAM NFPARAM FANIN FANOUT CCYCL1 CCYCL2 CCYCL3 CSTRUC CHAL IFLOW
891 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 36 NULL 0 0 0 1 1 1 0.0 0.0 0.0
891 1 23 15 4 1 0 2 18 0 NULL 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 NULL 0 0 1 1 1 0.0 0.0 0.0
4279 0 NULL NULL NULL NULL NULL NULL NULL 13 0 0 2 NULL NULL NULL NULL NULL 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 1 0 0 NULL 1 0 36 NULL 0 0 0 1 1 1 0.0 0.0 0.0
4279 1 24 0 10 0 0 2 18 9 NULL 0 0 0 0 0 0 0 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 0 0 1 2 0 NULL 0 NULL 0 0 1 1 1 0.0 2.0 0.0
5355 0 NULL NULL NULL NULL NULL NULL NULL 5 0 0 1 NULL NULL NULL NULL NULL 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 NULL 1 0 1 NULL 1 0 28 NULL 0 1 1 1 1 1 1.0 0.0 1.0
5355 1 21 0 3 0 0 1 20 5 NULL 0 1 0 0 0 0 0 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 NULL 0 NULL 1 1 1 1 1 1.0 0.0 1.0
Table: FunctionId
FUNCTIONID ORDINAL EID
891 0 891
Expand Down
40 changes: 30 additions & 10 deletions src/test/out/c01-idtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,21 @@ EID PID
4055 18
5355 18
Table: Files
FID NAME RO NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN NSTRING NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NPPTOKEN NCTOKEN NCOPIES NSTATEMENT NPFUNCTION NFFUNCTION NPVAR NFVAR NAGGREGATE NAMEMBER NENUM NEMEMBER NINCFILE
2 host-defs.h 1 578 367 29 0 3 22 61 3 0 5 0 0 5 37 18 1 1 0 1 0 0 0 0 0 0 0
3 host-incs.h 1 295 187 13 0 2 13 54 1 0 1 0 0 0 16 0 1 0 0 0 0 0 0 0 0 0 0
4 c01-idtest.c 0 282 0 83 0 0 23 31 0 0 1 0 1 0 82 76 1 5 1 0 2 1 2 4 0 0 0
5 prj2.c 0 121 34 26 2 0 11 21 0 0 1 0 0 1 21 18 1 0 1 0 2 0 0 0 0 0 0
FID NAME RO
2 host-defs.h 1
3 host-incs.h 1
4 c01-idtest.c 0
5 prj2.c 0
Table: Filemetrics
FID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NCOPIES NINCFILE NPFUNCTION NFFUNCTION NPVAR NFVAR NAGGREGATE NAMEMBER NENUM NEMEMBER
2 0 NULL NULL NULL NULL NULL NULL NULL 16 0 1 1 NULL NULL NULL NULL NULL 18 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL 0 1 0 0 0 0 0 0
2 1 578 367 29 0 3 22 61 47 NULL 1 1 0 5 0 0 5 37 2 0 0 2 0 3 0 0 0 0 0 0 0 0 0 0 0 0 1 2 5 8 1 1 5 7 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
3 0 NULL NULL NULL NULL NULL NULL NULL 15 0 1 1 NULL NULL NULL NULL NULL 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL 0 0 0 0 0 0 0 0
3 1 295 187 13 0 2 13 54 28 NULL 1 1 0 1 0 0 0 16 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
4 0 NULL NULL NULL NULL NULL NULL NULL 25 1 1 2 NULL NULL NULL NULL NULL 76 12 5 0 2 0 0 1 0 0 0 0 0 0 0 0 0 1 2 10 2 NULL 20 3 1 NULL 7 3 NULL NULL 1 0 2 1 2 4 0 0
4 1 282 0 83 0 0 23 31 31 NULL 1 2 0 1 0 1 0 82 12 4 0 2 0 0 1 0 0 0 0 0 0 0 0 0 1 2 5 1 3 13 3 1 1 8 1 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
5 0 NULL NULL NULL NULL NULL NULL NULL 8 0 1 1 NULL NULL NULL NULL NULL 18 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 NULL 4 4 0 NULL 4 0 NULL NULL 1 0 2 0 0 0 0 0
5 1 121 34 26 2 0 11 21 14 NULL 1 1 0 1 0 0 1 21 3 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 1 5 4 0 1 5 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
Table: FileProj
FID PID
2 17
Expand Down Expand Up @@ -220,12 +230,22 @@ ID NAME ISMACRO DEFINED DECLARED FILESCOPED FID FOFFSET FANIN
891 foo 0 1 1 0 5 88 0
1559 main 0 1 1 0 4 155 0
5355 _cscout_dummy1 0 1 1 1 2 535 1
Table: FunctionDefs
FUNCTIONID FIDBEGIN FOFFSETBEGIN FIDEND FOFFSETEND
-5002506867401160400 4 186 4 280
-3126566792108663513 2 557 2 577
4064536829845907469 4 17 4 31
7503760301215484996 5 95 5 117
Table: FunctionMetrics
FUNCTIONID NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN NSTRING NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NPPTOKEN NCTOKEN NSTMT NOP NUOP NNCONST NCLIT NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NGNSOC NPARAM MAXNEST NLABEL FANIN FANOUT CCYCL1 CCYCL2 CCYCL3 CSTRUC CHAL IFLOW FIDBEGIN FOFFSETBEGIN FIDEND FOFFSETEND
89 15 0 4 0 0 1 13 0 0 0 0 0 0 7 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 1 1 0.0 0.0 0.0 4 17 4 31
891 23 15 4 1 0 2 18 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18 0 0 0 0 0 1 1 1 0.0 0.0 0.0 5 95 5 117
1559 95 0 31 0 0 7 31 0 0 0 0 0 0 29 35 5 2 2 2 0 1 0 0 0 0 0 0 0 0 0 1 2 2 0 2 6 2 0 1 5 15 0 1 1 0 1 2 2 2 0.0 31.6993 0.0 4 186 4 280
5355 21 0 3 0 0 1 20 0 0 0 0 0 0 5 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 10 0 0 0 1 1 1 1 1 1.0 0.0 1.0 2 557 2 577
FUNCTIONID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NGNSOC NMPARAM NFPARAM FANIN FANOUT CCYCL1 CCYCL2 CCYCL3 CSTRUC CHAL IFLOW
89 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 0 NULL 0 1 0 1 1 1 0.0 0.0 0.0
89 1 15 0 4 0 0 1 13 0 NULL 0 2 0 0 0 0 0 7 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 1 NULL 1 0 1 1 1 0.0 0.0 0.0
891 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 18 NULL 0 0 0 1 1 1 0.0 0.0 0.0
891 1 23 15 4 1 0 2 18 0 NULL 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 NULL 0 0 1 1 1 0.0 0.0 0.0
1559 0 NULL NULL NULL NULL NULL NULL NULL 22 1 0 2 NULL NULL NULL NULL NULL 35 5 4 3 2 0 0 1 0 0 0 0 0 0 0 0 0 1 2 2 0 NULL 4 2 0 NULL 4 1 15 NULL 0 0 1 2 2 2 0.0 31.6993 0.0
1559 1 95 0 31 0 0 7 31 21 NULL 0 1 0 0 0 0 0 29 5 2 2 2 0 0 1 0 0 0 0 0 0 0 0 0 1 2 2 0 2 6 2 0 1 5 1 NULL 0 NULL 0 1 2 2 2 0.0 31.6993 0.0
5355 0 NULL NULL NULL NULL NULL NULL NULL 5 0 0 1 NULL NULL NULL NULL NULL 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 NULL 1 0 1 NULL 1 0 10 NULL 0 1 1 1 1 1 1.0 0.0 1.0
5355 1 21 0 3 0 0 1 20 5 NULL 0 1 0 0 0 0 0 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 NULL 0 NULL 1 1 1 1 1 1.0 0.0 1.0
Table: FunctionId
FUNCTIONID ORDINAL EID
89 0 89
Expand Down
40 changes: 30 additions & 10 deletions src/test/out/c02-include_sites.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,27 @@ EID PID
5675 18
7495 18
Table: Files
FID NAME RO NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN NSTRING NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NPPTOKEN NCTOKEN NCOPIES NSTATEMENT NPFUNCTION NFFUNCTION NPVAR NFVAR NAGGREGATE NAMEMBER NENUM NEMEMBER NINCFILE
2 host-defs.h 1 578 367 29 0 3 22 61 3 0 5 0 0 5 37 18 1 1 0 1 0 0 0 0 0 0 0
3 host-incs.h 1 295 187 13 0 2 13 54 1 0 1 0 0 0 16 0 1 0 0 0 0 0 0 0 0 0 0
4 c02-include_sites.c 0 100 0 23 0 0 8 26 2 0 6 1 0 1 19 1 1 0 0 0 0 0 0 0 0 0 1
5 unused2.h 0 18 0 4 0 0 1 17 0 0 0 0 0 0 4 4 1 0 0 0 1 0 0 0 0 0 0
6 unused1.h 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
7 prj2.c 0 121 34 26 2 0 11 21 0 0 1 0 0 1 21 18 1 0 1 0 2 0 0 0 0 0 0
FID NAME RO
2 host-defs.h 1
3 host-incs.h 1
4 c02-include_sites.c 0
5 unused2.h 0
6 unused1.h 0
7 prj2.c 0
Table: Filemetrics
FID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NCOPIES NINCFILE NPFUNCTION NFFUNCTION NPVAR NFVAR NAGGREGATE NAMEMBER NENUM NEMEMBER
2 0 NULL NULL NULL NULL NULL NULL NULL 16 0 1 1 NULL NULL NULL NULL NULL 18 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL 0 1 0 0 0 0 0 0
2 1 578 367 29 0 3 22 61 47 NULL 1 1 0 5 0 0 5 37 2 0 0 2 0 3 0 0 0 0 0 0 0 0 0 0 0 0 1 2 5 8 1 1 5 7 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
3 0 NULL NULL NULL NULL NULL NULL NULL 15 0 1 1 NULL NULL NULL NULL NULL 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL 0 0 0 0 0 0 0 0
3 1 295 187 13 0 2 13 54 28 NULL 1 1 0 1 0 0 0 16 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
4 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL 0 0 0 0 0 0 0 0
4 1 100 0 23 0 0 8 26 0 NULL 0 0 0 6 1 0 1 19 0 0 0 0 0 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 4 4 0 0 2 2 0 1 1 NULL NULL NULL NULL NULL NULL NULL NULL
5 0 NULL NULL NULL NULL NULL NULL NULL 6 0 0 0 NULL NULL NULL NULL NULL 4 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL 0 0 1 0 0 0 0 0
5 1 18 0 4 0 0 1 17 6 NULL 0 0 0 0 0 0 0 4 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 1 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
6 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 NULL NULL 0 0 0 0 0 0 0 0
6 1 0 0 0 0 0 0 0 0 NULL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
7 0 NULL NULL NULL NULL NULL NULL NULL 8 0 1 1 NULL NULL NULL NULL NULL 18 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 NULL 4 4 0 NULL 4 0 NULL NULL 1 0 2 0 0 0 0 0
7 1 121 34 26 2 0 11 21 14 NULL 1 1 0 1 0 0 1 21 3 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 1 5 4 0 1 5 0 1 0 NULL NULL NULL NULL NULL NULL NULL NULL
Table: FileProj
FID PID
2 17
Expand Down Expand Up @@ -148,10 +162,16 @@ ID NAME ISMACRO DEFINED DECLARED FILESCOPED FID FOFFSET FANIN
1247 foo 0 1 1 0 7 88 0
6599 main 0 0 1 0 2 471 0
7495 _cscout_dummy1 0 1 1 1 2 535 1
Table: FunctionDefs
FUNCTIONID FIDBEGIN FOFFSETBEGIN FIDEND FOFFSETEND
-8754387017986153760 7 95 7 117
-3126566792108663513 2 557 2 577
Table: FunctionMetrics
FUNCTIONID NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN NSTRING NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NPPTOKEN NCTOKEN NSTMT NOP NUOP NNCONST NCLIT NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NGNSOC NPARAM MAXNEST NLABEL FANIN FANOUT CCYCL1 CCYCL2 CCYCL3 CSTRUC CHAL IFLOW FIDBEGIN FOFFSETBEGIN FIDEND FOFFSETEND
1247 23 15 4 1 0 2 18 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0 0 0 0 1 1 1 0.0 0.0 0.0 7 95 7 117
7495 21 0 3 0 0 1 20 0 0 0 0 0 0 5 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 8 0 0 0 1 1 1 1 1 1.0 0.0 1.0 2 557 2 577
FUNCTIONID PRECPP NCHAR NCCOMMENT NSPACE NLCOMMENT NBCOMMENT NLINE MAXLINELEN MAXSTMTLEN MAXSTMTNEST MAXBRACENEST MAXBRACKNEST NULINE NPPDIRECTIVE NPPCOND NPPFMACRO NPPOMACRO NTOKEN NSTMT NOP NUOP NNCONST NCLIT NSTRING NIF NELSE NSWITCH NCASE NDEFAULT NBREAK NFOR NWHILE NDO NCONTINUE NGOTO NRETURN NPID NFID NMID NID NUPID NUFID NUMID NUID NLABEL NGNSOC NMPARAM NFPARAM FANIN FANOUT CCYCL1 CCYCL2 CCYCL3 CSTRUC CHAL IFLOW
1247 0 NULL NULL NULL NULL NULL NULL NULL 0 0 0 0 NULL NULL NULL NULL NULL 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 0 0 NULL 0 0 16 NULL 0 0 0 1 1 1 0.0 0.0 0.0
1247 1 23 15 4 1 0 2 18 0 NULL 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NULL 0 NULL 0 0 1 1 1 0.0 0.0 0.0
7495 0 NULL NULL NULL NULL NULL NULL NULL 5 0 0 1 NULL NULL NULL NULL NULL 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 NULL 1 0 1 NULL 1 0 8 NULL 0 1 1 1 1 1 1.0 0.0 1.0
7495 1 21 0 3 0 0 1 20 5 NULL 0 1 0 0 0 0 0 5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 NULL 0 NULL 1 1 1 1 1 1.0 0.0 1.0
Table: FunctionId
FUNCTIONID ORDINAL EID
1247 0 1247
Expand Down
Loading

0 comments on commit 6014726

Please sign in to comment.