diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..64b126ab72d9edbe2264ed96a5a7797358672e7a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,24 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/cache/cached-strings/pools/0/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/pools/1/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/0/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/1/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/10/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/11/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/12/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/13/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/14/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/15/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/16/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/17/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/18/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/2/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/3/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/4/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/5/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/6/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/7/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/8/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text +tests/codeql_db/db-python/default/strings/9/pageDump/page-000000000 filter=lfs diff=lfs merge=lfs -text diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tests/codeql_db/codeql-database.yml b/tests/codeql_db/codeql-database.yml new file mode 100644 index 0000000000000000000000000000000000000000..3400170711272985e85231c024e660e866d9bac4 --- /dev/null +++ b/tests/codeql_db/codeql-database.yml @@ -0,0 +1,9 @@ +--- +sourceLocationPrefix: "/Users/pwntester/seclab/projects/codeql_kernel/tests/db" +baselineLinesOfCode: 1 +unicodeNewlines: false +columnKind: "utf32" +primaryLanguage: "python" +creationMetadata: + cliVersion: "2.10.4" + creationTime: "2022-09-15T10:57:28.819536Z" diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/buckets/info b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/buckets/info new file mode 100644 index 0000000000000000000000000000000000000000..7be3fb919f6844ce023fe8b14eae8cd2a6c9fc0b Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/buckets/info differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/buckets/page-000000 b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..d91932aee95915af616ac7a2c8cdd4c0764aefa8 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/ids1/info b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/ids1/info new file mode 100644 index 0000000000000000000000000000000000000000..0a244c285642ac864964c279ffa9b5b9287f15cb Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/ids1/info differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/ids1/page-000000 b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/ids1/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..0b0df461cd6247833b3d899c0ebed181cc3ab586 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/ids1/page-000000 differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/indices1/info b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/indices1/info new file mode 100644 index 0000000000000000000000000000000000000000..ea8b0498efe01ca3b8be87a24fae86f927c50809 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/indices1/info differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/indices1/page-000000 b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/indices1/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..4495432dfcf554ba44617e0021b5402bf11f89c3 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/indices1/page-000000 differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/info b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/info new file mode 100644 index 0000000000000000000000000000000000000000..09992e61dc390e50002143c084c5bf6d30197223 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/info differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/metadata/info b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/metadata/info new file mode 100644 index 0000000000000000000000000000000000000000..af061f9726d8091af7f2ab404447ffd3f11bea82 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/metadata/info differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/metadata/page-000000 b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..75701b3172f0a90a84eea113691ae202a77885b4 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/pageDump/page-000000000 b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..d1770beec94e7c3f374984aff9e0950d0f488698 --- /dev/null +++ b/tests/codeql_db/db-python/default/cache/cached-strings/pools/0/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc05c1d92c6de1ce686f67a3e6309ab55cc46d7e6a15485aee8282969a84c7a8 +size 1048592 diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/pools/poolInfo b/tests/codeql_db/db-python/default/cache/cached-strings/pools/poolInfo new file mode 100644 index 0000000000000000000000000000000000000000..477e0c1eebed23b24413d37895ecf55834c2150e Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/pools/poolInfo differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/tuple-pool/header b/tests/codeql_db/db-python/default/cache/cached-strings/tuple-pool/header new file mode 100644 index 0000000000000000000000000000000000000000..fde1ac19d2b083530bcab4cb4fd2dcaa285234ab Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/tuple-pool/header differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/tuple-pool/tuples#Essa#24e22a14--TEssaDefinition b/tests/codeql_db/db-python/default/cache/cached-strings/tuple-pool/tuples#Essa#24e22a14--TEssaDefinition new file mode 100644 index 0000000000000000000000000000000000000000..aceae598e9286f7a5713e3acd1e3946d8023970a Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/tuple-pool/tuples#Essa#24e22a14--TEssaDefinition differ diff --git a/tests/codeql_db/db-python/default/cache/cached-strings/tuple-pool/tuples#Essa#24e22a14--TEssaDefinition#0#eei b/tests/codeql_db/db-python/default/cache/cached-strings/tuple-pool/tuples#Essa#24e22a14--TEssaDefinition#0#eei new file mode 100644 index 0000000000000000000000000000000000000000..62ee50a4e836a5e51c455cc193cdb983d2c7d736 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/cached-strings/tuple-pool/tuples#Essa#24e22a14--TEssaDefinition#0#eei differ diff --git a/tests/codeql_db/db-python/default/cache/pages/02.pack b/tests/codeql_db/db-python/default/cache/pages/02.pack new file mode 100644 index 0000000000000000000000000000000000000000..e3c8666b8bcfc6738377ce45197b654ff04f613c Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/02.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/23.pack b/tests/codeql_db/db-python/default/cache/pages/23.pack new file mode 100644 index 0000000000000000000000000000000000000000..e230fd7729ad697e0380550538d5f79d8bfb029e Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/23.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/24.pack b/tests/codeql_db/db-python/default/cache/pages/24.pack new file mode 100644 index 0000000000000000000000000000000000000000..48e822a277d527a3c0d55014cbacb6a7473e6de0 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/24.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/3a.pack b/tests/codeql_db/db-python/default/cache/pages/3a.pack new file mode 100644 index 0000000000000000000000000000000000000000..2c89490c99f3552065a56afdec3f43386717ccca Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/3a.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/3f.pack b/tests/codeql_db/db-python/default/cache/pages/3f.pack new file mode 100644 index 0000000000000000000000000000000000000000..12c7e1a2d73b756d6459bcb835d03cc9a34f629b Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/3f.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/4a.pack b/tests/codeql_db/db-python/default/cache/pages/4a.pack new file mode 100644 index 0000000000000000000000000000000000000000..41c7ef235e851a4636b26a93a7e8610c85143a12 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/4a.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/59.pack b/tests/codeql_db/db-python/default/cache/pages/59.pack new file mode 100644 index 0000000000000000000000000000000000000000..f3f97632fe3cce8d1ba0a41395ac455d6970724e Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/59.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/5b.pack b/tests/codeql_db/db-python/default/cache/pages/5b.pack new file mode 100644 index 0000000000000000000000000000000000000000..0adc2a5f27b3a643b0b6ff2cdf2d372b523bfd96 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/5b.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/7a.pack b/tests/codeql_db/db-python/default/cache/pages/7a.pack new file mode 100644 index 0000000000000000000000000000000000000000..3630a2690bf031cf398d2f132d4311bc75b3b5ad Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/7a.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/8c.pack b/tests/codeql_db/db-python/default/cache/pages/8c.pack new file mode 100644 index 0000000000000000000000000000000000000000..6ae99ab940e8cac34f9c35e56b2c46e65bd99d09 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/8c.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/97.pack b/tests/codeql_db/db-python/default/cache/pages/97.pack new file mode 100644 index 0000000000000000000000000000000000000000..5b74d9fa3286df3bdc7c6fc52dc96d1b70c7bc4f Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/97.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/ae.pack b/tests/codeql_db/db-python/default/cache/pages/ae.pack new file mode 100644 index 0000000000000000000000000000000000000000..e8ee149d92e36c9c42a371088370d8e8ddeed307 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/ae.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/af.pack b/tests/codeql_db/db-python/default/cache/pages/af.pack new file mode 100644 index 0000000000000000000000000000000000000000..2e47ef749812dbe625271c19157bbebff26862ad Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/af.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/b8.pack b/tests/codeql_db/db-python/default/cache/pages/b8.pack new file mode 100644 index 0000000000000000000000000000000000000000..3de2f990dea03b17abae686480c7c2e052c007f0 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/b8.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/b9.pack b/tests/codeql_db/db-python/default/cache/pages/b9.pack new file mode 100644 index 0000000000000000000000000000000000000000..faa1e655a0235022c79fab789e7509bebef0a235 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/b9.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/bc.pack b/tests/codeql_db/db-python/default/cache/pages/bc.pack new file mode 100644 index 0000000000000000000000000000000000000000..d8f732a5e0bd42bf65df998c14d0fb5ba0e8a332 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/bc.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/be.pack b/tests/codeql_db/db-python/default/cache/pages/be.pack new file mode 100644 index 0000000000000000000000000000000000000000..0618d8a40d513922c42c0c275a183d7593d23ee3 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/be.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/cf.pack b/tests/codeql_db/db-python/default/cache/pages/cf.pack new file mode 100644 index 0000000000000000000000000000000000000000..32c515fdfb37fedd3a4e1feda3306d604f0a8259 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/cf.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/d0.pack b/tests/codeql_db/db-python/default/cache/pages/d0.pack new file mode 100644 index 0000000000000000000000000000000000000000..a209858f1b34325302db1b83f3dfe51a03acdaaf Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/d0.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/de.pack b/tests/codeql_db/db-python/default/cache/pages/de.pack new file mode 100644 index 0000000000000000000000000000000000000000..fd04e2c172cd80e83b166023c569fe5f75723e8a Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/de.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/df.pack b/tests/codeql_db/db-python/default/cache/pages/df.pack new file mode 100644 index 0000000000000000000000000000000000000000..33864161eb751bb3191ee4bda83add1fef1619ac Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/df.pack differ diff --git a/tests/codeql_db/db-python/default/cache/pages/e9.pack b/tests/codeql_db/db-python/default/cache/pages/e9.pack new file mode 100644 index 0000000000000000000000000000000000000000..ccaa856dd6736f7df39359fad02744a13edc26ef Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/pages/e9.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/02.pack b/tests/codeql_db/db-python/default/cache/predicates/02.pack new file mode 100644 index 0000000000000000000000000000000000000000..f1c042d85b319a105a295b1c973938431311ed82 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/02.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/08.pack b/tests/codeql_db/db-python/default/cache/predicates/08.pack new file mode 100644 index 0000000000000000000000000000000000000000..5857063c654ad299c4196d8b4d6fe2474b95a5af Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/08.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/11.pack b/tests/codeql_db/db-python/default/cache/predicates/11.pack new file mode 100644 index 0000000000000000000000000000000000000000..3a721f636c91167fa6af6f490cc3c15bc58f29ae Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/11.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/12.pack b/tests/codeql_db/db-python/default/cache/predicates/12.pack new file mode 100644 index 0000000000000000000000000000000000000000..8c91f5df3e552001baf2ef2aa1837b972d5a6ba4 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/12.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/13.pack b/tests/codeql_db/db-python/default/cache/predicates/13.pack new file mode 100644 index 0000000000000000000000000000000000000000..00015093e423232969f46e0dc626a0ddfae7b20f Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/13.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/14.pack b/tests/codeql_db/db-python/default/cache/predicates/14.pack new file mode 100644 index 0000000000000000000000000000000000000000..f44a8a8d7043dde661edc5605377314e327d598f Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/14.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/1a.pack b/tests/codeql_db/db-python/default/cache/predicates/1a.pack new file mode 100644 index 0000000000000000000000000000000000000000..8a6a42e9458ad8b2f4c7147e4bce20e9df9824a5 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/1a.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/22.pack b/tests/codeql_db/db-python/default/cache/predicates/22.pack new file mode 100644 index 0000000000000000000000000000000000000000..6ae385f218a877041f636f2c1c60e47c2b5162cd Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/22.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/24.pack b/tests/codeql_db/db-python/default/cache/predicates/24.pack new file mode 100644 index 0000000000000000000000000000000000000000..f1e1f8c68b29ed62a43eb99f33457b0e341fd939 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/24.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/2b.pack b/tests/codeql_db/db-python/default/cache/predicates/2b.pack new file mode 100644 index 0000000000000000000000000000000000000000..9e6be29650e3aa90f75e2a4dda82392ca5904a6c Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/2b.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/2f.pack b/tests/codeql_db/db-python/default/cache/predicates/2f.pack new file mode 100644 index 0000000000000000000000000000000000000000..c371311071749d1c114c68397016a9b797058d35 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/2f.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/3b.pack b/tests/codeql_db/db-python/default/cache/predicates/3b.pack new file mode 100644 index 0000000000000000000000000000000000000000..ba9b1b32c24901773cf4e6afb17eb3f6b5bf2a36 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/3b.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/47.pack b/tests/codeql_db/db-python/default/cache/predicates/47.pack new file mode 100644 index 0000000000000000000000000000000000000000..60efedc970d23d8a0476c0bdbd1d9826ca349048 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/47.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/4b.pack b/tests/codeql_db/db-python/default/cache/predicates/4b.pack new file mode 100644 index 0000000000000000000000000000000000000000..aefd72f2af3c4dae039f92b2098f22f18d5b760c Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/4b.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/51.pack b/tests/codeql_db/db-python/default/cache/predicates/51.pack new file mode 100644 index 0000000000000000000000000000000000000000..3930a030638eae3c6ee01d34d95ee0100fa0a315 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/51.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/67.pack b/tests/codeql_db/db-python/default/cache/predicates/67.pack new file mode 100644 index 0000000000000000000000000000000000000000..76694c745dcc5a346d945a7e2fbeab34ff4047db Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/67.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/6a.pack b/tests/codeql_db/db-python/default/cache/predicates/6a.pack new file mode 100644 index 0000000000000000000000000000000000000000..8284cda4cdf3abd5a7b9e015fbcafe7775a0b6e4 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/6a.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/6c.pack b/tests/codeql_db/db-python/default/cache/predicates/6c.pack new file mode 100644 index 0000000000000000000000000000000000000000..5514c5a2adae507f89b2d987663e76bab52b7b95 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/6c.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/6d.pack b/tests/codeql_db/db-python/default/cache/predicates/6d.pack new file mode 100644 index 0000000000000000000000000000000000000000..0e01a530991e56fa712d49fe1429348ec544a80a Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/6d.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/6e.pack b/tests/codeql_db/db-python/default/cache/predicates/6e.pack new file mode 100644 index 0000000000000000000000000000000000000000..a1e91b142cd2f5c01cbb8fa7d82e0adc38e53df2 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/6e.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/77.pack b/tests/codeql_db/db-python/default/cache/predicates/77.pack new file mode 100644 index 0000000000000000000000000000000000000000..d97776f214d6e5247d430e47d231230caeaac197 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/77.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/79.pack b/tests/codeql_db/db-python/default/cache/predicates/79.pack new file mode 100644 index 0000000000000000000000000000000000000000..969547a90cd76440def89bac9178316fdf263422 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/79.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/7e.pack b/tests/codeql_db/db-python/default/cache/predicates/7e.pack new file mode 100644 index 0000000000000000000000000000000000000000..b7be33e35d8544cd01c855034ab75c950e252b1c Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/7e.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/7f.pack b/tests/codeql_db/db-python/default/cache/predicates/7f.pack new file mode 100644 index 0000000000000000000000000000000000000000..7b3aa1b4090eab0451afea0b8773d5512dfdeb6c Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/7f.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/89.pack b/tests/codeql_db/db-python/default/cache/predicates/89.pack new file mode 100644 index 0000000000000000000000000000000000000000..c79ada4c677a6f3a00600b10539df27c090c4522 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/89.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/8a.pack b/tests/codeql_db/db-python/default/cache/predicates/8a.pack new file mode 100644 index 0000000000000000000000000000000000000000..746bf1e6259407a142a3d7d6a87ee8db1c7f7104 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/8a.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/9c.pack b/tests/codeql_db/db-python/default/cache/predicates/9c.pack new file mode 100644 index 0000000000000000000000000000000000000000..79a739e89e196ff586a355a0bec22b4366c14947 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/9c.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/a1.pack b/tests/codeql_db/db-python/default/cache/predicates/a1.pack new file mode 100644 index 0000000000000000000000000000000000000000..26b85dce6cb16759e8c53295a55592cd4cbd3d25 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/a1.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/ac.pack b/tests/codeql_db/db-python/default/cache/predicates/ac.pack new file mode 100644 index 0000000000000000000000000000000000000000..58fd9a5b8b10a66a890e1219208bf96b02329f15 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/ac.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/ae.pack b/tests/codeql_db/db-python/default/cache/predicates/ae.pack new file mode 100644 index 0000000000000000000000000000000000000000..e5643964e3f39f564178694038d5b455b617127c Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/ae.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/b3.pack b/tests/codeql_db/db-python/default/cache/predicates/b3.pack new file mode 100644 index 0000000000000000000000000000000000000000..daae11cf152e11bfa65b1b527887bc80516b6f2a Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/b3.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/b4.pack b/tests/codeql_db/db-python/default/cache/predicates/b4.pack new file mode 100644 index 0000000000000000000000000000000000000000..3cbdd6518536e1dd18507aa69d1a8575848dda6b Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/b4.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/bf.pack b/tests/codeql_db/db-python/default/cache/predicates/bf.pack new file mode 100644 index 0000000000000000000000000000000000000000..2db13dc2d552adcc0b36e4c24b6c004071c2cff6 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/bf.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/c0.pack b/tests/codeql_db/db-python/default/cache/predicates/c0.pack new file mode 100644 index 0000000000000000000000000000000000000000..2ae0d6ce90d8eb6c48bfe35a134a354c7689a309 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/c0.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/c1.pack b/tests/codeql_db/db-python/default/cache/predicates/c1.pack new file mode 100644 index 0000000000000000000000000000000000000000..ee6bd91f4665e9b2c4a6af998239e166b5f7185a Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/c1.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/c3.pack b/tests/codeql_db/db-python/default/cache/predicates/c3.pack new file mode 100644 index 0000000000000000000000000000000000000000..59bcd3e0afa3297e298737c45dba5a2978ceb739 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/c3.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/c8.pack b/tests/codeql_db/db-python/default/cache/predicates/c8.pack new file mode 100644 index 0000000000000000000000000000000000000000..52e90edcf36e04aad9c660e990626e632316171e Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/c8.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/ca.pack b/tests/codeql_db/db-python/default/cache/predicates/ca.pack new file mode 100644 index 0000000000000000000000000000000000000000..f8a1e00853ac9a92ea6e75ef359a646e5a1ec895 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/ca.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/cb.pack b/tests/codeql_db/db-python/default/cache/predicates/cb.pack new file mode 100644 index 0000000000000000000000000000000000000000..8297896d32ca0983cc7d4cb64a79c78f13ebb401 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/cb.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/d0.pack b/tests/codeql_db/db-python/default/cache/predicates/d0.pack new file mode 100644 index 0000000000000000000000000000000000000000..9c30e055b163a3453eec27f28a205c7f703571d1 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/d0.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/d1.pack b/tests/codeql_db/db-python/default/cache/predicates/d1.pack new file mode 100644 index 0000000000000000000000000000000000000000..14a3425c61f976d334b7d2a622d82a84c06c0d5e Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/d1.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/d7.pack b/tests/codeql_db/db-python/default/cache/predicates/d7.pack new file mode 100644 index 0000000000000000000000000000000000000000..2f75f13201822408212364d03fa221d1b62f2cb4 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/d7.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/d8.pack b/tests/codeql_db/db-python/default/cache/predicates/d8.pack new file mode 100644 index 0000000000000000000000000000000000000000..18f34be97895baa20a7a486dae6ec1e2044c8b9f Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/d8.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/d9.pack b/tests/codeql_db/db-python/default/cache/predicates/d9.pack new file mode 100644 index 0000000000000000000000000000000000000000..2e8b08032cc1fd6587c0f85dab8427481249c9c7 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/d9.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/de.pack b/tests/codeql_db/db-python/default/cache/predicates/de.pack new file mode 100644 index 0000000000000000000000000000000000000000..0f4de79c57ff093bdec061a646437db7a306bc21 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/de.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/e0.pack b/tests/codeql_db/db-python/default/cache/predicates/e0.pack new file mode 100644 index 0000000000000000000000000000000000000000..3674c6e613e8b2862e875f92435052d541dca8d8 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/e0.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/e2.pack b/tests/codeql_db/db-python/default/cache/predicates/e2.pack new file mode 100644 index 0000000000000000000000000000000000000000..466f3bebc60a9c2b3abcac15ecf4622867fe0ef8 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/e2.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/e4.pack b/tests/codeql_db/db-python/default/cache/predicates/e4.pack new file mode 100644 index 0000000000000000000000000000000000000000..687621a2903fedce7c68a42ff8d8c313c00b12f2 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/e4.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/e8.pack b/tests/codeql_db/db-python/default/cache/predicates/e8.pack new file mode 100644 index 0000000000000000000000000000000000000000..150ff935cb29c169674fbb488d50eb4e63d33da9 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/e8.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/ec.pack b/tests/codeql_db/db-python/default/cache/predicates/ec.pack new file mode 100644 index 0000000000000000000000000000000000000000..2b78f9325556a35e4f116512e6bece9f93947633 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/ec.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/f2.pack b/tests/codeql_db/db-python/default/cache/predicates/f2.pack new file mode 100644 index 0000000000000000000000000000000000000000..162606827e0f026832efea1b6f101527aa5b021b Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/f2.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/f3.pack b/tests/codeql_db/db-python/default/cache/predicates/f3.pack new file mode 100644 index 0000000000000000000000000000000000000000..ca07d1f75cb49f63047bc4eb4cb427e965129d57 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/f3.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/f5.pack b/tests/codeql_db/db-python/default/cache/predicates/f5.pack new file mode 100644 index 0000000000000000000000000000000000000000..e6171ced2ff689f60b6b1c15f667b728307deb62 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/f5.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/f6.pack b/tests/codeql_db/db-python/default/cache/predicates/f6.pack new file mode 100644 index 0000000000000000000000000000000000000000..aa31416ec490d825fb64764c1b9ec5bcc82e08d6 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/f6.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/f8.pack b/tests/codeql_db/db-python/default/cache/predicates/f8.pack new file mode 100644 index 0000000000000000000000000000000000000000..ca2fa8fa3d171659e4c901a8d896eca37ca1ae0e Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/f8.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/fa.pack b/tests/codeql_db/db-python/default/cache/predicates/fa.pack new file mode 100644 index 0000000000000000000000000000000000000000..aa2f17d120564428bf1561ae87894dea9efe3036 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/fa.pack differ diff --git a/tests/codeql_db/db-python/default/cache/predicates/ff.pack b/tests/codeql_db/db-python/default/cache/predicates/ff.pack new file mode 100644 index 0000000000000000000000000000000000000000..1d95c8ebfbf19d7ac4f4f836b5edf4135d95318c Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/predicates/ff.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/06.pack b/tests/codeql_db/db-python/default/cache/relations/06.pack new file mode 100644 index 0000000000000000000000000000000000000000..b6c8978a31eb2da5006ddfd6a288755b3fc35be7 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/06.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/0e.pack b/tests/codeql_db/db-python/default/cache/relations/0e.pack new file mode 100644 index 0000000000000000000000000000000000000000..0bbba43d4e35f6fed0a082977ee594698a383438 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/0e.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/1c.pack b/tests/codeql_db/db-python/default/cache/relations/1c.pack new file mode 100644 index 0000000000000000000000000000000000000000..869d68633a92b805104b67910c4a81dd540c97c5 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/1c.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/31.pack b/tests/codeql_db/db-python/default/cache/relations/31.pack new file mode 100644 index 0000000000000000000000000000000000000000..e173f5f2e8fc66a6bf8686a211cbaf78c7421318 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/31.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/36.pack b/tests/codeql_db/db-python/default/cache/relations/36.pack new file mode 100644 index 0000000000000000000000000000000000000000..d423eb7a79ca10fc4c2bdda9d691c65d6b416970 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/36.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/3d.pack b/tests/codeql_db/db-python/default/cache/relations/3d.pack new file mode 100644 index 0000000000000000000000000000000000000000..762946be01a10e1db84849aaf942ff12a03396de Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/3d.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/42.pack b/tests/codeql_db/db-python/default/cache/relations/42.pack new file mode 100644 index 0000000000000000000000000000000000000000..0f1aa12ec5b7ef18d6b682da61fcc75b7349298d Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/42.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/73.pack b/tests/codeql_db/db-python/default/cache/relations/73.pack new file mode 100644 index 0000000000000000000000000000000000000000..2819224d37e41cbc36a604433376a6dab493fafe Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/73.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/74.pack b/tests/codeql_db/db-python/default/cache/relations/74.pack new file mode 100644 index 0000000000000000000000000000000000000000..9637fdbd959a86a5379b70a4fd5cda10daceca0a Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/74.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/79.pack b/tests/codeql_db/db-python/default/cache/relations/79.pack new file mode 100644 index 0000000000000000000000000000000000000000..79001c44d844d7dfa9364c9b57657d9b62658c3d Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/79.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/84.pack b/tests/codeql_db/db-python/default/cache/relations/84.pack new file mode 100644 index 0000000000000000000000000000000000000000..ead6bece9eba4d0c710bd15d24c12ff16fa0680b Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/84.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/85.pack b/tests/codeql_db/db-python/default/cache/relations/85.pack new file mode 100644 index 0000000000000000000000000000000000000000..fa41e3b9d6cf80e0a88e7e8b17cf239d660d4341 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/85.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/95.pack b/tests/codeql_db/db-python/default/cache/relations/95.pack new file mode 100644 index 0000000000000000000000000000000000000000..300eabbfd233d5816beaba4f8d667e22e439fe3c Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/95.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/a2.pack b/tests/codeql_db/db-python/default/cache/relations/a2.pack new file mode 100644 index 0000000000000000000000000000000000000000..96e74b7299cc9745fa0ec015de4882f5fe205e54 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/a2.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/b2.pack b/tests/codeql_db/db-python/default/cache/relations/b2.pack new file mode 100644 index 0000000000000000000000000000000000000000..08afebcc85a28500874ac0aae8a69226ec3ade93 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/b2.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/bd.pack b/tests/codeql_db/db-python/default/cache/relations/bd.pack new file mode 100644 index 0000000000000000000000000000000000000000..4f9df085874d33eb4000c272ba3117028e414db8 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/bd.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/c0.pack b/tests/codeql_db/db-python/default/cache/relations/c0.pack new file mode 100644 index 0000000000000000000000000000000000000000..7de92f069e697155df94385895314b373d790295 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/c0.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/d4.pack b/tests/codeql_db/db-python/default/cache/relations/d4.pack new file mode 100644 index 0000000000000000000000000000000000000000..413c974dc617632987185b1042e00861c06b5c35 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/d4.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/d9.pack b/tests/codeql_db/db-python/default/cache/relations/d9.pack new file mode 100644 index 0000000000000000000000000000000000000000..3a123336147d4af9afd98ba74dcbefa16597996b Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/d9.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/e8.pack b/tests/codeql_db/db-python/default/cache/relations/e8.pack new file mode 100644 index 0000000000000000000000000000000000000000..8f0aaa14c43ebc0b686198c2b80977e88f7a00e4 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/e8.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/f6.pack b/tests/codeql_db/db-python/default/cache/relations/f6.pack new file mode 100644 index 0000000000000000000000000000000000000000..dfea82328a9f4786c9cecaa0f5bd1afe77768ba8 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/f6.pack differ diff --git a/tests/codeql_db/db-python/default/cache/relations/fd.pack b/tests/codeql_db/db-python/default/cache/relations/fd.pack new file mode 100644 index 0000000000000000000000000000000000000000..4680514e5bd4a14db3e46ae4990ad81f636b4892 Binary files /dev/null and b/tests/codeql_db/db-python/default/cache/relations/fd.pack differ diff --git a/tests/codeql_db/db-python/default/cache/version b/tests/codeql_db/db-python/default/cache/version new file mode 100644 index 0000000000000000000000000000000000000000..c8816dd01adc902658c432f3af0249f952adc2e1 --- /dev/null +++ b/tests/codeql_db/db-python/default/cache/version @@ -0,0 +1 @@ +20190805:20220702:20220811:20211129 diff --git a/tests/codeql_db/db-python/default/containerparent.rel b/tests/codeql_db/db-python/default/containerparent.rel new file mode 100644 index 0000000000000000000000000000000000000000..ab12f506226a510b7f30c26e2b5fd003a41dd9b2 Binary files /dev/null and b/tests/codeql_db/db-python/default/containerparent.rel differ diff --git a/tests/codeql_db/db-python/default/containerparent.rel.checksum b/tests/codeql_db/db-python/default/containerparent.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..82f16e1c6f2a37b88f69b5518770310b0e35ed53 Binary files /dev/null and b/tests/codeql_db/db-python/default/containerparent.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/ext_argreturn.rel b/tests/codeql_db/db-python/default/ext_argreturn.rel new file mode 100644 index 0000000000000000000000000000000000000000..97be90c50affd837caf972dcf148e4114309d8d3 Binary files /dev/null and b/tests/codeql_db/db-python/default/ext_argreturn.rel differ diff --git a/tests/codeql_db/db-python/default/ext_argreturn.rel.checksum b/tests/codeql_db/db-python/default/ext_argreturn.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..6427d66785010388d0f01c41c30bd3cfdc001d24 Binary files /dev/null and b/tests/codeql_db/db-python/default/ext_argreturn.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/ext_argtype.rel b/tests/codeql_db/db-python/default/ext_argtype.rel new file mode 100644 index 0000000000000000000000000000000000000000..4d9352f8cade3d29c36a1ddd189cfff04fda147d Binary files /dev/null and b/tests/codeql_db/db-python/default/ext_argtype.rel differ diff --git a/tests/codeql_db/db-python/default/ext_argtype.rel.checksum b/tests/codeql_db/db-python/default/ext_argtype.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..1f274bfc648b6f59cc48a136b1da9241b74a6db0 Binary files /dev/null and b/tests/codeql_db/db-python/default/ext_argtype.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/ext_proptype.rel b/tests/codeql_db/db-python/default/ext_proptype.rel new file mode 100644 index 0000000000000000000000000000000000000000..b817311325ef5b7a79f183eb0e4956bb638b232c Binary files /dev/null and b/tests/codeql_db/db-python/default/ext_proptype.rel differ diff --git a/tests/codeql_db/db-python/default/ext_proptype.rel.checksum b/tests/codeql_db/db-python/default/ext_proptype.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..4d41f7baf12f44c9f74524bf9a26850229b7e112 Binary files /dev/null and b/tests/codeql_db/db-python/default/ext_proptype.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/ext_rettype.rel b/tests/codeql_db/db-python/default/ext_rettype.rel new file mode 100644 index 0000000000000000000000000000000000000000..535a5869bf9c1e04ff82a1c69b8169657a670379 Binary files /dev/null and b/tests/codeql_db/db-python/default/ext_rettype.rel differ diff --git a/tests/codeql_db/db-python/default/ext_rettype.rel.checksum b/tests/codeql_db/db-python/default/ext_rettype.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..57f19c837312e614b658b34a901031dabebedd4d Binary files /dev/null and b/tests/codeql_db/db-python/default/ext_rettype.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/files.rel b/tests/codeql_db/db-python/default/files.rel new file mode 100644 index 0000000000000000000000000000000000000000..1b1cb4d44c57c2d7a5122870fa6ac3e62ff7e94e Binary files /dev/null and b/tests/codeql_db/db-python/default/files.rel differ diff --git a/tests/codeql_db/db-python/default/files.rel.checksum b/tests/codeql_db/db-python/default/files.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..d7aa0c9ee32095dca7afa5b220ad4fd8811d5795 Binary files /dev/null and b/tests/codeql_db/db-python/default/files.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/folders.rel b/tests/codeql_db/db-python/default/folders.rel new file mode 100644 index 0000000000000000000000000000000000000000..abaaafee96b662d915174bba2cfb4521c9977187 Binary files /dev/null and b/tests/codeql_db/db-python/default/folders.rel differ diff --git a/tests/codeql_db/db-python/default/folders.rel.checksum b/tests/codeql_db/db-python/default/folders.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..00217fae5b281ebbd0cefc4882bbd5e682c5817e Binary files /dev/null and b/tests/codeql_db/db-python/default/folders.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/locations_ast.rel b/tests/codeql_db/db-python/default/locations_ast.rel new file mode 100644 index 0000000000000000000000000000000000000000..31318c35349534b0d4be682fcdd0db47b496dfd8 Binary files /dev/null and b/tests/codeql_db/db-python/default/locations_ast.rel differ diff --git a/tests/codeql_db/db-python/default/locations_ast.rel.checksum b/tests/codeql_db/db-python/default/locations_ast.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..1373aa9cdfcb9bb0f84414b638c754b1a86a376b Binary files /dev/null and b/tests/codeql_db/db-python/default/locations_ast.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/numlines.rel b/tests/codeql_db/db-python/default/numlines.rel new file mode 100644 index 0000000000000000000000000000000000000000..6fd2346db62b5febcfb4c4abd565da98f9ce3b16 Binary files /dev/null and b/tests/codeql_db/db-python/default/numlines.rel differ diff --git a/tests/codeql_db/db-python/default/numlines.rel.checksum b/tests/codeql_db/db-python/default/numlines.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..ddd3d59702b12ad708564f54cd462b09d8724a8e Binary files /dev/null and b/tests/codeql_db/db-python/default/numlines.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/pools/0/buckets/info b/tests/codeql_db/db-python/default/pools/0/buckets/info new file mode 100644 index 0000000000000000000000000000000000000000..2c14dfdceda43ab4d67c9e42c1d8eeed53915eda Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/0/buckets/info differ diff --git a/tests/codeql_db/db-python/default/pools/0/buckets/page-000000 b/tests/codeql_db/db-python/default/pools/0/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..e190242bb7fcb6ed6fc34ce19fba39faabab07ba Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/0/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/pools/0/info b/tests/codeql_db/db-python/default/pools/0/info new file mode 100644 index 0000000000000000000000000000000000000000..0746fcd8a1993a04d0256df14cbad03300b8f97c Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/0/info differ diff --git a/tests/codeql_db/db-python/default/pools/0/metadata/info b/tests/codeql_db/db-python/default/pools/0/metadata/info new file mode 100644 index 0000000000000000000000000000000000000000..b50652b4d5612716d14ffb7d200219c69c470b12 Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/0/metadata/info differ diff --git a/tests/codeql_db/db-python/default/pools/0/metadata/page-000000 b/tests/codeql_db/db-python/default/pools/0/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..7e2ff3f75162697f8366700c3a70b8bef4fd8fd7 Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/0/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/pools/0/pageDump/page-000000000 b/tests/codeql_db/db-python/default/pools/0/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..217a1ebe3b0788f0e2221e81d5699d37a470f711 --- /dev/null +++ b/tests/codeql_db/db-python/default/pools/0/pageDump/page-000000000 @@ -0,0 +1,400 @@ +/Users/pwntester/seclab/projects/codeql_kernel/tests/db/test.py/Users/pwntester/seclab/projects/codeql_kernel/tests/db/Users/pwntester/seclab/projects/codeql_kernel/tests/Users/pwntester/seclab/projects/codeql_kernel/Users/pwntester/seclab/projects/Users/pwntester/seclab/Users/pwntester/Users/version.major3version.minor8version.micro9version.releaselevelfinalversion.serial0flags.bytes_warningflags.debugflags.dev_modeFalseflags.dont_write_bytecodeflags.hash_randomization1flags.ignore_environmentflags.inspectflags.interactiveflags.isolatedflags.n_fields15flags.n_sequence_fieldsflags.n_unnamed_fieldsflags.no_siteflags.no_user_siteflags.optimizeflags.quietflags.utf8_modeflags.verbosefloat.digfloat.epsilon2.220446049250313e-16float.mant_dig53float.max1.7976931348623157e+308float.max_10_exp308float.max_exp1024float.min2.2250738585072014e-308float.min_10_exp-307float.min_exp-1021float.n_fields11float.n_sequence_fieldsfloat.n_unnamed_fieldsfloat.radix2float.roundsoptions.alloptions.colorizeoptions.extract_stdlibTrueoptions.guessoptions.helpoptions.ignore_missing_modulesoptions.introspect_coptions.max_import_depthinfoptions.max_import_heightoptions.max_procsalloptions.no_symlinksoptions.no_syntax_errorsoptions.noneoptions.omit_hashoptions.pruneoptions.pyxloptions.quietoptions.respect_initoptions.spitfireoptions.spitfire_strictoptions.splitoptions.topoptions.trace_onlyoptions.trap_cache/Users/pwntester/seclab/projects/codeql_kernel/tests/db/db/working/trap_cacheoptions.unrolloptions.verboseoptions.verbositysys.prefix/Users/pwntester/.pyenv/versions/3.8.9sys.path/Users/pwntester/.pyenv/versions/3.8.9/lib/python38.zip:/Users/pwntester/.pyenv/versions/3.8.9/lib/python3.8:/Users/pwntester/.pyenv/versions/3.8.9/lib/python3.8/lib-dynloadextractor.path/Users/pwntester/.pyenv/versions/3.8.9/lib/python3.8/site-packagessys.platformdarwinos.sepos.pathsep:extractor.version5.26__call____repr____getattribute____get____set____delete____objclass____bool____doc____add____contains__u'str(object='') -> str +str(bytes_or_buffer[, encoding[, errors]]) -> str + +Create a new string object from the given object. If encoding or +errors is specified, then the object must expose a data buffer +that will be decoded using the given encoding and error handler. +Otherwise, returns the result of object.__str__() (if defined) +or repr(object). +encoding defaults to sys.getdefaultencoding(). +errors defaults to 'strict'.'__eq__u'method_descriptor.__doc__'__qualname__u'member_descriptor.__doc__'__name__u'member_descriptor.__qualname__'__reduce__u'the object's class'u'object.__class__'__class____delattr____dir__u'The base class of the class hierarchy. + +When called, it accepts no arguments and returns a new featureless +instance that has no instance attributes and cannot be given any. +'__format____ge____gt____hash____init__u'classmethod_descriptor.__doc__'u'classmethod_descriptor.__qualname__'u'classmethod_descriptor.__text_signature__'__text_signature__.super.classmethod_descriptor__init_subclass____le____lt____ne____new____reduce_ex____setattr____sizeof____str____subclasshook__objectmember_descriptoru'method_descriptor.__qualname__'u'method_descriptor.__text_signature__'method_descriptor__getitem____getnewargs____iter____len____mod____mul____rmod____rmul__capitalizecasefoldcentercountencodeendswithexpandtabsfindformatformat_mapindexisalnumisalphaisasciiisdecimalisdigitisidentifierislowerisnumericisprintableisspaceistitleisupperjoinljustlowerlstripu'staticmethod.__dict__'__dict__u'staticmethod(function) -> method + +Convert a function to be a static method. + +A static method does not receive an implicit first argument. +To declare a static method, use this idiom: + + class C: + @staticmethod + def f(arg1, arg2, ...): + ... + +It can be called either on the class (e.g. C.f()) or on an instance +(e.g. C().f()). Both the class and the instance are ignored, and +neither is passed implicitly as the first argument to the method. + +Static methods in Python are similar to those found in Java or C++. +For a more advanced concept, see the classmethod builtin.'__func__u'staticmethod.__isabstractmethod__'__isabstractmethod__staticmethodmaketranspartitionreplacerfindrindexrjustrpartitionrsplitrstripsplitsplitlinesstartswithstripswapcasetitletranslateupperzfillunicodeu'builtin_function_or_method.__doc__'__module__u'builtin_function_or_method.__name__'u'builtin_function_or_method.__qualname__'u'builtin_function_or_method.__self__'__self__u'builtin_function_or_method.__text_signature__'builtin_function_or_methodNoneTypeNoneu'method-wrapper.__doc__'u'method-wrapper.__name__'u'method-wrapper.__objclass__'u'method-wrapper.__qualname__'u'method-wrapper.__text_signature__'method-wrapperu'wrapper_descriptor.__doc__'u'wrapper_descriptor.__qualname__'u'wrapper_descriptor.__text_signature__'wrapper_descriptoru'getset_descriptor.__doc__'u'getset_descriptor.__qualname__'getset_descriptoru'type.__abstractmethods__'__abstractmethods____base__u'type.__bases__'__bases____basicsize__u'type.__dict__'__dictoffset__u'type.__doc__'__flags____instancecheck____itemsize__u'type.__module__'__mro__u'type.__name__'__prepare__u'type.__qualname__'__subclasscheck____subclasses__u'type.__text_signature__'__weakrefoffset__mrotypeu'function.__annotations__'__annotations____closure__u'function.__code__'__code__u'function.__defaults__'__defaults__u'function.__dict__'__globals__u'function.__kwdefaults__'__kwdefaults__u'function.__name__'u'function.__qualname__'functionFunctionTypeBuiltinFunctionTypeu'classmethod.__dict__'u'classmethod(function) -> method + +Convert a function to be a class method. + +A class method receives the class as implicit first argument, +just like an instance method receives the instance. +To declare a class method, use this idiom: + + class C: + @classmethod + def f(cls, arg1, arg2, ...): + ... + +It can be called either on the class (e.g. C.f()) or on an instance +(e.g. C().f()). The instance is ignored except for its class. +If a class method is called for a derived class, the derived class +object is passed as the implied first argument. + +Class methods are different than C++ or Java static methods. +If you want those, see the staticmethod builtin.'u'classmethod.__isabstractmethod__'classmethodClassMethodStaticMethodu'Create a module object. + +The name must be a string; the optional doc argument can have any type.'moduleModuleType__del__u'name of the generator'u'generator.__name__'__next__u'qualified name of the generator'u'generator.__qualname__'closegi_codegi_framegi_runningu'object being iterated by yield from, or None'u'generator.gi_yieldfrom'gi_yieldfromsendthrowgenerator__and__u'bool(x) -> bool + +Returns True when the argument x is true, False otherwise. +The builtins True and False are the only two instances of the class bool. +The class bool is a subclass of the class int, and cannot be subclassed.'__or____rand____ror____rxor____xor____abs____ceil____divmod__u'int([x]) -> integer +int(x, base=10) -> integer + +Convert a number or string to an integer, or return 0 if no arguments +are given. If x is a number, return x.__int__(). For floating point +numbers, this truncates towards zero. + +If x is not a number or if base is given, then x must be a string, +bytes, or bytearray instance representing an integer literal in the +given base. The literal can be preceded by '+' or '-' and be surrounded +by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. +Base 0 means to interpret the base from the string as an integer literal. +>>> int('0b100', base=0) +4'__float____floor____floordiv____index____int____invert____lshift____neg____pos____pow____radd____rdivmod____rfloordiv____rlshift____round____rpow____rrshift____rshift____rsub____rtruediv____sub____truediv____trunc__as_integer_ratiobit_lengthconjugateu'the denominator of a rational number in lowest terms'u'int.denominator'denominatorfrom_bytesu'the imaginary part of a complex number'u'int.imag'imagu'the numerator of a rational number in lowest terms'u'int.numerator'numeratoru'the real part of a complex number'u'int.real'realto_bytesintboolbreakpointhook__breakpointhook__displayhook__displayhook__u'This module provides access to some objects used or maintained by the +interpreter and to functions that interact strongly with the interpreter. + +Dynamic objects: + +argv -- command line arguments; argv[0] is the script pathname if known +path -- module search path; path[0] is the script directory, else '' +modules -- dictionary of loaded modules + +displayhook -- called to show results in an interactive session +excepthook -- called to handle any uncaught exception other than SystemExit + To customize printing in an interactive session or to install a custom + top-level exception handler, assign other functions to replace these. + +stdin -- standard input file object; used by input() +stdout -- standard output file object; used by print() +stderr -- standard error object; used for error messages + By assigning other file objects (or objects that behave like files) + to these, it is possible to redirect all of the interpreter's I/O. + +last_type -- type of last uncaught exception +last_value -- value of last uncaught exception +last_traceback -- traceback of last uncaught exception + These three are only available in an interactive session after a + traceback has been printed. + +Static objects: + +builtin_module_names -- tuple of module names built into this interpreter +copyright -- copyright notice pertaining to this interpreter +exec_prefix -- prefix used to find the machine-specific Python library +executable -- absolute path of the executable binary of the Python interpreter +float_info -- a named tuple with information about the float implementation. +float_repr_style -- string indicating the style of repr() output for floats +hash_info -- a named tuple with information about the hash algorithm. +hexversion -- version information encoded as a single integer +implementation -- Python implementation information. +int_info -- a named tuple with information about the int implementation. +maxsize -- the largest supported length of containers. +maxunicode -- the value of the largest Unicode code point +platform -- platform identifier +prefix -- prefix used to find the Python library +thread_info -- a named tuple with information about the thread implementation. +version -- the version of this interpreter as a string +version_info -- version information as a named tuple +__stdin__ -- the original stdin; don't touch! +__stdout__ -- the original stdout; don't touch! +__stderr__ -- the original stderr; don't touch! +__displayhook__ -- the original displayhook; don't touch! +__excepthook__ -- the original excepthook; don't touch! + +Functions: + +displayhook() -- print an object to the screen, and save it in builtins._ +excepthook() -- print an exception and its traceback to sys.stderr +exc_info() -- return thread-safe information about the current exception +exit() -- exit the interpreter by raising SystemExit +getdlopenflags() -- returns flags to be used for dlopen() calls +getprofile() -- get the global profiling function +getrefcount() -- return the reference count for an object (plus one :-) +getrecursionlimit() -- return the max recursion depth for the interpreter +getsizeof() -- return the size of an object in bytes +gettrace() -- get the global debug tracing function +setcheckinterval() -- control how often the interpreter checks for events +setdlopenflags() -- set the flags to be used for dlopen() calls +setprofile() -- set the global profiling function +setrecursionlimit() -- set the max recursion depth for the interpreter +settrace() -- set the global debug tracing function +'excepthook__excepthook__u'dictionary for instance variables (if defined)'u'BuiltinImporter.__dict__'u'Meta path import for built-in modules. + + All methods are either class or static methods to avoid the need to + instantiate the class. + + 'u'_frozen_importlib'u'list of weak references to the object (if defined)'u'BuiltinImporter.__weakref__'__weakref__create_moduleexec_modulefind_modulefind_specget_codeget_sourceis_packageload_modulemodule_repr_frozen_importlib.BuiltinImporter__loader__u'sys'u''__package__u'ModuleSpec.__dict__'u'The specification for a module, used for loading. + + A module's spec is the source for information about the module. For + data associated with the module, including source, use the spec's + loader. + + `name` is the absolute name of the module. `loader` is the loader + to use when loading the module. `parent` is the name of the + package the module is in. The parent is derived from the name. + + `is_package` determines if the module is considered a package or + not. On modules this is reflected by the `__path__` attribute. + + `origin` is the specific location used by the loader from which to + load the module, if that information is available. When filename is + set, origin will match. + + `has_location` indicates that a spec's "origin" reflects a location. + When this is True, `__file__` attribute of the module is set. + + `cached` is the location of the cached bytecode file, if any. It + corresponds to the `__cached__` attribute. + + `submodule_search_locations` is the sequence of path entries to + search when importing submodules. If set, is_package should be + True--and False otherwise. + + Packages are simply modules that (may) have submodules. If a spec + has a non-None value in `submodule_search_locations`, the import + system will consider modules loaded from the spec as packages. + + Only finders (see importlib.abc.MetaPathFinder and + importlib.abc.PathEntryFinder) should modify ModuleSpec instances. + + 'u'ModuleSpec.__weakref__'u'property.__isabstractmethod__'deleterfdelfgetfsetgettersetterpropertycachedhas_locationparent_frozen_importlib.ModuleSpec__spec__u'TextIOWrapper._CHUNK_SIZE'_CHUNK_SIZEu'Character and line based layer over a BufferedIOBase object, buffer. + +encoding gives the name of the encoding that the stream will be +decoded or encoded with. It defaults to locale.getpreferredencoding(False). + +errors determines the strictness of encoding and decoding (see +help(codecs.Codec) or the documentation for codecs.register) and +defaults to "strict". + +newline controls how line endings are handled. It can be None, '', +'\n', '\r', and '\r\n'. It works as follows: + +* On input, if newline is None, universal newlines mode is + enabled. Lines in the input can end in '\n', '\r', or '\r\n', and + these are translated into '\n' before being returned to the + caller. If it is '', universal newline mode is enabled, but line + endings are returned to the caller untranslated. If it has any of + the other legal values, input lines are only terminated by the given + string, and the line ending is returned to the caller untranslated. + +* On output, if newline is None, any '\n' characters written are + translated to the system default line separator, os.linesep. If + newline is '' or '\n', no translation takes place. If newline is any + of the other legal values, any '\n' characters written are translated + to the given string. + +If line_buffering is True, a call to flush is implied when a call to +write contains a newline character.'_finalizingbufferu'TextIOWrapper.closed'closeddetachencodingu'TextIOWrapper.errors'errorsfilenoflushisattyline_bufferingu'TextIOWrapper.name'nameu'TextIOWrapper.newlines'newlinesreadreadablereadlinereconfigureseekseekabletelltruncatewritablewritewrite_throughu'Base class for text I/O. + +This class provides a character and line based interface to stream +I/O. There is no readinto method because Python's character strings +are immutable. There is no public constructor. +'u'Encoding of the text stream. + +Subclasses should override. +'u'_TextIOBase.encoding'u'The error setting of the decoder or encoder. + +Subclasses should override. +'u'_TextIOBase.errors'u'Line endings translated so far. + +Only line endings translated during reading are considered. + +Subclasses should override. +'u'_TextIOBase.newlines'u'_IOBase.__dict__'u'The abstract base class for all I/O classes, acting on streams of +bytes. There is no public constructor. + +This class provides dummy implementations for many methods that +derived classes can override selectively; the default implementations +represent a file that cannot be read, written or seeked. + +Even though IOBase does not declare read, readinto, or write because +their signatures will vary, implementations and clients should +consider those methods part of the interface. Also, implementations +may raise UnsupportedOperation when operations they do not support are +called. + +The basic type used for binary data read from or written to a file is +bytes. Other bytes-like objects are accepted as method arguments too. +In some cases (such as readinto), a writable object is required. Text +I/O classes work with str data. + +Note that calling any method (except additional calls to close(), +which are ignored) on a closed stream should raise a ValueError. + +IOBase (and its subclasses) support the iterator protocol, meaning +that an IOBase object can be iterated over yielding the lines in a +stream. + +IOBase also supports the :keyword:`with` statement. In this example, +fp is closed after the suite of the with statement is complete: + +with open('spam.txt', 'r') as fp: + fp.write('Spam and eggs!') +'__enter____exit___checkClosed_checkReadable_checkSeekable_checkWritableu'_IOBase.closed'readlineswritelines_io._IOBase_io._TextIOBase_io.TextIOWrapper__stderr____stdin____stdout__unraisablehook__unraisablehook__u'/Users/pwntester/.pyenv/versions/3.8.9/bin/python3'_base_executable_clear_type_cache_current_frames_debugmallocstats_framework_getframeu'Built-in immutable sequence. + +If no argument is given, the constructor returns an empty tuple. +If iterable is specified the tuple is initialized from iterable's items. + +If the argument is a tuple, the return value is the same object.'tupleu'CPython'_git__delitem__u'dict() -> new empty dictionary +dict(mapping) -> new dictionary initialized from a mapping object's + (key, value) pairs +dict(iterable) -> new dictionary initialized as if via: + d = {} + for k, v in iterable: + d[k] = v +dict(**kwargs) -> new dictionary initialized with the name=value pairs + in the keyword argument list. For example: dict(one=1, two=2)'__reversed____setitem__clearcopyfromkeysgetitemskeyspoppopitemsetdefaultupdatevaluesdict_xoptionsabiflagsaddaudithook1013api_versionu'Built-in mutable sequence. + +If no argument is given, the constructor creates a new empty list. +The argument must be an iterable if specified.'__iadd____imul__appendextendinsertremovereversesortlistu'/Users/pwntester/.local/share/gh/extensions/gh-codeql/dist/release/v2.10.4/python/tools/python_tracer.py'u'-v'u'-z'u'all'u'-c'u'/Users/pwntester/seclab/projects/codeql_kernel/tests/db/db/working/trap_cache'u'-p'u'/Users/pwntester/.pyenv/versions/3.8.9/lib/python3.8/site-packages'u'-R'u'/Users/pwntester/seclab/projects/codeql_kernel/tests/db'argvauditu'/Users/pwntester/.pyenv/versions/3.8.9'base_exec_prefixbase_prefixu'_abc'u'_ast'u'_codecs'u'_collections'u'_functools'u'_imp'u'_io'u'_locale'u'_operator'u'_signal'u'_sre'u'_stat'u'_string'u'_symtable'u'_thread'u'_tracemalloc'u'_warnings'u'_weakref'u'atexit'u'builtins'u'errno'u'faulthandler'u'gc'u'itertools'u'marshal'u'posix'u'pwd'u'time'u'xxsubtype'builtin_module_namesu'little'byteordercall_tracingcallstatsu'Copyright (c) 2001-2021 Python Software Foundation. +All Rights Reserved. + +Copyright (c) 2000 BeOpen.com. +All Rights Reserved. + +Copyright (c) 1995-2001 Corporation for National Research Initiatives. +All Rights Reserved. + +Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. +All Rights Reserved.'copyrightdont_write_bytecodeexc_infoexec_prefixexecutableexitu'sys.flags + +Flags provided through command line arguments or environment vars.'bytes_warningdebugdev_modehash_randomizationignore_environmentinspectinteractiveisolatedn_fieldsn_sequence_fieldsn_unnamed_fieldsno_siteno_user_siteoptimizequietutf8_modeverbosesys.flagsflagsu'sys.float_info + +A named tuple holding information about the float type. It contains low level +information about the precision and internal representation. Please study +your system's :file:`float.h` for more information.'digepsilonmant_digmaxmax_10_expmax_expminmin_10_expmin_expradixroundssys.float_infou'Convert a string or number to a floating point number, if possible.'__getformat____set_format__fromhexhexu'float.imag'is_integeru'float.real'floatfloat_infou'short'float_repr_styleget_asyncgen_hooksget_coroutine_origin_tracking_depthgetallocatedblocksgetcheckintervalgetdefaultencodinggetdlopenflagsgetfilesystemencodeerrorsgetfilesystemencodinggetprofilegetrecursionlimitgetrefcountgetsizeofgetswitchintervalgettraceu'hash_info + +A named tuple providing parameters used for computing +hashes. The attributes are read only.'algorithmcutoffhash_bitsmodulusnanseed_bitswidthsys.hash_info6423058430092136939513141591000003u'siphash24'128hash_info50858480hexversionu'A simple attribute-based namespace. + +SimpleNamespace(**kwargs)'types.SimpleNamespaceimplementationu'sys.int_info + +A named tuple that holds information about Python's +internal representation of integers. The attributes are read only.'bits_per_digitsizeof_digitsys.int_info304int_infointernis_finalizing9223372036854775807maxsize1114111maxunicodeu'frozen'_ORIGINu'FrozenImporter.__dict__'u'Meta path import for frozen modules. + + All methods are either class or static methods to avoid the need to + instantiate the class. + + 'u'FrozenImporter.__weakref__'_frozen_importlib.FrozenImporteru'PathFinder.__dict__'u'Meta path finder for sys.path and package __path__ attributes.'u'_frozen_importlib_external'u'PathFinder.__weakref__'_get_spec_legacy_get_spec_path_hooks_path_importer_cachefind_distributionsinvalidate_caches_frozen_importlib_external.PathFindermeta_pathmodulesu'/Users/pwntester/.local/share/gh/extensions/gh-codeql/dist/release/v2.10.4/python/tools/python3src.zip'u'/Users/pwntester/.local/share/gh/extensions/gh-codeql/dist/release/v2.10.4/python/tools'u'/Users/pwntester/.pyenv/versions/3.8.9/lib/python38.zip'u'/Users/pwntester/.pyenv/versions/3.8.9/lib/python3.8'u'/Users/pwntester/.pyenv/versions/3.8.9/lib/python3.8/lib-dynload'pathu'zipimporter.__dict__'u'zipimporter(archivepath) -> zipimporter object + + Create a new zipimporter instance. 'archivepath' must be a path to + a zipfile, or to a specific path inside a zipfile. For example, it can be + '/tmp/myimport.zip', or '/tmp/myimport.zip/mydirectory', if mydirectory is a + valid directory inside the archive. + + 'ZipImportError is raised if 'archivepath' doesn't point to a valid Zip + archive. + + The 'archive' attribute of zipimporter objects contains the name of the + zipfile targeted. + 'u'zipimport'u'zipimporter.__weakref__'find_loaderget_dataget_filenameget_resource_readerzipimport.zipimporterpath_hook_for_FileFinderpath_hookspath_importer_cacheu'darwin'platformprefixpycache_prefixset_asyncgen_hooksset_coroutine_origin_tracking_depthsetcheckintervalsetdlopenflagssetprofilesetrecursionlimitsetswitchintervalsettracestderrstdinstdoutu'sys.thread_info + +A named tuple holding information about the thread implementation.'lockversionsys.thread_infou'pthread'u'mutex+cond'thread_infou'3.8.9 (default, Mar 29 2022, 10:29:22) +[Clang 13.0.0 (clang-1300.0.29.30)]'u'sys.version_info + +Version information as a named tuple.'majormicrominor5releaselevelserialsys.version_infou'final'version_infowarnoptionssysu'Common base class for all non-exit exceptions.'u'exception cause'u'BaseException.__cause__'__cause__u'exception context'u'BaseException.__context__'__context__u'BaseException.__dict__'u'Common base class for all exceptions'__setstate____suppress_context__u'BaseException.__traceback__'__traceback__u'BaseException.args'argswith_tracebackBaseExceptionExceptionu'Inappropriate argument type.'TypeErroru'Attribute not found.'AttributeErroru'Mapping key not found.'u'Base class for lookup errors.'LookupErrorKeyErroru'set() -> new empty set object +set(iterable) -> new set object + +Build an unordered collection of unique elements.'__iand____ior____isub____ixor__adddifferencedifference_updatediscardintersectionintersection_updateisdisjointissubsetissupersetsymmetric_differencesymmetric_difference_updateunionsetlocalsglobalsMethodDescriptorTypeu'super() -> same as super(__class__, ) +super(type) -> unbound super object +super(type, obj) -> bound super object; requires isinstance(obj, type) +super(type, type2) -> bound super object; requires issubclass(type2, type) +Typical use to call a cooperative superclass method: +class C(B): + def meth(self, arg): + super().meth(arg) +This works for class methods too: +class C(B): + @classmethod + def cmeth(cls, arg): + super().cmeth(arg) +'__self_class____thisclass__superu'method.__doc__'methodMethodType_1_2u'bytes(iterable_of_ints) -> bytes +bytes(string, encoding[, errors]) -> bytes +bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer +bytes(int) -> bytes object of size given by the parameter initialized with null bytes +bytes() -> empty bytes object + +Construct an immutable array of bytes from: + - an iterable yielding integers in range(256) + - a text string encoded using the specified encoding + - any object implementing the buffer API. + - an integer'decodebytesb'2'b2b'3'b3u'2'u2u'3'u3u'Base class for arithmetic errors.'ArithmeticErroru'Assertion failed.'AssertionErroru'I/O operation would block.'u'Base class for I/O related errors.'u'OSError.characters_written'characters_writtenerrnofilenamefilename2strerrorOSErrorBlockingIOErroru'Broken pipe.'u'Connection error.'ConnectionErrorBrokenPipeErroru'Buffer error.'BufferErroru'Base class for warnings about bytes and buffer related problems, mostly +related to conversion from str or comparing to str.'u'Base class for warning categories.'WarningBytesWarningu'Child process error.'ChildProcessErroru'Connection aborted.'ConnectionAbortedErroru'Connection refused.'ConnectionRefusedErroru'Connection reset.'ConnectionResetErroru'Base class for warnings about deprecated features.'DeprecationWarningu'Read beyond end of file.'EOFErrorellipsisEllipsisEnvironmentErroru'File already exists.'FileExistsErroru'File not found.'FileNotFoundErroru'Floating point operation failed.'FloatingPointErroru'Base class for warnings about constructs that will change semantically +in the future.'FutureWarningu'Request that a generator exit.'GeneratorExitIOErroru'Import can't find module, or can't find name in module.'msgImportErroru'Base class for warnings about probable mistakes in module imports'ImportWarningu'Improper indentation.'u'Invalid syntax.'linenooffsetprint_file_and_linetextSyntaxErrorIndentationErroru'Sequence index out of range.'IndexErroru'Interrupted by signal.'InterruptedErroru'Operation doesn't work on directories.'IsADirectoryErroru'Program interrupted by user.'KeyboardInterruptu'Out of memory.'MemoryErroru'Module not found.'ModuleNotFoundErroru'Name not found globally.'NameErroru'Operation only works on directories.'NotADirectoryErrorNotImplementedTypeNotImplementedu'Method or function hasn't been implemented yet.'u'Unspecified run-time error.'RuntimeErrorNotImplementedErroru'Result too large to be represented.'OverflowErroru'Base class for warnings about features which will be deprecated +in the future.'PendingDeprecationWarningu'Not enough permissions.'PermissionErroru'Process not found.'ProcessLookupErroru'Recursion limit exceeded.'RecursionErroru'Weak ref proxy used after referent went away.'ReferenceErroru'Base class for warnings about resource usage.'ResourceWarningu'Base class for warnings about dubious runtime behavior.'RuntimeWarningu'Signal the end from iterator.__anext__().'StopAsyncIterationu'Signal the end from iterator.__next__().'valueStopIterationu'Base class for warnings about dubious syntax.'SyntaxWarningu'Internal error in the Python interpreter. + +Please report this to the Python maintainer, along with the traceback, +the Python version, and the hardware/OS platform and version.'SystemErroru'Request to exit from the interpreter.'codeSystemExitu'Improper mixture of spaces and tabs.'TabErroru'Timeout expired.'TimeoutErroru'Local name referenced but not bound to a value.'UnboundLocalErroru'Unicode decoding error.'endreasonstartu'Unicode related error.'u'Inappropriate argument value (of correct type).'ValueErrorUnicodeErrorUnicodeDecodeErroru'Unicode encoding error.'UnicodeEncodeErroru'Unicode translation error.'UnicodeTranslateErroru'Base class for warnings about Unicode related problems, mostly +related to conversion problems.'UnicodeWarningu'Base class for warnings generated by user code.'UserWarningu'Second argument to a division or modulo operation was zero.'ZeroDivisionError__build_class____debug__u'Built-in functions, exceptions, and other objects. + +Noteworthy: None is the `nil' object; Ellipsis represents `...' in slices.'__import__absanyasciibinbreakpoint__alloc__u'bytearray(iterable_of_ints) -> bytearray +bytearray(string, encoding[, errors]) -> bytearray +bytearray(bytes_or_buffer) -> mutable copy of bytes_or_buffer +bytearray(int) -> bytes array of size given by the parameter initialized with null bytes +bytearray() -> empty bytes array + +Construct a mutable bytearray object from: + - an iterable yielding integers in range(256) + - a text string encoded using the specified encoding + - a bytes or a buffer object + - any object implementing the buffer API. + - an integer'bytearraycallablechrcompileu'Create a complex number from a real part and an optional imaginary part. + +This is equivalent to (real + imag*1j) where imag defaults to 0.'complexdelattrdirdivmodu'Return an enumerate object. + + iterable + an object supporting iteration + +The enumerate object yields pairs containing a count (from start, which +defaults to zero) and a value yielded by the iterable argument. + +enumerate is useful for obtaining an indexed list: + (0, seq[0]), (1, seq[1]), (2, seq[2]), ...'enumerateevalexecu'filter(function or None, iterable) --> filter object + +Return an iterator yielding those items of iterable for which function(item) +is true. If function is None, return the items that are true.'filteru'frozenset() -> empty frozenset object +frozenset(iterable) -> frozenset object + +Build an immutable unordered collection of unique elements.'frozensetgetattrhasattrhashidinputisinstanceissubclassiterlenu'map(func, *iterables) --> map object + +Make an iterator that computes the function using arguments from +each of the iterables. Stops when the shortest iterable is exhausted.'mapu'Create a new memoryview object which references the given object.'u'A bool indicating whether the memory is C contiguous.'u'memoryview.c_contiguous'c_contiguouscastu'A bool indicating whether the memory is contiguous.'u'memoryview.contiguous'contiguousu'A bool indicating whether the memory is Fortran contiguous.'u'memoryview.f_contiguous'f_contiguousu'A string containing the format (in struct module style) + for each element in the view.'u'memoryview.format'u'The size in bytes of each element of the memoryview.'u'memoryview.itemsize'itemsizeu'The amount of space in bytes that the array would use in + a contiguous representation.'u'memoryview.nbytes'nbytesu'An integer indicating how many dimensions of a multi-dimensional + array the memory represents.'u'memoryview.ndim'ndimu'The underlying object of the memoryview.'u'memoryview.obj'obju'A bool indicating whether the memory is read only.'u'memoryview.readonly'readonlyreleaseu'A tuple of ndim integers giving the shape of the memory + as an N-dimensional array.'u'memoryview.shape'shapeu'A tuple of ndim integers giving the size in bytes to access + each element for each dimension of the array.'u'memoryview.strides'stridesu'A tuple of integers used internally for PIL-style arrays.'u'memoryview.suboffsets'suboffsetstobytestolisttoreadonlymemoryviewnextoctopenordpowprintu'range(stop) -> range object +range(start, stop[, step]) -> range object + +Return an object that produces a sequence of integers from start (inclusive) +to stop (exclusive) by step. range(i, j) produces i, i+1, i+2, ..., j-1. +start defaults to 0, and stop is omitted! range(4) produces 0, 1, 2, 3. +These are exactly the valid indices for a list of 4 elements. +When step is given, it specifies the increment (or decrement).'stepstoprangerepru'Return a reverse iterator over the values of the given sequence.'__length_hint__reversedroundsetattru'slice(stop) +slice(start, stop[, step]) + +Create a slice object. This is used for extended slicing (e.g. a[0:10:2]).'indicesslicesortedstrsumvarsu'zip(*iterables) --> A zip object yielding tuples until an input is exhausted. + + >>> list(zip('abcdefg', range(3), range(4))) + [('a', 0, 0), ('b', 1, 1), ('c', 2, 2)] + +The zip object yields n-length tuples, where n is the number of iterables +passed as positional arguments to zip(). The i-th element in every tuple +comes from the i-th iterable argument to zip(). This continues until the +shortest argument is exhausted.'zipbuiltinsbuiltin_module_3_semmle_unknown_type_semmle_undefined_value$foo"b'foo'u'foo'u'codeql_kernel.tests.db.test'u'codeql_kernel.tests.db'u'codeql_kernel.tests'u'codeql_kernel'u'tests.db.test'u'tests.db'u'tests'u'db.test'u'db'u'test'#‚x‹I \ No newline at end of file diff --git a/tests/codeql_db/db-python/default/pools/1/buckets/info b/tests/codeql_db/db-python/default/pools/1/buckets/info new file mode 100644 index 0000000000000000000000000000000000000000..0111728636533e2c31d7b0489e64f46bcd4d6cf2 Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/1/buckets/info differ diff --git a/tests/codeql_db/db-python/default/pools/1/buckets/page-000000 b/tests/codeql_db/db-python/default/pools/1/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/1/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/pools/1/ids1/info b/tests/codeql_db/db-python/default/pools/1/ids1/info new file mode 100644 index 0000000000000000000000000000000000000000..799471fd4d54d409c98d3b7826deaac67913dc99 Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/1/ids1/info differ diff --git a/tests/codeql_db/db-python/default/pools/1/ids1/page-000000 b/tests/codeql_db/db-python/default/pools/1/ids1/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/1/ids1/page-000000 differ diff --git a/tests/codeql_db/db-python/default/pools/1/indices1/info b/tests/codeql_db/db-python/default/pools/1/indices1/info new file mode 100644 index 0000000000000000000000000000000000000000..799471fd4d54d409c98d3b7826deaac67913dc99 Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/1/indices1/info differ diff --git a/tests/codeql_db/db-python/default/pools/1/indices1/page-000000 b/tests/codeql_db/db-python/default/pools/1/indices1/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/1/indices1/page-000000 differ diff --git a/tests/codeql_db/db-python/default/pools/1/info b/tests/codeql_db/db-python/default/pools/1/info new file mode 100644 index 0000000000000000000000000000000000000000..72a595b3f68e0b6f12a16934471b554853d4ef83 Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/1/info differ diff --git a/tests/codeql_db/db-python/default/pools/1/metadata/info b/tests/codeql_db/db-python/default/pools/1/metadata/info new file mode 100644 index 0000000000000000000000000000000000000000..9cdb710dfd9490f67f5103cbab69eb12829f96b4 Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/1/metadata/info differ diff --git a/tests/codeql_db/db-python/default/pools/1/metadata/page-000000 b/tests/codeql_db/db-python/default/pools/1/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/1/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/pools/1/pageDump/page-000000000 b/tests/codeql_db/db-python/default/pools/1/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..c6556d51e2eab48a3c18fefaacf8a606cd159f6f --- /dev/null +++ b/tests/codeql_db/db-python/default/pools/1/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4b4feafeeb1da14d81e10706fa949f5675af06bc9a25bd3f901ce6758ccaddc +size 1048592 diff --git a/tests/codeql_db/db-python/default/pools/poolInfo b/tests/codeql_db/db-python/default/pools/poolInfo new file mode 100644 index 0000000000000000000000000000000000000000..e9c716bcf0f6949a39c2929aaade1a60c6a19b1b Binary files /dev/null and b/tests/codeql_db/db-python/default/pools/poolInfo differ diff --git a/tests/codeql_db/db-python/default/py_Modules.rel b/tests/codeql_db/db-python/default/py_Modules.rel new file mode 100644 index 0000000000000000000000000000000000000000..ec983104d4122c75a44f2872534ca53270b97599 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_Modules.rel differ diff --git a/tests/codeql_db/db-python/default/py_Modules.rel.checksum b/tests/codeql_db/db-python/default/py_Modules.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..a6c64e721c399d73ecc9f7928bb0875060992158 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_Modules.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_alllines.rel b/tests/codeql_db/db-python/default/py_alllines.rel new file mode 100644 index 0000000000000000000000000000000000000000..9105f84578199da3f8a495f970d1828c26b50c0f Binary files /dev/null and b/tests/codeql_db/db-python/default/py_alllines.rel differ diff --git a/tests/codeql_db/db-python/default/py_alllines.rel.checksum b/tests/codeql_db/db-python/default/py_alllines.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..fcbe83dd2361f9a899b56b48d98594a4f16a1a90 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_alllines.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_citems.rel b/tests/codeql_db/db-python/default/py_citems.rel new file mode 100644 index 0000000000000000000000000000000000000000..dbb7d36d1240c27bb4fc0b4b598fa3eeef9c20f2 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_citems.rel differ diff --git a/tests/codeql_db/db-python/default/py_citems.rel.checksum b/tests/codeql_db/db-python/default/py_citems.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..d3eb7184b050b63ebad03a889e4fa7ea7fd85e92 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_citems.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_cmembers_versioned.rel b/tests/codeql_db/db-python/default/py_cmembers_versioned.rel new file mode 100644 index 0000000000000000000000000000000000000000..865a79317acecdae438181208ab98a2caf3bac85 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_cmembers_versioned.rel differ diff --git a/tests/codeql_db/db-python/default/py_cmembers_versioned.rel.checksum b/tests/codeql_db/db-python/default/py_cmembers_versioned.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..a8548829394512c5a3423b3e5e2e4dfc793e1be7 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_cmembers_versioned.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_cobject_sources.rel b/tests/codeql_db/db-python/default/py_cobject_sources.rel new file mode 100644 index 0000000000000000000000000000000000000000..950f6c40af0c24636920634a43726f939e493de9 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_cobject_sources.rel differ diff --git a/tests/codeql_db/db-python/default/py_cobject_sources.rel.checksum b/tests/codeql_db/db-python/default/py_cobject_sources.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..b3c1d3c90fce9e180f08202bc905fc2ce5640349 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_cobject_sources.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_cobjectnames.rel b/tests/codeql_db/db-python/default/py_cobjectnames.rel new file mode 100644 index 0000000000000000000000000000000000000000..25883f0633fbeb6c0c4b7659b885129138fced98 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_cobjectnames.rel differ diff --git a/tests/codeql_db/db-python/default/py_cobjectnames.rel.checksum b/tests/codeql_db/db-python/default/py_cobjectnames.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..2f5b2c33014691ebafa2b50e63b1f10191fbcc96 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_cobjectnames.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_cobjects.rel b/tests/codeql_db/db-python/default/py_cobjects.rel new file mode 100644 index 0000000000000000000000000000000000000000..297249d575fcb5904b88a5cfa3729a2f114e0c2f Binary files /dev/null and b/tests/codeql_db/db-python/default/py_cobjects.rel differ diff --git a/tests/codeql_db/db-python/default/py_cobjects.rel.checksum b/tests/codeql_db/db-python/default/py_cobjects.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..4007cfc03269584906e6e9754a3537a66f306da8 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_cobjects.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_cobjecttypes.rel b/tests/codeql_db/db-python/default/py_cobjecttypes.rel new file mode 100644 index 0000000000000000000000000000000000000000..6b846a3e1297f290622cac3db020e94986202b24 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_cobjecttypes.rel differ diff --git a/tests/codeql_db/db-python/default/py_cobjecttypes.rel.checksum b/tests/codeql_db/db-python/default/py_cobjecttypes.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..577bf8c6e6a72ac54dba346c3d6a17ead67a649a Binary files /dev/null and b/tests/codeql_db/db-python/default/py_cobjecttypes.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_codelines.rel b/tests/codeql_db/db-python/default/py_codelines.rel new file mode 100644 index 0000000000000000000000000000000000000000..9105f84578199da3f8a495f970d1828c26b50c0f Binary files /dev/null and b/tests/codeql_db/db-python/default/py_codelines.rel differ diff --git a/tests/codeql_db/db-python/default/py_codelines.rel.checksum b/tests/codeql_db/db-python/default/py_codelines.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..fcbe83dd2361f9a899b56b48d98594a4f16a1a90 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_codelines.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_commentlines.rel b/tests/codeql_db/db-python/default/py_commentlines.rel new file mode 100644 index 0000000000000000000000000000000000000000..02aee1e4a09087791bd768301946af51bd21152a Binary files /dev/null and b/tests/codeql_db/db-python/default/py_commentlines.rel differ diff --git a/tests/codeql_db/db-python/default/py_commentlines.rel.checksum b/tests/codeql_db/db-python/default/py_commentlines.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..099360dff5d4202de1d1d04717c818d96c953934 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_commentlines.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_docstringlines.rel b/tests/codeql_db/db-python/default/py_docstringlines.rel new file mode 100644 index 0000000000000000000000000000000000000000..02aee1e4a09087791bd768301946af51bd21152a Binary files /dev/null and b/tests/codeql_db/db-python/default/py_docstringlines.rel differ diff --git a/tests/codeql_db/db-python/default/py_docstringlines.rel.checksum b/tests/codeql_db/db-python/default/py_docstringlines.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..099360dff5d4202de1d1d04717c818d96c953934 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_docstringlines.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_expr_contexts.rel b/tests/codeql_db/db-python/default/py_expr_contexts.rel new file mode 100644 index 0000000000000000000000000000000000000000..19b2857c7a5629948e56630edfb428e612f75ff1 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_expr_contexts.rel differ diff --git a/tests/codeql_db/db-python/default/py_expr_contexts.rel.checksum b/tests/codeql_db/db-python/default/py_expr_contexts.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..458f2e4a96bd6a8f2a9cc2b7ff2e182153d574da Binary files /dev/null and b/tests/codeql_db/db-python/default/py_expr_contexts.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_expr_lists.rel b/tests/codeql_db/db-python/default/py_expr_lists.rel new file mode 100644 index 0000000000000000000000000000000000000000..4a62cfb15a5e2d85e36654a517097c5f5eea1d95 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_expr_lists.rel differ diff --git a/tests/codeql_db/db-python/default/py_expr_lists.rel.checksum b/tests/codeql_db/db-python/default/py_expr_lists.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..12ffec9d843e5fb786a130f7bd68519ae16c2062 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_expr_lists.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_exprs.rel b/tests/codeql_db/db-python/default/py_exprs.rel new file mode 100644 index 0000000000000000000000000000000000000000..50165da660c72753388b562279fba6ca57569710 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_exprs.rel differ diff --git a/tests/codeql_db/db-python/default/py_exprs.rel.checksum b/tests/codeql_db/db-python/default/py_exprs.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..22af8a752eee98ea429318e106169ea04a52222d Binary files /dev/null and b/tests/codeql_db/db-python/default/py_exprs.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_extracted_version.rel b/tests/codeql_db/db-python/default/py_extracted_version.rel new file mode 100644 index 0000000000000000000000000000000000000000..efe45e91c3096612e15d2adb7ee81a1fc338d8ee Binary files /dev/null and b/tests/codeql_db/db-python/default/py_extracted_version.rel differ diff --git a/tests/codeql_db/db-python/default/py_extracted_version.rel.checksum b/tests/codeql_db/db-python/default/py_extracted_version.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..4540341b0a2da35ff45f7a2cd609200d8c436c8a Binary files /dev/null and b/tests/codeql_db/db-python/default/py_extracted_version.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_flags_versioned.rel b/tests/codeql_db/db-python/default/py_flags_versioned.rel new file mode 100644 index 0000000000000000000000000000000000000000..26257e6a4d36a9b222af2cd98984937779e56d96 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_flags_versioned.rel differ diff --git a/tests/codeql_db/db-python/default/py_flags_versioned.rel.checksum b/tests/codeql_db/db-python/default/py_flags_versioned.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..3f0e2bf00ac5bcf73d830d9866d0abefe1fc44f6 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_flags_versioned.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_flow_bb_node.rel b/tests/codeql_db/db-python/default/py_flow_bb_node.rel new file mode 100644 index 0000000000000000000000000000000000000000..7a0e35cadad8a338f614bfbec6140694839b188f Binary files /dev/null and b/tests/codeql_db/db-python/default/py_flow_bb_node.rel differ diff --git a/tests/codeql_db/db-python/default/py_flow_bb_node.rel.checksum b/tests/codeql_db/db-python/default/py_flow_bb_node.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..624c8143ac1b2000513254b40a20faf09ffcb28c Binary files /dev/null and b/tests/codeql_db/db-python/default/py_flow_bb_node.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_idoms.rel b/tests/codeql_db/db-python/default/py_idoms.rel new file mode 100644 index 0000000000000000000000000000000000000000..ae01154a49b439470bb3309b1d677592b0feec1a Binary files /dev/null and b/tests/codeql_db/db-python/default/py_idoms.rel differ diff --git a/tests/codeql_db/db-python/default/py_idoms.rel.checksum b/tests/codeql_db/db-python/default/py_idoms.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..21be3c86cb092fc8749b23e4c53157027a95b21e Binary files /dev/null and b/tests/codeql_db/db-python/default/py_idoms.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_locations.rel b/tests/codeql_db/db-python/default/py_locations.rel new file mode 100644 index 0000000000000000000000000000000000000000..74e4033ca296a4a95b8fe2f81102a5ef35390f4f Binary files /dev/null and b/tests/codeql_db/db-python/default/py_locations.rel differ diff --git a/tests/codeql_db/db-python/default/py_locations.rel.checksum b/tests/codeql_db/db-python/default/py_locations.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..dbdf54ce0dbceee35e0e29d997360fa8af9ded14 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_locations.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_module_path.rel b/tests/codeql_db/db-python/default/py_module_path.rel new file mode 100644 index 0000000000000000000000000000000000000000..02aee1e4a09087791bd768301946af51bd21152a Binary files /dev/null and b/tests/codeql_db/db-python/default/py_module_path.rel differ diff --git a/tests/codeql_db/db-python/default/py_module_path.rel.checksum b/tests/codeql_db/db-python/default/py_module_path.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..099360dff5d4202de1d1d04717c818d96c953934 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_module_path.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_scope_flow.rel b/tests/codeql_db/db-python/default/py_scope_flow.rel new file mode 100644 index 0000000000000000000000000000000000000000..6eae82a5c68dd8dddc965aa2c804dcce80569e99 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_scope_flow.rel differ diff --git a/tests/codeql_db/db-python/default/py_scope_flow.rel.checksum b/tests/codeql_db/db-python/default/py_scope_flow.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..6a17a28ada9ef48491f4c08fe70f76a8a9e78280 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_scope_flow.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_scope_location.rel b/tests/codeql_db/db-python/default/py_scope_location.rel new file mode 100644 index 0000000000000000000000000000000000000000..56c68eeaa34f0772f4a4e1146dd40e51d69dc194 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_scope_location.rel differ diff --git a/tests/codeql_db/db-python/default/py_scope_location.rel.checksum b/tests/codeql_db/db-python/default/py_scope_location.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..33f2acb1fbce239a29255f6bfe847e8f1edcc9e9 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_scope_location.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_scopes.rel b/tests/codeql_db/db-python/default/py_scopes.rel new file mode 100644 index 0000000000000000000000000000000000000000..83c881028d6069bc6f139bfc7e90c3e997094d36 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_scopes.rel differ diff --git a/tests/codeql_db/db-python/default/py_scopes.rel.checksum b/tests/codeql_db/db-python/default/py_scopes.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..575e79c85c4b51e78d92cfe2ac2892af05c804e5 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_scopes.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_special_objects.rel b/tests/codeql_db/db-python/default/py_special_objects.rel new file mode 100644 index 0000000000000000000000000000000000000000..ea17ded075d17ee66da3f48bbcbba9734da46123 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_special_objects.rel differ diff --git a/tests/codeql_db/db-python/default/py_special_objects.rel.checksum b/tests/codeql_db/db-python/default/py_special_objects.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..40bc30dfa8c96694dd806afa2da7692f0242dfde Binary files /dev/null and b/tests/codeql_db/db-python/default/py_special_objects.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_ssa_use.rel b/tests/codeql_db/db-python/default/py_ssa_use.rel new file mode 100644 index 0000000000000000000000000000000000000000..4af459e370620e163199fd748db75ff987c72bf8 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_ssa_use.rel differ diff --git a/tests/codeql_db/db-python/default/py_ssa_use.rel.checksum b/tests/codeql_db/db-python/default/py_ssa_use.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..c1fda1b46165a005f46c65022265d26b75b0dc94 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_ssa_use.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_ssa_var.rel b/tests/codeql_db/db-python/default/py_ssa_var.rel new file mode 100644 index 0000000000000000000000000000000000000000..3e282a3203598b5fefc789804c8b50f5591d1a29 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_ssa_var.rel differ diff --git a/tests/codeql_db/db-python/default/py_ssa_var.rel.checksum b/tests/codeql_db/db-python/default/py_ssa_var.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..38ea55a4d267cf06d2a00b6f8843df46ef8e4150 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_ssa_var.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_stmt_lists.rel b/tests/codeql_db/db-python/default/py_stmt_lists.rel new file mode 100644 index 0000000000000000000000000000000000000000..8a795435ae16cc57f2ba2c9d7d5469c5a2e8dc87 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_stmt_lists.rel differ diff --git a/tests/codeql_db/db-python/default/py_stmt_lists.rel.checksum b/tests/codeql_db/db-python/default/py_stmt_lists.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..e7ae9de56d3be09460737a1773b9a6abc023823a Binary files /dev/null and b/tests/codeql_db/db-python/default/py_stmt_lists.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_stmts.rel b/tests/codeql_db/db-python/default/py_stmts.rel new file mode 100644 index 0000000000000000000000000000000000000000..a263f19f61fabcb9b6982c7a57f5e9e72acb25f5 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_stmts.rel differ diff --git a/tests/codeql_db/db-python/default/py_stmts.rel.checksum b/tests/codeql_db/db-python/default/py_stmts.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..4b9412b56939906ccf13e595b4d69f12a3074eff Binary files /dev/null and b/tests/codeql_db/db-python/default/py_stmts.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_strs.rel b/tests/codeql_db/db-python/default/py_strs.rel new file mode 100644 index 0000000000000000000000000000000000000000..aba536c944dff56ea51a3dcf54f321b85315823c Binary files /dev/null and b/tests/codeql_db/db-python/default/py_strs.rel differ diff --git a/tests/codeql_db/db-python/default/py_strs.rel.checksum b/tests/codeql_db/db-python/default/py_strs.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..2a3b0421805a3ab18bddbbbbc517362ebe69a9f0 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_strs.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_successors.rel b/tests/codeql_db/db-python/default/py_successors.rel new file mode 100644 index 0000000000000000000000000000000000000000..a2cef173e13f2b4adfe3f0ac2ac96a47c61d4005 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_successors.rel differ diff --git a/tests/codeql_db/db-python/default/py_successors.rel.checksum b/tests/codeql_db/db-python/default/py_successors.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..2fa8621be8b657bda0b51fd934e2492fd2ab96fc Binary files /dev/null and b/tests/codeql_db/db-python/default/py_successors.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/py_variables.rel b/tests/codeql_db/db-python/default/py_variables.rel new file mode 100644 index 0000000000000000000000000000000000000000..028e49ad2388a4193dad1bdaf5a827557626509a Binary files /dev/null and b/tests/codeql_db/db-python/default/py_variables.rel differ diff --git a/tests/codeql_db/db-python/default/py_variables.rel.checksum b/tests/codeql_db/db-python/default/py_variables.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..5392c01e61d3a1faf873ae1f702ea6dfea63a627 Binary files /dev/null and b/tests/codeql_db/db-python/default/py_variables.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/sourceLocationPrefix.rel b/tests/codeql_db/db-python/default/sourceLocationPrefix.rel new file mode 100644 index 0000000000000000000000000000000000000000..720d64f4baafc33efdf971f02084aca5f25b34a5 Binary files /dev/null and b/tests/codeql_db/db-python/default/sourceLocationPrefix.rel differ diff --git a/tests/codeql_db/db-python/default/sourceLocationPrefix.rel.checksum b/tests/codeql_db/db-python/default/sourceLocationPrefix.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..c7704aa3482aaf78913dfb092fa6012f2e14e373 Binary files /dev/null and b/tests/codeql_db/db-python/default/sourceLocationPrefix.rel.checksum differ diff --git a/tests/codeql_db/db-python/default/strings/0/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/0/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/0/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/0/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/0/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/0/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/0/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/0/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/0/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/1/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/1/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/1/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/1/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/1/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/1/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/1/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/1/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/1/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/10/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/10/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/10/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/10/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/10/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/10/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/10/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/10/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/10/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/11/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/11/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/11/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/11/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/11/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/11/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/11/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/11/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/11/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/12/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/12/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/12/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/12/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/12/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/12/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/12/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/12/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/12/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/13/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/13/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/13/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/13/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/13/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/13/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/13/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/13/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/13/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/14/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/14/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/14/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/14/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/14/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/14/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/14/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/14/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/14/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/15/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/15/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/15/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/15/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/15/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/15/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/15/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/15/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/15/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/16/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/16/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/16/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/16/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/16/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/16/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/16/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/16/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/16/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/17/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/17/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/17/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/17/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/17/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/17/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/17/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/17/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/17/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/18/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/18/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/18/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/18/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/18/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/18/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/18/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/18/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/18/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/2/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/2/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/2/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/2/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/2/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/2/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/2/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/2/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/2/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/3/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/3/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/3/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/3/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/3/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/3/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/3/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/3/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/3/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/4/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/4/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/4/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/4/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/4/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/4/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/4/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/4/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/4/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/5/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/5/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/5/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/5/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/5/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/5/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/5/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/5/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/5/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/6/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/6/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/6/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/6/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/6/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/6/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/6/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/6/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/6/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/7/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/7/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/7/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/7/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/7/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/7/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/7/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/7/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/7/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/8/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/8/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/8/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/8/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/8/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/8/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/8/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/8/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/8/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/strings/9/buckets/page-000000 b/tests/codeql_db/db-python/default/strings/9/buckets/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/9/buckets/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/9/metadata/page-000000 b/tests/codeql_db/db-python/default/strings/9/metadata/page-000000 new file mode 100644 index 0000000000000000000000000000000000000000..6d17cf9d15fb9f4a2358a2d079f3b8c755d005fa Binary files /dev/null and b/tests/codeql_db/db-python/default/strings/9/metadata/page-000000 differ diff --git a/tests/codeql_db/db-python/default/strings/9/pageDump/page-000000000 b/tests/codeql_db/db-python/default/strings/9/pageDump/page-000000000 new file mode 100644 index 0000000000000000000000000000000000000000..f137446919cc212812a47b616eea1963e2367b01 --- /dev/null +++ b/tests/codeql_db/db-python/default/strings/9/pageDump/page-000000000 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a86ee907205f2af34454484ed36c48579b7ca92e1f80b3d4df208a2f9e620fc5 +size 1048592 diff --git a/tests/codeql_db/db-python/default/variable.rel b/tests/codeql_db/db-python/default/variable.rel new file mode 100644 index 0000000000000000000000000000000000000000..64330bf08650121e827a21fce16328f97657e66a Binary files /dev/null and b/tests/codeql_db/db-python/default/variable.rel differ diff --git a/tests/codeql_db/db-python/default/variable.rel.checksum b/tests/codeql_db/db-python/default/variable.rel.checksum new file mode 100644 index 0000000000000000000000000000000000000000..2d5ce66ab1dde6b368346be51ac2fefb3909c67e Binary files /dev/null and b/tests/codeql_db/db-python/default/variable.rel.checksum differ diff --git a/tests/codeql_db/db-python/semmlecode.python.dbscheme b/tests/codeql_db/db-python/semmlecode.python.dbscheme new file mode 100644 index 0000000000000000000000000000000000000000..503c0516fba2e5da9570f00eb34ef43025ecb8fb --- /dev/null +++ b/tests/codeql_db/db-python/semmlecode.python.dbscheme @@ -0,0 +1,1100 @@ +/* + * This dbscheme is auto-generated by 'semmle/dbscheme_gen.py'. + * WARNING: Any modifications to this file will be lost. + * Relations can be changed by modifying master.py or + * by adding rules to dbscheme.template + */ + +/* This is a dummy line to alter the dbscheme, so we can make a database upgrade + * without actually changing any of the dbscheme predicates. It contains a date + * to allow for such updates in the future as well. + * + * 2020-07-02 + * + * DO NOT remove this comment carelessly, since it can revert the dbscheme back to a + * previously seen state (matching a previously seen SHA), which would make the upgrade + * mechanism not work properly. + */ + + /* + * External artifacts + */ + +externalDefects( + unique int id : @externalDefect, + varchar(900) queryPath : string ref, + int location : @location ref, + varchar(900) message : string ref, + float severity : float ref +); + +externalMetrics( + unique int id : @externalMetric, + varchar(900) queryPath : string ref, + int location : @location ref, + float value : float ref +); + +externalData( + int id : @externalDataElement, + varchar(900) queryPath : string ref, + int column: int ref, + varchar(900) data : string ref +); + +snapshotDate(unique date snapshotDate : date ref); + +sourceLocationPrefix(varchar(900) prefix : string ref); + + +/* + * Duplicate code + */ + +duplicateCode( + unique int id : @duplication, + varchar(900) relativePath : string ref, + int equivClass : int ref); + +similarCode( + unique int id : @similarity, + varchar(900) relativePath : string ref, + int equivClass : int ref); + +@duplication_or_similarity = @duplication | @similarity + +tokens( + int id : @duplication_or_similarity ref, + int offset : int ref, + int beginLine : int ref, + int beginColumn : int ref, + int endLine : int ref, + int endColumn : int ref); + +/* + * Line metrics + */ +py_codelines(int id : @py_scope ref, + int count : int ref); + +py_commentlines(int id : @py_scope ref, + int count : int ref); + +py_docstringlines(int id : @py_scope ref, + int count : int ref); + +py_alllines(int id : @py_scope ref, + int count : int ref); + +/* + * Version history + */ + +svnentries( + int id : @svnentry, + varchar(500) revision : string ref, + varchar(500) author : string ref, + date revisionDate : date ref, + int changeSize : int ref +) + +svnaffectedfiles( + int id : @svnentry ref, + int file : @file ref, + varchar(500) action : string ref +) + +svnentrymsg( + int id : @svnentry ref, + varchar(500) message : string ref +) + +svnchurn( + int commit : @svnentry ref, + int file : @file ref, + int addedLines : int ref, + int deletedLines : int ref +) + +/**************************** + Python dbscheme +****************************/ + +files(unique int id: @file, + varchar(900) name: string ref); + +folders(unique int id: @folder, + varchar(900) name: string ref); + +@container = @folder | @file; + +containerparent(int parent: @container ref, + unique int child: @container ref); + +@sourceline = @file | @py_Module | @xmllocatable; + +numlines(int element_id: @sourceline ref, + int num_lines: int ref, + int num_code: int ref, + int num_comment: int ref + ); + +@location = @location_ast | @location_default ; + +locations_default(unique int id: @location_default, + int file: @file ref, + int beginLine: int ref, + int beginColumn: int ref, + int endLine: int ref, + int endColumn: int ref); + +locations_ast(unique int id: @location_ast, + int module: @py_Module ref, + int beginLine: int ref, + int beginColumn: int ref, + int endLine: int ref, + int endColumn: int ref); + +file_contents(unique int file: @file ref, string contents: string ref); + +py_module_path(int module: @py_Module ref, int file: @container ref); + +variable(unique int id : @py_variable, + int scope : @py_scope ref, + varchar(1) name : string ref); + +py_line_lengths(unique int id : @py_line, + int file: @py_Module ref, + int line : int ref, + int length : int ref); + +py_extracted_version(int module : @py_Module ref, + varchar(1) version : string ref); + +/* AUTO GENERATED PART STARTS HERE */ + + +/* AnnAssign.location = 0, location */ +/* AnnAssign.value = 1, expr */ +/* AnnAssign.annotation = 2, expr */ +/* AnnAssign.target = 3, expr */ + +/* Assert.location = 0, location */ +/* Assert.test = 1, expr */ +/* Assert.msg = 2, expr */ + +/* Assign.location = 0, location */ +/* Assign.value = 1, expr */ +/* Assign.targets = 2, expr_list */ + +/* AssignExpr.location = 0, location */ +/* AssignExpr.parenthesised = 1, bool */ +/* AssignExpr.value = 2, expr */ +/* AssignExpr.target = 3, expr */ + +/* Attribute.location = 0, location */ +/* Attribute.parenthesised = 1, bool */ +/* Attribute.value = 2, expr */ +/* Attribute.attr = 3, str */ +/* Attribute.ctx = 4, expr_context */ + +/* AugAssign.location = 0, location */ +/* AugAssign.operation = 1, BinOp */ + +/* Await.location = 0, location */ +/* Await.parenthesised = 1, bool */ +/* Await.value = 2, expr */ + +/* BinaryExpr.location = 0, location */ +/* BinaryExpr.parenthesised = 1, bool */ +/* BinaryExpr.left = 2, expr */ +/* BinaryExpr.op = 3, operator */ +/* BinaryExpr.right = 4, expr */ +/* BinaryExpr = AugAssign */ + +/* BoolExpr.location = 0, location */ +/* BoolExpr.parenthesised = 1, bool */ +/* BoolExpr.op = 2, boolop */ +/* BoolExpr.values = 3, expr_list */ + +/* Break.location = 0, location */ + +/* Bytes.location = 0, location */ +/* Bytes.parenthesised = 1, bool */ +/* Bytes.s = 2, bytes */ +/* Bytes.prefix = 3, bytes */ +/* Bytes.implicitly_concatenated_parts = 4, StringPart_list */ + +/* Call.location = 0, location */ +/* Call.parenthesised = 1, bool */ +/* Call.func = 2, expr */ +/* Call.positional_args = 3, expr_list */ +/* Call.named_args = 4, dict_item_list */ + +/* Case.location = 0, location */ +/* Case.pattern = 1, pattern */ +/* Case.guard = 2, expr */ +/* Case.body = 3, stmt_list */ + +/* Class.name = 0, str */ +/* Class.body = 1, stmt_list */ +/* Class = ClassExpr */ + +/* ClassExpr.location = 0, location */ +/* ClassExpr.parenthesised = 1, bool */ +/* ClassExpr.name = 2, str */ +/* ClassExpr.bases = 3, expr_list */ +/* ClassExpr.keywords = 4, dict_item_list */ +/* ClassExpr.inner_scope = 5, Class */ + +/* Compare.location = 0, location */ +/* Compare.parenthesised = 1, bool */ +/* Compare.left = 2, expr */ +/* Compare.ops = 3, cmpop_list */ +/* Compare.comparators = 4, expr_list */ + +/* Continue.location = 0, location */ + +/* Delete.location = 0, location */ +/* Delete.targets = 1, expr_list */ + +/* Dict.location = 0, location */ +/* Dict.parenthesised = 1, bool */ +/* Dict.items = 2, dict_item_list */ + +/* DictComp.location = 0, location */ +/* DictComp.parenthesised = 1, bool */ +/* DictComp.function = 2, Function */ +/* DictComp.iterable = 3, expr */ + +/* DictUnpacking.location = 0, location */ +/* DictUnpacking.value = 1, expr */ + +/* Ellipsis.location = 0, location */ +/* Ellipsis.parenthesised = 1, bool */ + +/* ExceptStmt.location = 0, location */ +/* ExceptStmt.type = 1, expr */ +/* ExceptStmt.name = 2, expr */ +/* ExceptStmt.body = 3, stmt_list */ + +/* Exec.location = 0, location */ +/* Exec.body = 1, expr */ +/* Exec.globals = 2, expr */ +/* Exec.locals = 3, expr */ + +/* ExprStmt.location = 0, location */ +/* ExprStmt.value = 1, expr */ + +/* Filter.location = 0, location */ +/* Filter.parenthesised = 1, bool */ +/* Filter.value = 2, expr */ +/* Filter.filter = 3, expr */ + +/* For.location = 0, location */ +/* For.target = 1, expr */ +/* For.iter = 2, expr */ +/* For.body = 3, stmt_list */ +/* For.orelse = 4, stmt_list */ +/* For.is_async = 5, bool */ + +/* FormattedValue.location = 0, location */ +/* FormattedValue.parenthesised = 1, bool */ +/* FormattedValue.value = 2, expr */ +/* FormattedValue.conversion = 3, str */ +/* FormattedValue.format_spec = 4, JoinedStr */ + +/* Function.name = 0, str */ +/* Function.args = 1, parameter_list */ +/* Function.vararg = 2, expr */ +/* Function.kwonlyargs = 3, expr_list */ +/* Function.kwarg = 4, expr */ +/* Function.body = 5, stmt_list */ +/* Function.is_async = 6, bool */ +/* Function = FunctionParent */ + +/* FunctionExpr.location = 0, location */ +/* FunctionExpr.parenthesised = 1, bool */ +/* FunctionExpr.name = 2, str */ +/* FunctionExpr.args = 3, arguments */ +/* FunctionExpr.returns = 4, expr */ +/* FunctionExpr.inner_scope = 5, Function */ + +/* GeneratorExp.location = 0, location */ +/* GeneratorExp.parenthesised = 1, bool */ +/* GeneratorExp.function = 2, Function */ +/* GeneratorExp.iterable = 3, expr */ + +/* Global.location = 0, location */ +/* Global.names = 1, str_list */ + +/* Guard.location = 0, location */ +/* Guard.parenthesised = 1, bool */ +/* Guard.test = 2, expr */ + +/* If.location = 0, location */ +/* If.test = 1, expr */ +/* If.body = 2, stmt_list */ +/* If.orelse = 3, stmt_list */ + +/* IfExp.location = 0, location */ +/* IfExp.parenthesised = 1, bool */ +/* IfExp.test = 2, expr */ +/* IfExp.body = 3, expr */ +/* IfExp.orelse = 4, expr */ + +/* Import.location = 0, location */ +/* Import.names = 1, alias_list */ + +/* ImportExpr.location = 0, location */ +/* ImportExpr.parenthesised = 1, bool */ +/* ImportExpr.level = 2, int */ +/* ImportExpr.name = 3, str */ +/* ImportExpr.top = 4, bool */ + +/* ImportStar.location = 0, location */ +/* ImportStar.module = 1, expr */ + +/* ImportMember.location = 0, location */ +/* ImportMember.parenthesised = 1, bool */ +/* ImportMember.module = 2, expr */ +/* ImportMember.name = 3, str */ + +/* Fstring.location = 0, location */ +/* Fstring.parenthesised = 1, bool */ +/* Fstring.values = 2, expr_list */ +/* Fstring = FormattedValue */ + +/* KeyValuePair.location = 0, location */ +/* KeyValuePair.value = 1, expr */ +/* KeyValuePair.key = 2, expr */ + +/* Lambda.location = 0, location */ +/* Lambda.parenthesised = 1, bool */ +/* Lambda.args = 2, arguments */ +/* Lambda.inner_scope = 3, Function */ + +/* List.location = 0, location */ +/* List.parenthesised = 1, bool */ +/* List.elts = 2, expr_list */ +/* List.ctx = 3, expr_context */ + +/* ListComp.location = 0, location */ +/* ListComp.parenthesised = 1, bool */ +/* ListComp.function = 2, Function */ +/* ListComp.iterable = 3, expr */ +/* ListComp.generators = 4, comprehension_list */ +/* ListComp.elt = 5, expr */ + +/* MatchStmt.location = 0, location */ +/* MatchStmt.subject = 1, expr */ +/* MatchStmt.cases = 2, stmt_list */ + +/* MatchAsPattern.location = 0, location */ +/* MatchAsPattern.parenthesised = 1, bool */ +/* MatchAsPattern.pattern = 2, pattern */ +/* MatchAsPattern.alias = 3, expr */ + +/* MatchCapturePattern.location = 0, location */ +/* MatchCapturePattern.parenthesised = 1, bool */ +/* MatchCapturePattern.variable = 2, expr */ + +/* MatchClassPattern.location = 0, location */ +/* MatchClassPattern.parenthesised = 1, bool */ +/* MatchClassPattern.class = 2, expr */ +/* MatchClassPattern.class_name = 3, expr */ +/* MatchClassPattern.positional = 4, pattern_list */ +/* MatchClassPattern.keyword = 5, pattern_list */ + +/* MatchDoubleStarPattern.location = 0, location */ +/* MatchDoubleStarPattern.parenthesised = 1, bool */ +/* MatchDoubleStarPattern.target = 2, pattern */ + +/* MatchKeyValuePattern.location = 0, location */ +/* MatchKeyValuePattern.parenthesised = 1, bool */ +/* MatchKeyValuePattern.key = 2, pattern */ +/* MatchKeyValuePattern.value = 3, pattern */ + +/* MatchKeywordPattern.location = 0, location */ +/* MatchKeywordPattern.parenthesised = 1, bool */ +/* MatchKeywordPattern.attribute = 2, expr */ +/* MatchKeywordPattern.value = 3, pattern */ + +/* MatchLiteralPattern.location = 0, location */ +/* MatchLiteralPattern.parenthesised = 1, bool */ +/* MatchLiteralPattern.literal = 2, expr */ + +/* MatchMappingPattern.location = 0, location */ +/* MatchMappingPattern.parenthesised = 1, bool */ +/* MatchMappingPattern.mappings = 2, pattern_list */ + +/* MatchOrPattern.location = 0, location */ +/* MatchOrPattern.parenthesised = 1, bool */ +/* MatchOrPattern.patterns = 2, pattern_list */ + +/* MatchSequencePattern.location = 0, location */ +/* MatchSequencePattern.parenthesised = 1, bool */ +/* MatchSequencePattern.patterns = 2, pattern_list */ + +/* MatchStarPattern.location = 0, location */ +/* MatchStarPattern.parenthesised = 1, bool */ +/* MatchStarPattern.target = 2, pattern */ + +/* MatchValuePattern.location = 0, location */ +/* MatchValuePattern.parenthesised = 1, bool */ +/* MatchValuePattern.value = 2, expr */ + +/* MatchWildcardPattern.location = 0, location */ +/* MatchWildcardPattern.parenthesised = 1, bool */ + +/* Module.name = 0, str */ +/* Module.hash = 1, str */ +/* Module.body = 2, stmt_list */ +/* Module.kind = 3, str */ + +/* Name.location = 0, location */ +/* Name.parenthesised = 1, bool */ +/* Name.variable = 2, variable */ +/* Name.ctx = 3, expr_context */ +/* Name = ParameterList */ + +/* Nonlocal.location = 0, location */ +/* Nonlocal.names = 1, str_list */ + +/* Num.location = 0, location */ +/* Num.parenthesised = 1, bool */ +/* Num.n = 2, number */ +/* Num.text = 3, number */ + +/* Pass.location = 0, location */ + +/* PlaceHolder.location = 0, location */ +/* PlaceHolder.parenthesised = 1, bool */ +/* PlaceHolder.variable = 2, variable */ +/* PlaceHolder.ctx = 3, expr_context */ + +/* Print.location = 0, location */ +/* Print.dest = 1, expr */ +/* Print.values = 2, expr_list */ +/* Print.nl = 3, bool */ + +/* Raise.location = 0, location */ +/* Raise.exc = 1, expr */ +/* Raise.cause = 2, expr */ +/* Raise.type = 3, expr */ +/* Raise.inst = 4, expr */ +/* Raise.tback = 5, expr */ + +/* Repr.location = 0, location */ +/* Repr.parenthesised = 1, bool */ +/* Repr.value = 2, expr */ + +/* Return.location = 0, location */ +/* Return.value = 1, expr */ + +/* Set.location = 0, location */ +/* Set.parenthesised = 1, bool */ +/* Set.elts = 2, expr_list */ + +/* SetComp.location = 0, location */ +/* SetComp.parenthesised = 1, bool */ +/* SetComp.function = 2, Function */ +/* SetComp.iterable = 3, expr */ + +/* Slice.location = 0, location */ +/* Slice.parenthesised = 1, bool */ +/* Slice.start = 2, expr */ +/* Slice.stop = 3, expr */ +/* Slice.step = 4, expr */ + +/* SpecialOperation.location = 0, location */ +/* SpecialOperation.parenthesised = 1, bool */ +/* SpecialOperation.name = 2, str */ +/* SpecialOperation.arguments = 3, expr_list */ + +/* Starred.location = 0, location */ +/* Starred.parenthesised = 1, bool */ +/* Starred.value = 2, expr */ +/* Starred.ctx = 3, expr_context */ + +/* Str.location = 0, location */ +/* Str.parenthesised = 1, bool */ +/* Str.s = 2, str */ +/* Str.prefix = 3, str */ +/* Str.implicitly_concatenated_parts = 4, StringPart_list */ + +/* StringPart.text = 0, str */ +/* StringPart.location = 1, location */ +/* StringPart = StringPartList */ +/* StringPartList = BytesOrStr */ + +/* Subscript.location = 0, location */ +/* Subscript.parenthesised = 1, bool */ +/* Subscript.value = 2, expr */ +/* Subscript.index = 3, expr */ +/* Subscript.ctx = 4, expr_context */ + +/* TemplateDottedNotation.location = 0, location */ +/* TemplateDottedNotation.parenthesised = 1, bool */ +/* TemplateDottedNotation.value = 2, expr */ +/* TemplateDottedNotation.attr = 3, str */ +/* TemplateDottedNotation.ctx = 4, expr_context */ + +/* TemplateWrite.location = 0, location */ +/* TemplateWrite.value = 1, expr */ + +/* Try.location = 0, location */ +/* Try.body = 1, stmt_list */ +/* Try.orelse = 2, stmt_list */ +/* Try.handlers = 3, stmt_list */ +/* Try.finalbody = 4, stmt_list */ + +/* Tuple.location = 0, location */ +/* Tuple.parenthesised = 1, bool */ +/* Tuple.elts = 2, expr_list */ +/* Tuple.ctx = 3, expr_context */ +/* Tuple = ParameterList */ + +/* UnaryExpr.location = 0, location */ +/* UnaryExpr.parenthesised = 1, bool */ +/* UnaryExpr.op = 2, unaryop */ +/* UnaryExpr.operand = 3, expr */ + +/* While.location = 0, location */ +/* While.test = 1, expr */ +/* While.body = 2, stmt_list */ +/* While.orelse = 3, stmt_list */ + +/* With.location = 0, location */ +/* With.context_expr = 1, expr */ +/* With.optional_vars = 2, expr */ +/* With.body = 3, stmt_list */ +/* With.is_async = 4, bool */ + +/* Yield.location = 0, location */ +/* Yield.parenthesised = 1, bool */ +/* Yield.value = 2, expr */ + +/* YieldFrom.location = 0, location */ +/* YieldFrom.parenthesised = 1, bool */ +/* YieldFrom.value = 2, expr */ + +/* Alias.value = 0, expr */ +/* Alias.asname = 1, expr */ +/* Alias = AliasList */ +/* AliasList = Import */ + +/* Arguments.kw_defaults = 0, expr_list */ +/* Arguments.defaults = 1, expr_list */ +/* Arguments.annotations = 2, expr_list */ +/* Arguments.varargannotation = 3, expr */ +/* Arguments.kwargannotation = 4, expr */ +/* Arguments.kw_annotations = 5, expr_list */ +/* Arguments = ArgumentsParent */ +/* boolean = BoolParent */ +/* Boolop = BoolExpr */ +/* string = Bytes */ +/* Cmpop = CmpopList */ +/* CmpopList = Compare */ + +/* Comprehension.location = 0, location */ +/* Comprehension.iter = 1, expr */ +/* Comprehension.target = 2, expr */ +/* Comprehension.ifs = 3, expr_list */ +/* Comprehension = ComprehensionList */ +/* ComprehensionList = ListComp */ +/* DictItem = DictItemList */ +/* DictItemList = DictItemListParent */ + +/* Expr.location = 0, location */ +/* Expr.parenthesised = 1, bool */ +/* Expr = ExprParent */ +/* ExprContext = ExprContextParent */ +/* ExprList = ExprListParent */ +/* int = ImportExpr */ + +/* Keyword.location = 0, location */ +/* Keyword.value = 1, expr */ +/* Keyword.arg = 2, str */ +/* Location = LocationParent */ +/* string = Num */ +/* Operator = BinaryExpr */ +/* ParameterList = Function */ + +/* Pattern.location = 0, location */ +/* Pattern.parenthesised = 1, bool */ +/* Pattern = PatternParent */ +/* PatternList = PatternListParent */ + +/* Stmt.location = 0, location */ +/* Stmt = StmtList */ +/* StmtList = StmtListParent */ +/* string = StrParent */ +/* StringList = StrListParent */ +/* Unaryop = UnaryExpr */ +/* Variable = VariableParent */ +py_Classes(unique int id : @py_Class, + unique int parent : @py_ClassExpr ref); + +py_Functions(unique int id : @py_Function, + unique int parent : @py_Function_parent ref); + +py_Modules(unique int id : @py_Module); + +py_StringParts(unique int id : @py_StringPart, + int parent : @py_StringPart_list ref, + int idx : int ref); + +py_StringPart_lists(unique int id : @py_StringPart_list, + unique int parent : @py_Bytes_or_Str ref); + +py_aliases(unique int id : @py_alias, + int parent : @py_alias_list ref, + int idx : int ref); + +py_alias_lists(unique int id : @py_alias_list, + unique int parent : @py_Import ref); + +py_arguments(unique int id : @py_arguments, + unique int parent : @py_arguments_parent ref); + +py_bools(int parent : @py_bool_parent ref, + int idx : int ref); + +py_boolops(unique int id : @py_boolop, + int kind: int ref, + unique int parent : @py_BoolExpr ref); + +py_bytes(varchar(1) id : string ref, + int parent : @py_Bytes ref, + int idx : int ref); + +py_cmpops(unique int id : @py_cmpop, + int kind: int ref, + int parent : @py_cmpop_list ref, + int idx : int ref); + +py_cmpop_lists(unique int id : @py_cmpop_list, + unique int parent : @py_Compare ref); + +py_comprehensions(unique int id : @py_comprehension, + int parent : @py_comprehension_list ref, + int idx : int ref); + +py_comprehension_lists(unique int id : @py_comprehension_list, + unique int parent : @py_ListComp ref); + +py_dict_items(unique int id : @py_dict_item, + int kind: int ref, + int parent : @py_dict_item_list ref, + int idx : int ref); + +py_dict_item_lists(unique int id : @py_dict_item_list, + unique int parent : @py_dict_item_list_parent ref); + +py_exprs(unique int id : @py_expr, + int kind: int ref, + int parent : @py_expr_parent ref, + int idx : int ref); + +py_expr_contexts(unique int id : @py_expr_context, + int kind: int ref, + unique int parent : @py_expr_context_parent ref); + +py_expr_lists(unique int id : @py_expr_list, + int parent : @py_expr_list_parent ref, + int idx : int ref); + +py_ints(int id : int ref, + unique int parent : @py_ImportExpr ref); + +py_locations(unique int id : @location ref, + unique int parent : @py_location_parent ref); + +py_numbers(varchar(1) id : string ref, + int parent : @py_Num ref, + int idx : int ref); + +py_operators(unique int id : @py_operator, + int kind: int ref, + unique int parent : @py_BinaryExpr ref); + +py_parameter_lists(unique int id : @py_parameter_list, + unique int parent : @py_Function ref); + +py_patterns(unique int id : @py_pattern, + int kind: int ref, + int parent : @py_pattern_parent ref, + int idx : int ref); + +py_pattern_lists(unique int id : @py_pattern_list, + int parent : @py_pattern_list_parent ref, + int idx : int ref); + +py_stmts(unique int id : @py_stmt, + int kind: int ref, + int parent : @py_stmt_list ref, + int idx : int ref); + +py_stmt_lists(unique int id : @py_stmt_list, + int parent : @py_stmt_list_parent ref, + int idx : int ref); + +py_strs(varchar(1) id : string ref, + int parent : @py_str_parent ref, + int idx : int ref); + +py_str_lists(unique int id : @py_str_list, + unique int parent : @py_str_list_parent ref); + +py_unaryops(unique int id : @py_unaryop, + int kind: int ref, + unique int parent : @py_UnaryExpr ref); + +py_variables(int id : @py_variable ref, + unique int parent : @py_variable_parent ref); + +case @py_boolop.kind of + 0 = @py_And +| 1 = @py_Or; + +case @py_cmpop.kind of + 0 = @py_Eq +| 1 = @py_Gt +| 2 = @py_GtE +| 3 = @py_In +| 4 = @py_Is +| 5 = @py_IsNot +| 6 = @py_Lt +| 7 = @py_LtE +| 8 = @py_NotEq +| 9 = @py_NotIn; + +case @py_dict_item.kind of + 0 = @py_DictUnpacking +| 1 = @py_KeyValuePair +| 2 = @py_keyword; + +case @py_expr.kind of + 0 = @py_Attribute +| 1 = @py_BinaryExpr +| 2 = @py_BoolExpr +| 3 = @py_Bytes +| 4 = @py_Call +| 5 = @py_ClassExpr +| 6 = @py_Compare +| 7 = @py_Dict +| 8 = @py_DictComp +| 9 = @py_Ellipsis +| 10 = @py_FunctionExpr +| 11 = @py_GeneratorExp +| 12 = @py_IfExp +| 13 = @py_ImportExpr +| 14 = @py_ImportMember +| 15 = @py_Lambda +| 16 = @py_List +| 17 = @py_ListComp +| 18 = @py_Guard +| 19 = @py_Name +| 20 = @py_Num +| 21 = @py_Repr +| 22 = @py_Set +| 23 = @py_SetComp +| 24 = @py_Slice +| 25 = @py_Starred +| 26 = @py_Str +| 27 = @py_Subscript +| 28 = @py_Tuple +| 29 = @py_UnaryExpr +| 30 = @py_Yield +| 31 = @py_YieldFrom +| 32 = @py_TemplateDottedNotation +| 33 = @py_Filter +| 34 = @py_PlaceHolder +| 35 = @py_Await +| 36 = @py_Fstring +| 37 = @py_FormattedValue +| 38 = @py_AssignExpr +| 39 = @py_SpecialOperation; + +case @py_expr_context.kind of + 0 = @py_AugLoad +| 1 = @py_AugStore +| 2 = @py_Del +| 3 = @py_Load +| 4 = @py_Param +| 5 = @py_Store; + +case @py_operator.kind of + 0 = @py_Add +| 1 = @py_BitAnd +| 2 = @py_BitOr +| 3 = @py_BitXor +| 4 = @py_Div +| 5 = @py_FloorDiv +| 6 = @py_LShift +| 7 = @py_Mod +| 8 = @py_Mult +| 9 = @py_Pow +| 10 = @py_RShift +| 11 = @py_Sub +| 12 = @py_MatMult; + +case @py_pattern.kind of + 0 = @py_MatchAsPattern +| 1 = @py_MatchOrPattern +| 2 = @py_MatchLiteralPattern +| 3 = @py_MatchCapturePattern +| 4 = @py_MatchWildcardPattern +| 5 = @py_MatchValuePattern +| 6 = @py_MatchSequencePattern +| 7 = @py_MatchStarPattern +| 8 = @py_MatchMappingPattern +| 9 = @py_MatchDoubleStarPattern +| 10 = @py_MatchKeyValuePattern +| 11 = @py_MatchClassPattern +| 12 = @py_MatchKeywordPattern; + +case @py_stmt.kind of + 0 = @py_Assert +| 1 = @py_Assign +| 2 = @py_AugAssign +| 3 = @py_Break +| 4 = @py_Continue +| 5 = @py_Delete +| 6 = @py_ExceptStmt +| 7 = @py_Exec +| 8 = @py_Expr_stmt +| 9 = @py_For +| 10 = @py_Global +| 11 = @py_If +| 12 = @py_Import +| 13 = @py_ImportStar +| 14 = @py_MatchStmt +| 15 = @py_Case +| 16 = @py_Nonlocal +| 17 = @py_Pass +| 18 = @py_Print +| 19 = @py_Raise +| 20 = @py_Return +| 21 = @py_Try +| 22 = @py_While +| 23 = @py_With +| 24 = @py_TemplateWrite +| 25 = @py_AnnAssign; + +case @py_unaryop.kind of + 0 = @py_Invert +| 1 = @py_Not +| 2 = @py_UAdd +| 3 = @py_USub; + +@py_Bytes_or_Str = @py_Bytes | @py_Str; + +@py_Function_parent = @py_DictComp | @py_FunctionExpr | @py_GeneratorExp | @py_Lambda | @py_ListComp | @py_SetComp; + +@py_arguments_parent = @py_FunctionExpr | @py_Lambda; + +@py_ast_node = @py_Class | @py_Function | @py_Module | @py_StringPart | @py_comprehension | @py_dict_item | @py_expr | @py_pattern | @py_stmt; + +@py_bool_parent = @py_For | @py_Function | @py_Print | @py_With | @py_expr | @py_pattern; + +@py_dict_item_list_parent = @py_Call | @py_ClassExpr | @py_Dict; + +@py_expr_context_parent = @py_Attribute | @py_List | @py_Name | @py_PlaceHolder | @py_Starred | @py_Subscript | @py_TemplateDottedNotation | @py_Tuple; + +@py_expr_list_parent = @py_Assign | @py_BoolExpr | @py_Call | @py_ClassExpr | @py_Compare | @py_Delete | @py_Fstring | @py_Function | @py_List | @py_Print | @py_Set | @py_SpecialOperation | @py_Tuple | @py_arguments | @py_comprehension; + +@py_expr_or_stmt = @py_expr | @py_stmt; + +@py_expr_parent = @py_AnnAssign | @py_Assert | @py_Assign | @py_AssignExpr | @py_Attribute | @py_AugAssign | @py_Await | @py_BinaryExpr | @py_Call | @py_Case | @py_Compare | @py_DictComp | @py_DictUnpacking | @py_ExceptStmt | @py_Exec | @py_Expr_stmt | @py_Filter | @py_For | @py_FormattedValue | @py_Function | @py_FunctionExpr | @py_GeneratorExp | @py_Guard | @py_If | @py_IfExp | @py_ImportMember | @py_ImportStar | @py_KeyValuePair | @py_ListComp | @py_MatchAsPattern | @py_MatchCapturePattern | @py_MatchClassPattern | @py_MatchKeywordPattern | @py_MatchLiteralPattern | @py_MatchStmt | @py_MatchValuePattern | @py_Print | @py_Raise | @py_Repr | @py_Return | @py_SetComp | @py_Slice | @py_Starred | @py_Subscript | @py_TemplateDottedNotation | @py_TemplateWrite | @py_UnaryExpr | @py_While | @py_With | @py_Yield | @py_YieldFrom | @py_alias | @py_arguments | @py_comprehension | @py_expr_list | @py_keyword | @py_parameter_list; + +@py_location_parent = @py_DictUnpacking | @py_KeyValuePair | @py_StringPart | @py_comprehension | @py_expr | @py_keyword | @py_pattern | @py_stmt; + +@py_parameter = @py_Name | @py_Tuple; + +@py_pattern_list_parent = @py_MatchClassPattern | @py_MatchMappingPattern | @py_MatchOrPattern | @py_MatchSequencePattern; + +@py_pattern_parent = @py_Case | @py_MatchAsPattern | @py_MatchDoubleStarPattern | @py_MatchKeyValuePattern | @py_MatchKeywordPattern | @py_MatchStarPattern | @py_pattern_list; + +@py_scope = @py_Class | @py_Function | @py_Module; + +@py_stmt_list_parent = @py_Case | @py_Class | @py_ExceptStmt | @py_For | @py_Function | @py_If | @py_MatchStmt | @py_Module | @py_Try | @py_While | @py_With; + +@py_str_list_parent = @py_Global | @py_Nonlocal; + +@py_str_parent = @py_Attribute | @py_Class | @py_ClassExpr | @py_FormattedValue | @py_Function | @py_FunctionExpr | @py_ImportExpr | @py_ImportMember | @py_Module | @py_SpecialOperation | @py_Str | @py_StringPart | @py_TemplateDottedNotation | @py_keyword | @py_str_list; + +@py_variable_parent = @py_Name | @py_PlaceHolder; + + +/* + * End of auto-generated part + */ + + + +/* Map relative names to absolute names for imports */ +py_absolute_names(int module : @py_Module ref, + varchar(1) relname : string ref, + varchar(1) absname : string ref); + +py_exports(int id : @py_Module ref, + varchar(1) name : string ref); + +/* Successor information */ +py_successors(int predecessor : @py_flow_node ref, + int successor : @py_flow_node ref); + +py_true_successors(int predecessor : @py_flow_node ref, + int successor : @py_flow_node ref); + +py_exception_successors(int predecessor : @py_flow_node ref, + int successor : @py_flow_node ref); + +py_false_successors(int predecessor : @py_flow_node ref, + int successor : @py_flow_node ref); + +py_flow_bb_node(unique int flownode : @py_flow_node, + int realnode : @py_ast_node ref, + int basicblock : @py_flow_node ref, + int index : int ref); + +py_scope_flow(int flow : @py_flow_node ref, + int scope : @py_scope ref, + int kind : int ref); + +py_idoms(unique int node : @py_flow_node ref, + int immediate_dominator : @py_flow_node ref); + +py_ssa_phi(int phi : @py_ssa_var ref, + int arg: @py_ssa_var ref); + +py_ssa_var(unique int id : @py_ssa_var, + int var : @py_variable ref); + +py_ssa_use(int node: @py_flow_node ref, + int var : @py_ssa_var ref); + +py_ssa_defn(unique int id : @py_ssa_var ref, + int node: @py_flow_node ref); + +@py_base_var = @py_variable | @py_ssa_var; + +py_scopes(unique int node : @py_expr_or_stmt ref, + int scope : @py_scope ref); + +py_scope_location(unique int id : @location ref, + unique int scope : @py_scope ref); + +py_flags_versioned(varchar(1) name : string ref, + varchar(1) value : string ref, + varchar(1) version : string ref); + +py_syntax_error_versioned(unique int id : @location ref, + varchar(1) message : string ref, + varchar(1) version : string ref); + +py_comments(unique int id : @py_comment, + varchar(1) text : string ref, + unique int location : @location ref); + +/* Type information support */ + +py_cobjects(unique int obj : @py_cobject); + +py_cobjecttypes(unique int obj : @py_cobject ref, + int typeof : @py_cobject ref); + +py_cobjectnames(unique int obj : @py_cobject ref, + varchar(1) name : string ref); + +/* Kind should be 0 for introspection, > 0 from source, as follows: + 1 from C extension source + */ +py_cobject_sources(int obj : @py_cobject ref, + int kind : int ref); + +py_cmembers_versioned(int object : @py_cobject ref, + varchar(1) name : string ref, + int member : @py_cobject ref, + varchar(1) version : string ref); + +py_citems(int object : @py_cobject ref, + int index : int ref, + int member : @py_cobject ref); + +ext_argtype(int funcid : @py_object ref, + int arg : int ref, + int typeid : @py_object ref); + +ext_rettype(int funcid : @py_object ref, + int typeid : @py_object ref); + +ext_proptype(int propid : @py_object ref, + int typeid : @py_object ref); + +ext_argreturn(int funcid : @py_object ref, + int arg : int ref); + +py_special_objects(unique int obj : @py_cobject ref, + unique varchar(1) name : string ref); + +py_decorated_object(int object : @py_object ref, + int level: int ref); + +@py_object = @py_cobject | @py_flow_node; + +@py_source_element = @py_ast_node | @container; + +/* XML Files */ + +xmlEncoding (unique int id: @file ref, varchar(900) encoding: string ref); + +xmlDTDs (unique int id: @xmldtd, + varchar(900) root: string ref, + varchar(900) publicId: string ref, + varchar(900) systemId: string ref, + int fileid: @file ref); + +xmlElements (unique int id: @xmlelement, + varchar(900) name: string ref, + int parentid: @xmlparent ref, + int idx: int ref, + int fileid: @file ref); + +xmlAttrs (unique int id: @xmlattribute, + int elementid: @xmlelement ref, + varchar(900) name: string ref, + varchar(3600) value: string ref, + int idx: int ref, + int fileid: @file ref); + +xmlNs (int id: @xmlnamespace, + varchar(900) prefixName: string ref, + varchar(900) URI: string ref, + int fileid: @file ref); + +xmlHasNs (int elementId: @xmlnamespaceable ref, + int nsId: @xmlnamespace ref, + int fileid: @file ref); + +xmlComments (unique int id: @xmlcomment, + varchar(3600) text: string ref, + int parentid: @xmlparent ref, + int fileid: @file ref); + +xmlChars (unique int id: @xmlcharacters, + varchar(3600) text: string ref, + int parentid: @xmlparent ref, + int idx: int ref, + int isCDATA: int ref, + int fileid: @file ref); + +@xmlparent = @file | @xmlelement; +@xmlnamespaceable = @xmlelement | @xmlattribute; + +xmllocations(int xmlElement: @xmllocatable ref, + int location: @location_default ref); + +@xmllocatable = @xmlcharacters | @xmlelement | @xmlcomment | @xmlattribute | @xmldtd | @file | @xmlnamespace; diff --git a/tests/codeql_db/db-python/semmlecode.python.dbscheme.stats b/tests/codeql_db/db-python/semmlecode.python.dbscheme.stats new file mode 100644 index 0000000000000000000000000000000000000000..7f5109a5697b91822ad8c7d125696e277e2679e5 --- /dev/null +++ b/tests/codeql_db/db-python/semmlecode.python.dbscheme.stats @@ -0,0 +1,17117 @@ + + +@py_Guard100 +@py_MatchAsPattern100 +@py_MatchOrPattern100 +@py_MatchLiteralPattern100 +@py_MatchCapturePattern100 +@py_MatchWildcardPattern100 +@py_MatchValuePattern100 +@py_MatchSequencePattern100 +@py_MatchStarPattern100 +@py_MatchMappingPattern100 +@py_MatchDoubleStarPattern100 +@py_MatchKeyValuePattern100 +@py_MatchClassPattern100 +@py_MatchKeywordPattern100 +@py_Case100 +@py_MatchStmt100 +@py_pattern_list100 +@externalDefect +100 + + +@externalMetric +100 + + +@externalDataElement +20 + + +@duplication +890 + + +@similarity +5591 + + +@svnentry +100 + + +@file +3066 + + +@folder +686 + + +@location_default +100 + + +@location_ast +2310679 + + +@py_variable +242770 + + +@py_line +100 + + +@py_Class +10244 + + +@py_Function +44860 + + +@py_Module +5983 + + +@py_StringPart +6399 + + +@py_StringPart_list +2296 + + +@py_alias +21374 + + +@py_alias_list +14396 + + +@py_arguments +41982 + + +@py_boolop +10907 + + +@py_And +7243 + + +@py_Or +3663 + + +@py_cmpop +38007 + + +@py_Eq +11370 + + +@py_Gt +1999 + + +@py_GtE +1306 + + +@py_In +4743 + + +@py_Is +6368 + + +@py_IsNot +4541 + + +@py_Lt +1920 + + +@py_LtE +1128 + + +@py_NotEq +3050 + + +@py_NotIn +1672 + + +@py_cmpop_list +37666 + + +@py_comprehension +1688 + + +@py_comprehension_list +1682 + + +@py_dict_item +167901 + + +@py_DictUnpacking +1521 + + +@py_KeyValuePair +92837 + + +@py_keyword +74612 + + +@py_dict_item_list +33758 + + +@py_expr +1684031 + + +@py_Attribute +249565 + + +@py_BinaryExpr +28868 + + +@py_BoolExpr +10907 + + +@py_Bytes +105600 + + +@py_Call +198138 + + +@py_ClassExpr +10244 + + +@py_Compare +37666 + + +@py_Dict +9635 + + +@py_DictComp +99 + + +@py_Ellipsis +115 + + +@py_Fstring +100 + + +@py_FormattedValue +100 + + +@py_FunctionExpr +41531 + + +@py_GeneratorExp +1066 + + +@py_IfExp +923 + + +@py_ImportExpr +21532 + + +@py_ImportMember +17714 + + +@py_Lambda +870 + + +@py_List +23200 + + +@py_ListComp +1690 + + +@py_Name +845963 + + +@py_Num +58723 + + +@py_Set +261 + + +@py_SetComp +49 + + +@py_Slice +5316 + + +@py_Starred +1265 + + +@py_Str +288427 + + +@py_Subscript +31583 + + +@py_Tuple +27693 + + +@py_UnaryExpr +13295 + + +@py_Yield +3941 + + +@py_YieldFrom +398 + + +@py_Repr +100 + + +@py_TemplateDottedNotation +100 + + +@py_Filter +100 + + +@py_PlaceHolder +100 + + +@py_Await +500 + + +@py_AssignExpr +200 + + +@py_SpecialOperation +100 + + +@py_expr_context +1140675 + + +@py_Del +1324 + + +@py_Load +853094 + + +@py_Param +96047 + + +@py_Store +198700 + + +@py_AugLoad +100 + + +@py_AugStore +100 + + +@py_expr_list +430986 + + +@py_operator +28868 + + +@py_Add +13603 + + +@py_BitAnd +796 + + +@py_BitOr +799 + + +@py_BitXor +190 + + +@py_Div +393 + + +@py_FloorDiv +362 + + +@py_LShift +279 + + +@py_Mod +8234 + + +@py_Mult +2218 + + +@py_Pow +501 + + +@py_RShift +157 + + +@py_Sub +3136 + + +@py_MatMult +100 + + +@py_parameter_list +43271 + + +@py_stmt +372643 + + +@py_Assert +1999 + + +@py_Assign +151576 + + +@py_AugAssign +3656 + + +@py_Break +1699 + + +@py_Continue +1199 + + +@py_Delete +1149 + + +@py_ExceptStmt +5610 + + +@py_Expr_stmt +76750 + + +@py_For +11495 + + +@py_Global +392 + + +@py_If +53619 + + +@py_Import +14396 + + +@py_ImportStar +158 + + +@py_Nonlocal +35 + + +@py_Pass +2872 + + +@py_Raise +7794 + + +@py_Return +36127 + + +@py_Try +6210 + + +@py_While +2138 + + +@py_With +4193 + + +@py_Exec +43 + + +@py_Print +1032 + + +@py_TemplateWrite +100 + + +@py_AnnAssign +100 + + +@py_stmt_list +156700 + + +@py_str_list +427 + + +@py_unaryop +13295 + + +@py_Invert +107 + + +@py_Not +8655 + + +@py_UAdd +14 + + +@py_USub +4565 + + +@py_flow_node +2323431 + + +@py_ssa_var +272292 + + +@py_comment +77830 + + +@py_cobject +112856 + + +@xmldtd +100 + + +@xmlelement +100 + + +@xmlattribute +100 + + +@xmlnamespace +100 + + +@xmlcomment +100 + + +@xmlcharacters +100 + + + +externalDefects +100 + + +id +100 + + +queryPath +100 + + +location +100 + + +message +100 + + +severity +100 + + + + +id +queryPath + + +12 + + +1 +2 +2 + + + + + + +id +location + + +12 + + +1 +2 +2 + + + + + + +id +message + + +12 + + +1 +2 +2 + + + + + + +id +severity + + +12 + + +1 +2 +2 + + + + + + +queryPath +id + + +12 + + + + + +queryPath +location + + +12 + + + + + +queryPath +message + + +12 + + + + + +queryPath +severity + + +12 + + + + + +location +id + + +12 + + + + + +location +queryPath + + +12 + + + + + +location +message + + +12 + + + + + +location +severity + + +12 + + + + + +message +id + + +12 + + + + + +message +queryPath + + +12 + + + + + +message +location + + +12 + + + + + +message +severity + + +12 + + + + + +severity +id + + +12 + + + + + +severity +queryPath + + +12 + + + + + +severity +location + + +12 + + + + + +severity +message + + +12 + + + + + + + +externalMetrics +100 + + +id +100 + + +queryPath +100 + + +location +100 + + +value +100 + + + + +id +queryPath + + +12 + + +1 +2 +1 + + + + + + +id +location + + +12 + + +1 +2 +1 + + + + + + +id +value + + +12 + + +1 +2 +1 + + + + + + +queryPath +id + + +12 + + + + + +queryPath +location + + +12 + + + + + +queryPath +value + + +12 + + + + + +location +id + + +12 + + + + + +location +queryPath + + +12 + + + + + +location +value + + +12 + + + + + +value +id + + +12 + + + + + +value +queryPath + + +12 + + + + + +value +location + + +12 + + + + + + + +externalData +41 + + +id +20 + + +queryPath +2 + + +column +5 + + +data +41 + + + + +id +queryPath + + +12 + + +1 +2 +20 + + + + + + +id +column + + +12 + + +2 +3 +20 + + + + + + +id +data + + +12 + + +2 +3 +20 + + + + + + +queryPath +id + + +12 + + +7 +8 +2 + + + + + + +queryPath +column + + +12 + + +2 +3 +2 + + + + + + +queryPath +data + + +12 + + +14 +15 +2 + + + + + + +column +id + + +12 + + +7 +8 +5 + + + + + + +column +queryPath + + +12 + + +1 +2 +5 + + + + + + +column +data + + +12 + + +7 +8 +5 + + + + + + +data +id + + +12 + + +1 +2 +41 + + + + + + +data +queryPath + + +12 + + +1 +2 +41 + + + + + + +data +column + + +12 + + +1 +2 +41 + + + + + + + + +snapshotDate +2 + + +snapshotDate +2 + + + + + +sourceLocationPrefix +2 + + +prefix +2 + + + + + +duplicateCode +890 + + +id +890 + + +relativePath +91 + + +equivClass +415 + + + + +id +relativePath + + +12 + + +1 +2 +890 + + + + + + +id +equivClass + + +12 + + +1 +2 +890 + + + + + + +relativePath +id + + +12 + + +1 +2 +30 + + +2 +3 +16 + + +3 +4 +4 + + +4 +5 +8 + + +6 +8 +6 + + +8 +12 +6 + + +12 +19 +6 + + +23 +47 +6 + + +48 +109 +4 + + + + + + +relativePath +equivClass + + +12 + + +1 +2 +38 + + +2 +3 +12 + + +3 +4 +6 + + +4 +5 +8 + + +6 +10 +8 + + +10 +15 +6 + + +15 +46 +6 + + +92 +105 +2 + + + + + + +equivClass +id + + +12 + + +2 +3 +371 + + +3 +4 +31 + + +4 +7 +12 + + + + + + +equivClass +relativePath + + +12 + + +1 +2 +95 + + +2 +3 +288 + + +3 +5 +31 + + + + + + + + +similarCode +5591 + + +id +5591 + + +relativePath +347 + + +equivClass +1696 + + + + +id +relativePath + + +12 + + +1 +2 +5591 + + + + + + +id +equivClass + + +12 + + +1 +2 +5591 + + + + + + +relativePath +id + + +12 + + +1 +2 +44 + + +2 +3 +33 + + +3 +5 +31 + + +5 +7 +30 + + +7 +9 +18 + + +9 +11 +26 + + +11 +13 +26 + + +13 +18 +29 + + +18 +23 +29 + + +23 +30 +24 + + +30 +42 +26 + + +45 +155 +26 + + +161 +162 +1 + + + + + + +relativePath +equivClass + + +12 + + +1 +2 +66 + + +2 +3 +19 + + +3 +4 +20 + + +4 +5 +18 + + +5 +6 +18 + + +6 +8 +27 + + +8 +10 +30 + + +10 +13 +26 + + +13 +18 +26 + + +18 +23 +26 + + +23 +31 +31 + + +31 +53 +26 + + +54 +145 +9 + + + + + + +equivClass +id + + +12 + + +2 +3 +937 + + +3 +4 +260 + + +4 +5 +166 + + +5 +6 +88 + + +6 +8 +138 + + +8 +11 +105 + + + + + + +equivClass +relativePath + + +12 + + +1 +2 +358 + + +2 +3 +733 + + +3 +4 +216 + + +4 +5 +139 + + +5 +7 +110 + + +7 +10 +127 + + +10 +11 +9 + + + + + + + + +tokens +889686 + + +id +6481 + + +offset +10514 + + +beginLine +9882 + + +beginColumn +1197 + + +endLine +9882 + + +endColumn +1207 + + + + +id +offset + + +12 + + +100 +101 +394 + + +101 +102 +750 + + +102 +103 +347 + + +103 +104 +414 + + +104 +105 +405 + + +105 +107 +528 + + +107 +108 +414 + + +108 +111 +513 + + +111 +117 +555 + + +117 +127 +494 + + +127 +145 +490 + + +145 +176 +487 + + +176 +284 +488 + + +289 +7594 +196 + + + + + + +id +beginLine + + +12 + + +5 +9 +396 + + +9 +10 +299 + + +10 +11 +559 + + +11 +12 +432 + + +12 +13 +598 + + +13 +14 +747 + + +14 +15 +541 + + +15 +17 +564 + + +17 +20 +589 + + +20 +24 +573 + + +24 +28 +526 + + +28 +51 +498 + + +51 +1520 +155 + + + + + + +id +beginColumn + + +12 + + +9 +17 +516 + + +17 +22 +488 + + +22 +31 +563 + + +31 +37 +566 + + +37 +43 +585 + + +43 +46 +472 + + +46 +49 +591 + + +49 +51 +438 + + +51 +54 +571 + + +54 +56 +443 + + +56 +59 +484 + + +59 +68 +524 + + +68 +131 +234 + + + + + + +id +endLine + + +12 + + +5 +9 +396 + + +9 +10 +299 + + +10 +11 +559 + + +11 +12 +432 + + +12 +13 +598 + + +13 +14 +747 + + +14 +15 +541 + + +15 +17 +564 + + +17 +20 +589 + + +20 +24 +573 + + +24 +28 +526 + + +28 +51 +502 + + +51 +1520 +150 + + + + + + +id +endColumn + + +12 + + +10 +18 +450 + + +18 +23 +523 + + +23 +33 +531 + + +33 +39 +495 + + +39 +44 +504 + + +44 +48 +533 + + +48 +51 +544 + + +51 +54 +549 + + +54 +56 +492 + + +56 +58 +458 + + +58 +61 +508 + + +61 +67 +498 + + +67 +133 +391 + + + + + + +offset +id + + +12 + + +2 +3 +6935 + + +4 +5 +693 + + +6 +11 +706 + + +12 +15 +887 + + +16 +93 +790 + + +94 +4682 +499 + + + + + + +offset +beginLine + + +12 + + +2 +3 +6935 + + +4 +5 +693 + + +6 +11 +706 + + +12 +15 +891 + + +16 +91 +789 + + +91 +1817 +497 + + + + + + +offset +beginColumn + + +12 + + +1 +2 +6952 + + +2 +3 +722 + + +3 +5 +674 + + +5 +8 +969 + + +8 +41 +797 + + +41 +169 +397 + + + + + + +offset +endLine + + +12 + + +2 +3 +6935 + + +4 +5 +693 + + +6 +11 +706 + + +12 +15 +891 + + +16 +91 +789 + + +91 +1817 +497 + + + + + + +offset +endColumn + + +12 + + +1 +2 +6973 + + +2 +3 +696 + + +3 +6 +929 + + +6 +9 +801 + + +9 +57 +798 + + +57 +172 +314 + + + + + + +beginLine +id + + +12 + + +1 +2 +1613 + + +2 +3 +1931 + + +3 +4 +987 + + +4 +5 +650 + + +5 +7 +825 + + +7 +9 +744 + + +9 +12 +772 + + +12 +17 +836 + + +17 +37 +749 + + +37 +148 +742 + + +151 +217 +29 + + + + + + +beginLine +offset + + +12 + + +1 +4 +697 + + +4 +8 +882 + + +8 +11 +746 + + +11 +15 +883 + + +15 +20 +801 + + +20 +25 +756 + + +25 +32 +757 + + +32 +42 +743 + + +42 +55 +742 + + +55 +72 +778 + + +72 +98 +747 + + +98 +148 +751 + + +148 +211 +594 + + + + + + +beginLine +beginColumn + + +12 + + +1 +3 +749 + + +3 +6 +686 + + +6 +8 +605 + + +8 +10 +779 + + +10 +12 +733 + + +12 +14 +714 + + +14 +17 +726 + + +17 +21 +880 + + +21 +26 +872 + + +26 +32 +852 + + +32 +40 +810 + + +40 +54 +771 + + +54 +184 +699 + + + + + + +beginLine +endLine + + +12 + + +1 +2 +9740 + + +2 +4 +142 + + + + + + +beginLine +endColumn + + +12 + + +1 +3 +750 + + +3 +6 +666 + + +6 +8 +621 + + +8 +10 +722 + + +10 +12 +720 + + +12 +14 +699 + + +14 +17 +721 + + +17 +21 +890 + + +21 +26 +862 + + +26 +32 +839 + + +32 +40 +794 + + +40 +53 +790 + + +53 +81 +746 + + +81 +185 +56 + + + + + + +beginColumn +id + + +12 + + +1 +2 +389 + + +2 +3 +200 + + +3 +4 +80 + + +4 +7 +105 + + +7 +8 +90 + + +8 +11 +91 + + +11 +45 +91 + + +48 +2322 +90 + + +2328 +3928 +59 + + + + + + +beginColumn +offset + + +12 + + +1 +2 +404 + + +2 +3 +206 + + +3 +4 +65 + + +4 +7 +101 + + +7 +8 +88 + + +8 +11 +94 + + +11 +33 +90 + + +33 +345 +90 + + +360 +2645 +58 + + + + + + +beginColumn +beginLine + + +12 + + +1 +2 +628 + + +2 +3 +204 + + +3 +4 +90 + + +4 +10 +99 + + +10 +750 +90 + + +762 +5047 +84 + + + + + + +beginColumn +endLine + + +12 + + +1 +2 +628 + + +2 +3 +204 + + +3 +4 +90 + + +4 +10 +99 + + +10 +750 +90 + + +762 +5046 +84 + + + + + + +beginColumn +endColumn + + +12 + + +1 +2 +822 + + +2 +3 +152 + + +3 +6 +95 + + +6 +31 +92 + + +31 +99 +34 + + + + + + +endLine +id + + +12 + + +1 +2 +1613 + + +2 +3 +1931 + + +3 +4 +987 + + +4 +5 +652 + + +5 +7 +823 + + +7 +9 +744 + + +9 +12 +772 + + +12 +17 +836 + + +17 +37 +749 + + +37 +148 +742 + + +151 +217 +29 + + + + + + +endLine +offset + + +12 + + +1 +4 +702 + + +4 +8 +876 + + +8 +11 +749 + + +11 +15 +883 + + +15 +20 +801 + + +20 +25 +756 + + +25 +32 +753 + + +32 +42 +744 + + +42 +55 +743 + + +55 +72 +779 + + +72 +98 +746 + + +98 +148 +751 + + +148 +211 +594 + + + + + + +endLine +beginLine + + +12 + + +1 +2 +9734 + + +2 +3 +148 + + + + + + +endLine +beginColumn + + +12 + + +1 +3 +749 + + +3 +6 +685 + + +6 +8 +607 + + +8 +10 +782 + + +10 +12 +728 + + +12 +14 +714 + + +14 +17 +728 + + +17 +21 +880 + + +21 +26 +873 + + +26 +32 +851 + + +32 +40 +810 + + +40 +54 +771 + + +54 +184 +699 + + + + + + +endLine +endColumn + + +12 + + +1 +3 +750 + + +3 +6 +664 + + +6 +8 +625 + + +8 +10 +721 + + +10 +12 +718 + + +12 +14 +702 + + +14 +17 +721 + + +17 +21 +883 + + +21 +26 +862 + + +26 +32 +841 + + +32 +40 +797 + + +40 +53 +792 + + +53 +81 +743 + + +81 +185 +56 + + + + + + +endColumn +id + + +12 + + +1 +2 +391 + + +2 +3 +192 + + +3 +4 +84 + + +4 +7 +102 + + +7 +8 +92 + + +8 +11 +98 + + +11 +47 +91 + + +50 +2174 +91 + + +2189 +4114 +62 + + + + + + +endColumn +offset + + +12 + + +1 +2 +408 + + +2 +3 +193 + + +3 +4 +74 + + +4 +7 +95 + + +7 +8 +85 + + +8 +11 +103 + + +11 +36 +91 + + +37 +353 +91 + + +364 +1140 +62 + + + + + + +endColumn +beginLine + + +12 + + +1 +2 +625 + + +2 +3 +211 + + +3 +4 +84 + + +4 +8 +91 + + +8 +405 +91 + + +414 +3303 +91 + + +3320 +3523 +11 + + + + + + +endColumn +beginColumn + + +12 + + +1 +2 +812 + + +2 +3 +167 + + +3 +8 +95 + + +8 +33 +92 + + +33 +42 +38 + + + + + + +endColumn +endLine + + +12 + + +1 +2 +625 + + +2 +3 +211 + + +3 +4 +84 + + +4 +8 +91 + + +8 +405 +91 + + +414 +3303 +91 + + +3320 +3523 +11 + + + + + + + + +py_codelines +52985 + + +id +52985 + + +count +732 + + + + +id +count + + +12 + + +1 +2 +52985 + + + + + + +count +id + + +12 + + +1 +2 +307 + + +2 +3 +116 + + +3 +4 +59 + + +4 +6 +61 + + +6 +11 +62 + + +11 +28 +57 + + +28 +612 +55 + + +631 +13079 +15 + + + + + + + + +py_commentlines +52983 + + +id +52983 + + +count +198 + + + + +id +count + + +12 + + +1 +2 +52983 + + + + + + +count +id + + +12 + + +1 +2 +78 + + +2 +3 +26 + + +3 +4 +11 + + +4 +6 +16 + + +6 +10 +15 + + +10 +19 +15 + + +19 +48 +15 + + +49 +351 +15 + + +494 +40367 +7 + + + + + + + + +py_docstringlines +52983 + + +id +52983 + + +count +123 + + + + +id +count + + +12 + + +1 +2 +52983 + + + + + + +count +id + + +12 + + +1 +2 +20 + + +2 +3 +11 + + +3 +4 +9 + + +4 +5 +10 + + +5 +8 +11 + + +8 +13 +10 + + +14 +22 +11 + + +22 +29 +10 + + +29 +54 +10 + + +56 +175 +10 + + +232 +5368 +10 + + +36413 +36414 +1 + + + + + + + + +py_alllines +52983 + + +id +52983 + + +count +829 + + + + +id +count + + +12 + + +1 +2 +52983 + + + + + + +count +id + + +12 + + +1 +2 +361 + + +2 +3 +108 + + +3 +4 +68 + + +4 +5 +47 + + +5 +8 +69 + + +8 +17 +65 + + +17 +93 +64 + + +113 +9596 +47 + + + + + + + + +svnentries +100 + + +id +100 + + +revision +100 + + +author +100 + + +revisionDate +100 + + +changeSize +100 + + + + +id +revision + + +12 + + + + + +id +author + + +12 + + + + + +id +revisionDate + + +12 + + + + + +id +changeSize + + +12 + + + + + +revision +id + + +12 + + + + + +revision +author + + +12 + + + + + +revision +revisionDate + + +12 + + + + + +revision +changeSize + + +12 + + + + + +author +id + + +12 + + + + + +author +revision + + +12 + + + + + +author +revisionDate + + +12 + + + + + +author +changeSize + + +12 + + + + + +revisionDate +id + + +12 + + + + + +revisionDate +revision + + +12 + + + + + +revisionDate +author + + +12 + + + + + +revisionDate +changeSize + + +12 + + + + + +changeSize +id + + +12 + + + + + +changeSize +revision + + +12 + + + + + +changeSize +author + + +12 + + + + + +changeSize +revisionDate + + +12 + + + + + + + +svnaffectedfiles +100 + + +id +100 + + +file +100 + + +action +100 + + + + +id +file + + +12 + + + + + +id +action + + +12 + + + + + +file +id + + +12 + + + + + +file +action + + +12 + + + + + +action +id + + +12 + + + + + +action +file + + +12 + + + + + + + +svnentrymsg +100 + + +id +100 + + +message +100 + + + + +id +message + + +12 + + + + + +message +id + + +12 + + + + + + + +svnchurn +100 + + +commit +100 + + +file +100 + + +addedLines +100 + + +deletedLines +100 + + + + +commit +file + + +12 + + + + + +commit +addedLines + + +12 + + + + + +commit +deletedLines + + +12 + + + + + +file +commit + + +12 + + + + + +file +addedLines + + +12 + + + + + +file +deletedLines + + +12 + + + + + +addedLines +commit + + +12 + + + + + +addedLines +file + + +12 + + + + + +addedLines +deletedLines + + +12 + + + + + +deletedLines +commit + + +12 + + + + + +deletedLines +file + + +12 + + + + + +deletedLines +addedLines + + +12 + + + + + + + +files +3066 + + +id +3066 + + +name +3066 + + + + +id +name + + +12 + + +1 +2 +3066 + + + + + + +name +id + + +12 + + +1 +2 +3066 + + + + + + + + +folders +686 + + +id +686 + + +name +686 + + + + +id +name + + +12 + + +1 +2 +686 + + + + + + +name +id + + +12 + + +1 +2 +686 + + + + + + + + +containerparent +3750 + + +parent +685 + + +child +3750 + + + + +parent +child + + +12 + + +1 +2 +53 + + +2 +3 +202 + + +3 +4 +176 + + +4 +5 +57 + + +5 +6 +34 + + +6 +8 +56 + + +8 +13 +54 + + +13 +149 +52 + + +204 +205 +1 + + + + + + +child +parent + + +12 + + +1 +2 +3750 + + + + + + + + +numlines +2553 + + +element_id +2553 + + +num_lines +687 + + +num_code +648 + + +num_comment +193 + + + + +element_id +num_lines + + +12 + + +1 +2 +2553 + + + + + + +element_id +num_code + + +12 + + +1 +2 +2553 + + + + + + +element_id +num_comment + + +12 + + +1 +2 +2553 + + + + + + +num_lines +element_id + + +12 + + +1 +2 +345 + + +2 +3 +129 + + +3 +4 +44 + + +4 +6 +57 + + +6 +11 +54 + + +11 +34 +52 + + +35 +60 +6 + + + + + + +num_lines +num_code + + +12 + + +1 +2 +348 + + +2 +3 +134 + + +3 +4 +46 + + +4 +5 +41 + + +5 +6 +39 + + +6 +9 +60 + + +9 +17 +19 + + + + + + +num_lines +num_comment + + +12 + + +1 +2 +348 + + +2 +3 +134 + + +3 +4 +46 + + +4 +5 +41 + + +5 +6 +39 + + +6 +9 +60 + + +9 +17 +19 + + + + + + +num_code +element_id + + +12 + + +1 +2 +319 + + +2 +3 +110 + + +3 +4 +53 + + +4 +6 +56 + + +6 +11 +54 + + +11 +36 +49 + + +36 +56 +7 + + + + + + +num_code +num_lines + + +12 + + +1 +2 +321 + + +2 +3 +110 + + +3 +4 +62 + + +4 +5 +38 + + +5 +7 +52 + + +7 +10 +51 + + +10 +14 +14 + + + + + + +num_code +num_comment + + +12 + + +1 +2 +321 + + +2 +3 +110 + + +3 +4 +62 + + +4 +5 +38 + + +5 +7 +52 + + +7 +10 +51 + + +10 +14 +14 + + + + + + +num_comment +element_id + + +12 + + +1 +2 +72 + + +2 +3 +29 + + +3 +4 +16 + + +4 +5 +15 + + +5 +8 +12 + + +8 +13 +15 + + +13 +29 +16 + + +30 +98 +15 + + +112 +578 +3 + + + + + + +num_comment +num_lines + + +12 + + +1 +2 +72 + + +2 +3 +29 + + +3 +4 +16 + + +4 +5 +15 + + +5 +8 +12 + + +8 +13 +15 + + +13 +26 +15 + + +27 +75 +16 + + +75 +112 +3 + + + + + + +num_comment +num_code + + +12 + + +1 +2 +72 + + +2 +3 +29 + + +3 +4 +16 + + +4 +5 +15 + + +5 +8 +12 + + +8 +13 +15 + + +13 +26 +15 + + +27 +75 +16 + + +75 +112 +3 + + + + + + + + +locations_default +100 + + +id +100 + + +file +100 + + +beginLine +100 + + +beginColumn +100 + + +endLine +100 + + +endColumn +100 + + + + +id +file + + +12 + + +1 +2 +2 + + + + + + +id +beginLine + + +12 + + +1 +2 +2 + + + + + + +id +beginColumn + + +12 + + +1 +2 +2 + + + + + + +id +endLine + + +12 + + +1 +2 +2 + + + + + + +id +endColumn + + +12 + + +1 +2 +2 + + + + + + +file +id + + +12 + + + + + +file +beginLine + + +12 + + + + + +file +beginColumn + + +12 + + + + + +file +endLine + + +12 + + + + + +file +endColumn + + +12 + + + + + +beginLine +id + + +12 + + + + + +beginLine +file + + +12 + + + + + +beginLine +beginColumn + + +12 + + + + + +beginLine +endLine + + +12 + + + + + +beginLine +endColumn + + +12 + + + + + +beginColumn +id + + +12 + + + + + +beginColumn +file + + +12 + + + + + +beginColumn +beginLine + + +12 + + + + + +beginColumn +endLine + + +12 + + + + + +beginColumn +endColumn + + +12 + + + + + +endLine +id + + +12 + + + + + +endLine +file + + +12 + + + + + +endLine +beginLine + + +12 + + + + + +endLine +beginColumn + + +12 + + + + + +endLine +endColumn + + +12 + + + + + +endColumn +id + + +12 + + + + + +endColumn +file + + +12 + + + + + +endColumn +beginLine + + +12 + + + + + +endColumn +beginColumn + + +12 + + + + + +endColumn +endLine + + +12 + + + + + + + +locations_ast +2310679 + + +id +2310679 + + +module +1527 + + +beginLine +12546 + + +beginColumn +2819 + + +endLine +12539 + + +endColumn +2939 + + + + +id +module + + +12 + + +1 +2 +2310679 + + + + + + +id +beginLine + + +12 + + +1 +2 +2310679 + + + + + + +id +beginColumn + + +12 + + +1 +2 +2310679 + + + + + + +id +endLine + + +12 + + +1 +2 +2310679 + + + + + + +id +endColumn + + +12 + + +1 +2 +2310679 + + + + + + +module +id + + +12 + + +1 +2 +288 + + +2 +30 +114 + + +30 +159 +114 + + +159 +276 +114 + + +279 +427 +116 + + +434 +716 +114 + + +719 +1003 +114 + + +1007 +1409 +116 + + +1426 +1860 +114 + + +1862 +2782 +114 + + +2798 +5578 +114 + + +5667 +58828 +87 + + + + + + +module +beginLine + + +12 + + +1 +2 +288 + + +2 +17 +116 + + +17 +42 +114 + + +42 +72 +116 + + +72 +113 +116 + + +114 +165 +116 + + +167 +231 +116 + + +232 +314 +114 + + +314 +411 +114 + + +413 +634 +114 + + +640 +1326 +114 + + +1326 +6932 +83 + + + + + + +module +beginColumn + + +12 + + +1 +2 +288 + + +2 +7 +114 + + +7 +29 +117 + + +29 +41 +119 + + +41 +49 +126 + + +49 +56 +137 + + +56 +60 +110 + + +60 +64 +123 + + +64 +68 +117 + + +68 +74 +127 + + +74 +91 +116 + + +91 +1405 +29 + + + + + + +module +endLine + + +12 + + +1 +2 +288 + + +2 +17 +117 + + +17 +43 +119 + + +44 +74 +121 + + +74 +117 +114 + + +117 +173 +114 + + +173 +238 +114 + + +238 +322 +114 + + +326 +421 +114 + + +421 +666 +116 + + +668 +1461 +114 + + +1472 +6948 +74 + + + + + + +module +endColumn + + +12 + + +1 +2 +288 + + +2 +18 +116 + + +18 +45 +114 + + +45 +59 +130 + + +59 +65 +131 + + +65 +69 +108 + + +69 +72 +109 + + +72 +75 +114 + + +75 +79 +121 + + +79 +86 +120 + + +86 +99 +120 + + +99 +1425 +51 + + + + + + +beginLine +id + + +12 + + +1 +8 +783 + + +8 +11 +960 + + +11 +15 +1027 + + +15 +20 +1012 + + +20 +27 +1050 + + +27 +36 +995 + + +36 +49 +1003 + + +49 +66 +977 + + +66 +107 +951 + + +107 +170 +949 + + +170 +297 +947 + + +297 +636 +941 + + +637 +2279 +941 + + +2283 +2351 +2 + + + + + + +beginLine +module + + +12 + + +1 +2 +1188 + + +2 +3 +1761 + + +3 +4 +510 + + +4 +5 +792 + + +5 +6 +792 + + +6 +9 +1114 + + +9 +11 +726 + + +11 +14 +1084 + + +14 +25 +955 + + +25 +42 +942 + + +42 +71 +976 + + +71 +177 +942 + + +177 +1104 +758 + + + + + + +beginLine +beginColumn + + +12 + + +1 +6 +995 + + +6 +8 +486 + + +8 +9 +780 + + +9 +11 +1091 + + +11 +13 +952 + + +13 +16 +1093 + + +16 +19 +954 + + +19 +23 +1128 + + +23 +29 +954 + + +29 +38 +972 + + +38 +47 +980 + + +47 +59 +976 + + +59 +75 +984 + + +75 +542 +196 + + + + + + +beginLine +endLine + + +12 + + +1 +2 +3511 + + +2 +3 +3490 + + +3 +4 +1501 + + +4 +5 +767 + + +5 +7 +1110 + + +7 +10 +988 + + +10 +17 +1010 + + +17 +51 +166 + + + + + + +beginLine +endColumn + + +12 + + +1 +5 +672 + + +5 +7 +785 + + +7 +9 +868 + + +9 +12 +1028 + + +12 +16 +1156 + + +16 +20 +952 + + +20 +25 +1052 + + +25 +30 +983 + + +30 +40 +1003 + + +40 +52 +959 + + +52 +64 +1026 + + +64 +74 +951 + + +74 +89 +965 + + +89 +546 +141 + + + + + + +beginColumn +id + + +12 + + +1 +2 +1542 + + +2 +3 +877 + + +3 +5 +213 + + +5 +250154 +185 + + + + + + +beginColumn +module + + +12 + + +1 +2 +2376 + + +2 +3 +238 + + +3 +1104 +204 + + + + + + +beginColumn +beginLine + + +12 + + +1 +2 +1542 + + +2 +3 +882 + + +3 +6 +220 + + +6 +7984 +174 + + + + + + +beginColumn +endLine + + +12 + + +1 +2 +1542 + + +2 +3 +882 + + +3 +6 +220 + + +6 +7972 +174 + + + + + + +beginColumn +endColumn + + +12 + + +1 +2 +2295 + + +2 +3 +304 + + +3 +114 +211 + + +120 +161 +6 + + + + + + +endLine +id + + +12 + + +1 +8 +793 + + +8 +11 +965 + + +11 +15 +996 + + +15 +20 +1005 + + +20 +27 +1056 + + +27 +36 +1016 + + +36 +49 +981 + + +49 +65 +966 + + +65 +106 +956 + + +106 +169 +951 + + +169 +295 +947 + + +295 +626 +941 + + +627 +2214 +941 + + +2217 +2349 +19 + + + + + + +endLine +module + + +12 + + +1 +2 +1210 + + +2 +3 +1754 + + +3 +4 +526 + + +4 +5 +797 + + +5 +6 +760 + + +6 +9 +1109 + + +9 +11 +732 + + +11 +14 +1078 + + +14 +25 +947 + + +25 +42 +956 + + +42 +70 +942 + + +70 +170 +941 + + +170 +1104 +782 + + + + + + +endLine +beginLine + + +12 + + +1 +2 +4048 + + +2 +3 +3046 + + +3 +4 +1345 + + +4 +5 +851 + + +5 +7 +1021 + + +7 +10 +1010 + + +10 +17 +1010 + + +17 +34 +203 + + + + + + +endLine +beginColumn + + +12 + + +1 +6 +999 + + +6 +9 +1140 + + +9 +11 +1056 + + +11 +13 +933 + + +13 +16 +1154 + + +16 +19 +992 + + +19 +23 +1129 + + +23 +29 +999 + + +29 +38 +981 + + +38 +47 +983 + + +47 +59 +985 + + +59 +75 +988 + + +75 +542 +192 + + + + + + +endLine +endColumn + + +12 + + +1 +6 +1045 + + +6 +8 +1010 + + +8 +11 +1073 + + +11 +14 +933 + + +14 +18 +1055 + + +18 +23 +1084 + + +23 +28 +1020 + + +28 +36 +984 + + +36 +48 +999 + + +48 +60 +991 + + +60 +70 +959 + + +70 +84 +963 + + +84 +547 +418 + + + + + + +endColumn +id + + +12 + + +1 +2 +1505 + + +2 +3 +972 + + +3 +5 +227 + + +5 +41083 +221 + + +42453 +55223 +13 + + + + + + +endColumn +module + + +12 + + +1 +2 +2435 + + +2 +3 +264 + + +3 +782 +221 + + +782 +1104 +18 + + + + + + +endColumn +beginLine + + +12 + + +1 +2 +1606 + + +2 +3 +902 + + +3 +6 +228 + + +6 +6777 +202 + + + + + + +endColumn +beginColumn + + +12 + + +1 +2 +2250 + + +2 +3 +408 + + +3 +56 +221 + + +56 +79 +59 + + + + + + +endColumn +endLine + + +12 + + +1 +2 +1606 + + +2 +3 +902 + + +3 +6 +228 + + +6 +6726 +202 + + + + + + + + +py_module_path +3066 + + +module +3066 + + +file +3066 + + + + +module +file + + +12 + + +1 +2 +3066 + + + + + + +file +module + + +12 + + +1 +2 +3066 + + + + + + + + +file_contents +100 + + +file +3066 + + +contents +100 + + + + +file +contents + + +12 + + +1 +2 +100 + + + + + + +contents +file + + +12 + + +1 +2 +100 + + + + + + + + +variable +242770 + + +id +242770 + + +scope +50174 + + +name +54891 + + + + +id +scope + + +12 + + +1 +2 +242770 + + + + + + +id +name + + +12 + + +1 +2 +242770 + + + + + + +scope +id + + +12 + + +1 +2 +10764 + + +2 +3 +14394 + + +3 +4 +7657 + + +4 +5 +4580 + + +5 +6 +2991 + + +6 +9 +4606 + + +9 +22 +3819 + + +22 +233 +1360 + + + + + + +scope +name + + +12 + + +1 +2 +10764 + + +2 +3 +14394 + + +3 +4 +7657 + + +4 +5 +4580 + + +5 +6 +2991 + + +6 +9 +4606 + + +9 +22 +3819 + + +22 +233 +1360 + + + + + + +name +id + + +12 + + +1 +2 +36525 + + +2 +3 +8506 + + +3 +5 +4396 + + +5 +20 +4134 + + +20 +10542 +1327 + + + + + + +name +scope + + +12 + + +1 +2 +36525 + + +2 +3 +8506 + + +3 +5 +4396 + + +5 +20 +4134 + + +20 +10542 +1327 + + + + + + + + +py_line_lengths +100 + + +id +100 + + +file +100 + + +line +100 + + +length +100 + + + + +id +file + + +12 + + +1 +2 +2 + + + + + + +id +line + + +12 + + +1 +2 +2 + + + + + + +id +length + + +12 + + +1 +2 +2 + + + + + + +file +id + + +12 + + + + + +file +line + + +12 + + + + + +file +length + + +12 + + + + + +line +id + + +12 + + + + + +line +file + + +12 + + + + + +line +length + + +12 + + + + + +length +id + + +12 + + + + + +length +file + + +12 + + + + + +length +line + + +12 + + + + + + + +py_Classes +10244 + + +id +10244 + + +parent +10244 + + + + +id +parent + + +12 + + +1 +2 +10244 + + + + + + +parent +id + + +12 + + +1 +2 +10244 + + + + + + + + +py_Functions +44860 + + +id +44860 + + +parent +44860 + + + + +id +parent + + +12 + + +1 +2 +44860 + + + + + + +parent +id + + +12 + + +1 +2 +44860 + + + + + + + + +py_Modules +5983 + + +id +5983 + + + + + +py_patterns +1000 + + +id +1000 + + +kind +13 + + +parent +1000 + + +idx +100 + + + + + +py_pattern_lists +1000 + + +id +1000 + + +parent +1000 + + +idx +100 + + + + + +py_extracted_version +3337 + + +module +3337 + + +version +1 + + + + +module +version + + +12 + + +1 +2 +3337 + + + + + + +version +module + + +12 + + +3337 +3338 +1 + + + + + + + + +py_StringParts +6399 + + +id +6399 + + +parent +2296 + + +idx +62 + + + + +id +parent + + +12 + + +1 +2 +6399 + + + + + + +id +idx + + +12 + + +1 +2 +6399 + + + + + + +parent +id + + +12 + + +2 +3 +1598 + + +3 +4 +380 + + +4 +5 +142 + + +5 +63 +176 + + + + + + +parent +idx + + +12 + + +2 +3 +1598 + + +3 +4 +380 + + +4 +5 +142 + + +5 +63 +176 + + + + + + +idx +id + + +12 + + +4 +5 +17 + + +5 +6 +23 + + +6 +9 +5 + + +9 +14 +5 + + +16 +59 +5 + + +72 +699 +5 + + +2296 +2297 +2 + + + + + + +idx +parent + + +12 + + +4 +5 +17 + + +5 +6 +23 + + +6 +9 +5 + + +9 +14 +5 + + +16 +59 +5 + + +72 +699 +5 + + +2296 +2297 +2 + + + + + + + + +py_StringPart_lists +2296 + + +id +2296 + + +parent +2296 + + + + +id +parent + + +12 + + +1 +2 +2296 + + + + + + +parent +id + + +12 + + +1 +2 +2296 + + + + + + + + +py_aliases +21374 + + +id +21374 + + +parent +14396 + + +idx +110 + + + + +id +parent + + +12 + + +1 +2 +21374 + + + + + + +id +idx + + +12 + + +1 +2 +21374 + + + + + + +parent +id + + +12 + + +1 +2 +11488 + + +2 +3 +1597 + + +3 +7 +1116 + + +7 +111 +195 + + + + + + +parent +idx + + +12 + + +1 +2 +11488 + + +2 +3 +1597 + + +3 +7 +1116 + + +7 +111 +195 + + + + + + +idx +id + + +12 + + +1 +2 +21 + + +2 +3 +2 + + +3 +4 +30 + + +4 +5 +4 + + +5 +6 +9 + + +6 +9 +10 + + +9 +15 +8 + + +18 +32 +9 + + +36 +113 +9 + + +142 +14397 +8 + + + + + + +idx +parent + + +12 + + +1 +2 +21 + + +2 +3 +2 + + +3 +4 +30 + + +4 +5 +4 + + +5 +6 +9 + + +6 +9 +10 + + +9 +15 +8 + + +18 +32 +9 + + +36 +113 +9 + + +142 +14397 +8 + + + + + + + + +py_alias_lists +14396 + + +id +14396 + + +parent +14396 + + + + +id +parent + + +12 + + +1 +2 +14396 + + + + + + +parent +id + + +12 + + +1 +2 +14396 + + + + + + + + +py_arguments +41982 + + +id +41982 + + +parent +41982 + + + + +id +parent + + +12 + + +1 +2 +41982 + + + + + + +parent +id + + +12 + + +1 +2 +41982 + + + + + + + + +py_bools +26986 + + +parent +26986 + + +idx +3 + + + + +parent +idx + + +12 + + +1 +2 +26986 + + + + + + +idx +parent + + +12 + + +964 +965 +1 + + +3487 +3488 +1 + + +22535 +22536 +1 + + + + + + + + +py_boolops +10907 + + +id +10907 + + +kind +2 + + +parent +10907 + + + + +id +kind + + +12 + + +1 +2 +10907 + + + + + + +id +parent + + +12 + + +1 +2 +10907 + + + + + + +kind +id + + +12 + + +2646 +2647 +1 + + +5231 +5232 +1 + + + + + + +kind +parent + + +12 + + +2646 +2647 +1 + + +5231 +5232 +1 + + + + + + +parent +id + + +12 + + +1 +2 +10907 + + + + + + +parent +kind + + +12 + + +1 +2 +10907 + + + + + + + + +py_bytes +211200 + + +id +48658 + + +parent +105600 + + +idx +2 + + + + +id +parent + + +12 + + +1 +2 +37453 + + +2 +3 +6003 + + +3 +8 +3791 + + +8 +71667 +1411 + + + + + + +id +idx + + +12 + + +1 +2 +48644 + + +2 +3 +14 + + + + + + +parent +id + + +12 + + +1 +2 +14 + + +2 +3 +105586 + + + + + + +parent +idx + + +12 + + +2 +3 +105600 + + + + + + +idx +id + + +12 + + +14 +15 +1 + + +48658 +48659 +1 + + + + + + +idx +parent + + +12 + + +105600 +105601 +2 + + + + + + + + +py_cmpops +38007 + + +id +38007 + + +kind +29 + + +parent +37666 + + +idx +8 + + + + +id +kind + + +12 + + +1 +2 +38007 + + + + + + +id +parent + + +12 + + +1 +2 +38007 + + + + + + +id +idx + + +12 + + +1 +2 +38007 + + + + + + +kind +id + + +12 + + +380 +381 +2 + + +440 +441 +2 + + +563 +564 +2 + + +615 +616 +2 + + +673 +674 +2 + + +1027 +1028 +2 + + +1529 +1530 +2 + + +1597 +1598 +2 + + +2144 +2145 +2 + + +3828 +3829 +2 + + + + + + +kind +parent + + +12 + + +317 +318 +2 + + +439 +440 +2 + + +563 +564 +2 + + +612 +613 +2 + + +669 +670 +2 + + +1027 +1028 +2 + + +1529 +1530 +2 + + +1597 +1598 +2 + + +2144 +2145 +2 + + +3819 +3820 +2 + + + + + + +kind +idx + + +12 + + +1 +2 +11 + + +2 +3 +14 + + +3 +4 +2 + + + + + + +parent +id + + +12 + + +1 +2 +37330 + + +2 +4 +335 + + + + + + +parent +kind + + +12 + + +1 +2 +37562 + + +2 +3 +103 + + + + + + +parent +idx + + +12 + + +1 +2 +37330 + + +2 +4 +335 + + + + + + +idx +id + + +12 + + +2 +3 +2 + + +113 +114 +2 + + +12681 +12682 +2 + + + + + + +idx +kind + + +12 + + +1 +2 +2 + + +6 +7 +2 + + +10 +11 +2 + + + + + + +idx +parent + + +12 + + +2 +3 +2 + + +113 +114 +2 + + +12681 +12682 +2 + + + + + + + + +py_cmpop_lists +37666 + + +id +37666 + + +parent +37666 + + + + +id +parent + + +12 + + +1 +2 +37666 + + + + + + +parent +id + + +12 + + +1 +2 +37666 + + + + + + + + +py_comprehensions +1688 + + +id +1688 + + +parent +1682 + + +idx +2 + + + + +id +parent + + +12 + + +1 +2 +1688 + + + + + + +id +idx + + +12 + + +1 +2 +1688 + + + + + + +parent +id + + +12 + + +1 +2 +1676 + + +2 +3 +6 + + + + + + +parent +idx + + +12 + + +1 +2 +1676 + + +2 +3 +6 + + + + + + +idx +id + + +12 + + +6 +7 +1 + + +1682 +1683 +1 + + + + + + +idx +parent + + +12 + + +6 +7 +1 + + +1682 +1683 +1 + + + + + + + + +py_comprehension_lists +1682 + + +id +1682 + + +parent +1682 + + + + +id +parent + + +12 + + +1 +2 +1682 + + + + + + +parent +id + + +12 + + +1 +2 +1682 + + + + + + + + +py_dict_items +167901 + + +id +167901 + + +kind +4 + + +parent +19804 + + +idx +7730 + + + + +id +kind + + +12 + + +1 +2 +167901 + + + + + + +id +parent + + +12 + + +1 +2 +167901 + + + + + + +id +idx + + +12 + + +1 +2 +167901 + + + + + + +kind +id + + +12 + + +326 +327 +1 + + +53883 +53884 +1 + + +67045 +67046 +1 + + + + + + +kind +parent + + +12 + + +326 +327 +1 + + +1881 +1882 +1 + + +12123 +12124 +1 + + + + + + +kind +idx + + +12 + + +7 +8 +1 + + +18 +19 +1 + + +5583 +5584 +1 + + + + + + +parent +id + + +12 + + +1 +2 +5811 + + +2 +3 +1851 + + +3 +6 +1700 + + +6 +7 +8083 + + +7 +12 +1826 + + +12 +5584 +530 + + + + + + +parent +kind + + +12 + + +1 +2 +19765 + + +2 +3 +38 + + + + + + +parent +idx + + +12 + + +1 +2 +5811 + + +2 +3 +1851 + + +3 +6 +1700 + + +6 +7 +8083 + + +7 +12 +1826 + + +12 +5584 +530 + + + + + + +idx +id + + +12 + + +1 +2 +1654 + + +2 +3 +1982 + + +3 +4 +811 + + +4 +6 +192 + + +6 +7 +753 + + +7 +8 +962 + + +8 +20 +610 + + +20 +69 +584 + + +69 +14303 +178 + + + + + + +idx +kind + + +12 + + +1 +2 +7705 + + +2 +4 +24 + + + + + + +idx +parent + + +12 + + +1 +2 +1654 + + +2 +3 +1982 + + +3 +4 +811 + + +4 +6 +192 + + +6 +7 +753 + + +7 +8 +962 + + +8 +20 +610 + + +20 +69 +584 + + +69 +14303 +178 + + + + + + + + +py_dict_item_lists +33758 + + +id +33758 + + +parent +33758 + + + + +id +parent + + +12 + + +1 +2 +33758 + + + + + + +parent +id + + +12 + + +1 +2 +33758 + + + + + + + + +py_exprs +1684031 + + +id +1684031 + + +kind +89 + + +parent +1380134 + + +idx +597 + + + + +id +kind + + +12 + + +1 +2 +1684031 + + + + + + +id +parent + + +12 + + +1 +2 +1684031 + + + + + + +id +idx + + +12 + + +1 +2 +1684031 + + + + + + +kind +id + + +12 + + +15 +28 +5 + + +39 +89 +5 + + +134 +189 +5 + + +281 +360 +5 + + +426 +570 +5 + + +1056 +1205 +5 + + +1327 +1791 +5 + + +1942 +3179 +5 + + +3398 +4019 +5 + + +4476 +4980 +5 + + +8519 +9720 +5 + + +10633 +12682 +5 + + +13945 +16376 +5 + + +46173 +58988 +5 + + +75624 +284809 +5 + + + + + + +kind +parent + + +12 + + +15 +28 +5 + + +39 +87 +5 + + +134 +175 +5 + + +271 +359 +5 + + +426 +560 +5 + + +1036 +1119 +5 + + +1327 +1791 +5 + + +1942 +3179 +5 + + +3357 +3716 +5 + + +4285 +4980 +5 + + +8177 +9473 +5 + + +10060 +11624 +5 + + +13945 +15094 +5 + + +35526 +57772 +5 + + +72662 +245283 +5 + + + + + + +kind +idx + + +12 + + +1 +2 +8 + + +2 +3 +17 + + +3 +4 +2 + + +5 +6 +5 + + +6 +7 +11 + + +8 +9 +2 + + +9 +10 +5 + + +11 +12 +5 + + +12 +13 +5 + + +15 +18 +5 + + +23 +27 +5 + + +37 +127 +5 + + +201 +202 +2 + + + + + + +parent +id + + +12 + + +1 +2 +1147073 + + +2 +3 +197316 + + +3 +202 +35744 + + + + + + +parent +kind + + +12 + + +1 +2 +1255206 + + +2 +3 +120198 + + +3 +11 +4728 + + + + + + +parent +idx + + +12 + + +1 +2 +1147073 + + +2 +3 +197316 + + +3 +202 +35744 + + + + + + +idx +id + + +12 + + +1 +2 +23 + + +2 +3 +199 + + +3 +4 +148 + + +4 +6 +35 + + +6 +8 +50 + + +9 +26 +47 + + +26 +102 +47 + + +113 +197687 +44 + + + + + + +idx +kind + + +12 + + +1 +2 +222 + + +2 +3 +258 + + +3 +4 +8 + + +4 +5 +47 + + +5 +21 +47 + + +22 +29 +11 + + + + + + +idx +parent + + +12 + + +1 +2 +23 + + +2 +3 +199 + + +3 +4 +148 + + +4 +6 +35 + + +6 +8 +50 + + +9 +26 +47 + + +26 +102 +47 + + +113 +197687 +44 + + + + + + + + +py_expr_contexts +1140675 + + +id +1140675 + + +kind +11 + + +parent +1140675 + + + + +id +kind + + +12 + + +1 +2 +1140675 + + + + + + +id +parent + + +12 + + +1 +2 +1140675 + + + + + + +kind +id + + +12 + + +446 +447 +2 + + +29477 +29478 +2 + + +66896 +66897 +2 + + +287209 +287210 +2 + + + + + + +kind +parent + + +12 + + +446 +447 +2 + + +29477 +29478 +2 + + +66896 +66897 +2 + + +287209 +287210 +2 + + + + + + +parent +id + + +12 + + +1 +2 +1140675 + + + + + + +parent +kind + + +12 + + +1 +2 +1140675 + + + + + + + + +py_expr_lists +430986 + + +id +430986 + + +parent +423623 + + +idx +17 + + + + +id +parent + + +12 + + +1 +2 +430986 + + + + + + +id +idx + + +12 + + +1 +2 +430986 + + + + + + +parent +id + + +12 + + +1 +2 +416966 + + +2 +5 +6656 + + + + + + +parent +idx + + +12 + + +1 +2 +416966 + + +2 +5 +6656 + + + + + + +idx +id + + +12 + + +175 +176 +5 + + +2522 +2523 +2 + + +12681 +12682 +2 + + +54095 +54096 +2 + + +75451 +75452 +2 + + + + + + +idx +parent + + +12 + + +175 +176 +5 + + +2522 +2523 +2 + + +12681 +12682 +2 + + +54095 +54096 +2 + + +75451 +75452 +2 + + + + + + + + +py_ints +21532 + + +id +4 + + +parent +21532 + + + + +id +parent + + +12 + + +2 +3 +1 + + +207 +208 +1 + + +2770 +2771 +1 + + +18553 +18554 +1 + + + + + + +parent +id + + +12 + + +1 +2 +21532 + + + + + + + + +py_locations +2184728 + + +id +2184728 + + +parent +2184728 + + + + +id +parent + + +12 + + +1 +2 +2184728 + + + + + + +parent +id + + +12 + + +1 +2 +2184728 + + + + + + + + +py_numbers +117446 + + +id +4249 + + +parent +58723 + + +idx +2 + + + + +id +parent + + +12 + + +1 +2 +2830 + + +2 +3 +632 + + +3 +4 +291 + + +4 +11 +320 + + +11 +15704 +176 + + + + + + +id +idx + + +12 + + +1 +2 +1355 + + +2 +3 +2894 + + + + + + +parent +id + + +12 + + +1 +2 +57251 + + +2 +3 +1472 + + + + + + +parent +idx + + +12 + + +2 +3 +58723 + + + + + + +idx +id + + +12 + + +3302 +3303 +1 + + +3841 +3842 +1 + + + + + + +idx +parent + + +12 + + +58723 +58724 +2 + + + + + + + + +py_operators +28868 + + +id +28868 + + +kind +35 + + +parent +28868 + + + + +id +kind + + +12 + + +1 +2 +28868 + + + + + + +id +parent + + +12 + + +1 +2 +28868 + + + + + + +kind +id + + +12 + + +53 +54 +2 + + +64 +65 +2 + + +94 +95 +2 + + +121 +122 +2 + + +122 +123 +2 + + +169 +170 +2 + + +268 +269 +2 + + +269 +270 +2 + + +747 +748 +2 + + +1056 +1057 +2 + + +2176 +2177 +2 + + +4580 +4581 +2 + + + + + + +kind +parent + + +12 + + +53 +54 +2 + + +64 +65 +2 + + +94 +95 +2 + + +121 +122 +2 + + +122 +123 +2 + + +169 +170 +2 + + +268 +269 +2 + + +269 +270 +2 + + +747 +748 +2 + + +1056 +1057 +2 + + +2176 +2177 +2 + + +4580 +4581 +2 + + + + + + +parent +id + + +12 + + +1 +2 +28868 + + + + + + +parent +kind + + +12 + + +1 +2 +28868 + + + + + + + + +py_parameter_lists +43271 + + +id +43271 + + +parent +43271 + + + + +id +parent + + +12 + + +1 +2 +43271 + + + + + + +parent +id + + +12 + + +1 +2 +43271 + + + + + + + + +py_stmts +372643 + + +id +372643 + + +kind +59 + + +parent +156700 + + +idx +888 + + + + +id +kind + + +12 + + +1 +2 +372643 + + + + + + +id +parent + + +12 + + +1 +2 +372643 + + + + + + +id +idx + + +12 + + +1 +2 +372643 + + + + + + +kind +id + + +12 + + +12 +13 +2 + + +47 +48 +2 + + +132 +133 +2 + + +387 +388 +2 + + +404 +405 +2 + + +559 +560 +2 + + +572 +573 +2 + + +673 +674 +2 + + +720 +721 +2 + + +967 +968 +2 + + +1231 +1232 +2 + + +1889 +1890 +2 + + +2091 +2092 +2 + + +2624 +2625 +2 + + +3001 +3002 +2 + + +3870 +3871 +2 + + +12163 +12164 +2 + + +18052 +18053 +2 + + +25032 +25033 +2 + + +51031 +51032 +2 + + + + + + +kind +parent + + +12 + + +12 +13 +2 + + +37 +38 +2 + + +123 +124 +2 + + +356 +357 +2 + + +404 +405 +2 + + +471 +472 +2 + + +557 +558 +2 + + +572 +573 +2 + + +677 +678 +2 + + +967 +968 +2 + + +984 +985 +2 + + +1094 +1095 +2 + + +1777 +1778 +2 + + +1895 +1896 +2 + + +2624 +2625 +2 + + +3544 +3545 +2 + + +12163 +12164 +2 + + +12758 +12759 +2 + + +18445 +18446 +2 + + +20426 +20427 +2 + + + + + + +kind +idx + + +12 + + +2 +3 +5 + + +6 +7 +2 + + +7 +8 +5 + + +8 +9 +2 + + +13 +14 +2 + + +15 +16 +2 + + +18 +19 +5 + + +21 +22 +2 + + +27 +28 +2 + + +33 +34 +2 + + +37 +38 +2 + + +38 +39 +2 + + +42 +43 +2 + + +51 +52 +2 + + +84 +85 +2 + + +187 +188 +2 + + +293 +294 +2 + + + + + + +parent +id + + +12 + + +1 +2 +96284 + + +2 +3 +25704 + + +3 +4 +11789 + + +4 +7 +14376 + + +7 +300 +8545 + + + + + + +parent +kind + + +12 + + +1 +2 +106000 + + +2 +3 +31003 + + +3 +4 +12071 + + +4 +9 +7624 + + + + + + +parent +idx + + +12 + + +1 +2 +96284 + + +2 +3 +25704 + + +3 +4 +11789 + + +4 +7 +14376 + + +7 +300 +8545 + + + + + + +idx +id + + +12 + + +1 +2 +335 + + +2 +5 +59 + + +5 +6 +83 + + +6 +14 +74 + + +14 +25 +68 + + +25 +53 +68 + + +53 +103 +68 + + +107 +335 +68 + + +369 +52757 +62 + + + + + + +idx +kind + + +12 + + +1 +2 +344 + + +2 +3 +267 + + +3 +4 +83 + + +4 +5 +62 + + +5 +10 +71 + + +10 +21 +59 + + + + + + +idx +parent + + +12 + + +1 +2 +335 + + +2 +5 +59 + + +5 +6 +83 + + +6 +14 +74 + + +14 +25 +68 + + +25 +53 +68 + + +53 +103 +68 + + +107 +335 +68 + + +369 +52757 +62 + + + + + + + + +py_stmt_lists +156700 + + +id +156700 + + +parent +132647 + + +idx +14 + + + + +id +parent + + +12 + + +1 +2 +156700 + + + + + + +id +idx + + +12 + + +1 +2 +156700 + + + + + + +parent +id + + +12 + + +1 +2 +109538 + + +2 +3 +22179 + + +3 +5 +929 + + + + + + +parent +idx + + +12 + + +1 +2 +109538 + + +2 +3 +22179 + + +3 +5 +929 + + + + + + +idx +id + + +12 + + +460 +461 +2 + + +4033 +4034 +2 + + +13686 +13687 +2 + + +15103 +15104 +2 + + +19474 +19475 +2 + + + + + + +idx +parent + + +12 + + +460 +461 +2 + + +4033 +4034 +2 + + +13686 +13687 +2 + + +15103 +15104 +2 + + +19474 +19475 +2 + + + + + + + + +py_strs +985327 + + +id +140335 + + +parent +695288 + + +idx +5 + + + + +id +parent + + +12 + + +1 +2 +79968 + + +2 +3 +31802 + + +3 +4 +9602 + + +4 +8 +11026 + + +8 +143732 +7935 + + + + + + +id +idx + + +12 + + +1 +2 +106110 + + +2 +3 +22027 + + +3 +4 +12190 + + +4 +5 +6 + + + + + + +parent +id + + +12 + + +1 +2 +405951 + + +2 +3 +289317 + + +3 +5 +19 + + + + + + +parent +idx + + +12 + + +1 +2 +405275 + + +2 +3 +289993 + + +3 +5 +19 + + + + + + +idx +id + + +12 + + +34 +35 +1 + + +17059 +17060 +1 + + +25371 +25372 +1 + + +92414 +92415 +1 + + + + + + +idx +parent + + +12 + + +42 +43 +1 + + +37559 +37560 +1 + + +294366 +294367 +1 + + +379612 +379613 +1 + + + + + + + + +py_str_lists +427 + + +id +427 + + +parent +427 + + + + +id +parent + + +12 + + +1 +2 +427 + + + + + + +parent +id + + +12 + + +1 +2 +427 + + + + + + + + +py_unaryops +13295 + + +id +13295 + + +kind +11 + + +parent +13295 + + + + +id +kind + + +12 + + +1 +2 +13295 + + + + + + +id +parent + + +12 + + +1 +2 +13295 + + + + + + +kind +id + + +12 + + +5 +6 +2 + + +20 +21 +2 + + +1537 +1538 +2 + + +2914 +2915 +2 + + + + + + +kind +parent + + +12 + + +5 +6 +2 + + +20 +21 +2 + + +1537 +1538 +2 + + +2914 +2915 +2 + + + + + + +parent +id + + +12 + + +1 +2 +13295 + + + + + + +parent +kind + + +12 + + +1 +2 +13295 + + + + + + + + +py_variables +845963 + + +id +242770 + + +parent +845963 + + + + +id +parent + + +12 + + +1 +2 +61149 + + +2 +3 +77254 + + +3 +4 +38584 + + +4 +5 +21392 + + +5 +7 +20913 + + +7 +15 +18418 + + +15 +318 +5058 + + + + + + +parent +id + + +12 + + +1 +2 +845963 + + + + + + + + +py_absolute_names +100 + + +module +100 + + +relname +100 + + +absname +100 + + + + +module +relname + + +12 + + + + + +module +absname + + +12 + + + + + +relname +module + + +12 + + + + + +relname +absname + + +12 + + + + + +absname +module + + +12 + + + + + +absname +relname + + +12 + + + + + + + +py_exports +19755 + + +id +1138 + + +name +16813 + + + + +id +name + + +12 + + +1 +2 +141 + + +2 +3 +164 + + +3 +4 +109 + + +4 +5 +112 + + +5 +7 +103 + + +7 +10 +91 + + +10 +14 +88 + + +14 +20 +90 + + +20 +33 +94 + + +33 +53 +90 + + +53 +2260 +52 + + + + + + +name +id + + +12 + + +1 +2 +16070 + + +2 +143 +742 + + + + + + + + +py_successors +2366367 + + +predecessor +2270167 + + +successor +2275369 + + + + +predecessor +successor + + +12 + + +1 +2 +2177926 + + +2 +9 +92240 + + + + + + +successor +predecessor + + +12 + + +1 +2 +2225590 + + +2 +173 +49778 + + + + + + + + +py_true_successors +70315 + + +predecessor +70315 + + +successor +67897 + + + + +predecessor +successor + + +12 + + +1 +2 +70315 + + + + + + +successor +predecessor + + +12 + + +1 +2 +65747 + + +2 +7 +2150 + + + + + + + + +py_exception_successors +43951 + + +predecessor +39261 + + +successor +6911 + + + + +predecessor +successor + + +12 + + +1 +2 +35379 + + +2 +3 +3448 + + +3 +7 +433 + + + + + + +successor +predecessor + + +12 + + +1 +2 +1045 + + +2 +3 +1497 + + +3 +4 +1271 + + +4 +5 +760 + + +5 +6 +463 + + +6 +8 +519 + + +8 +12 +525 + + +12 +27 +534 + + +27 +173 +294 + + + + + + + + +py_false_successors +69439 + + +predecessor +69439 + + +successor +59260 + + + + +predecessor +successor + + +12 + + +1 +2 +69439 + + + + + + +successor +predecessor + + +12 + + +1 +2 +51296 + + +2 +3 +6510 + + +3 +13 +1452 + + + + + + + + +py_flow_bb_node +2323431 + + +flownode +2323431 + + +realnode +2208164 + + +basicblock +215280 + + +index +23948 + + + + +flownode +realnode + + +12 + + +1 +2 +2323431 + + + + + + +flownode +basicblock + + +12 + + +1 +2 +2323431 + + + + + + +flownode +index + + +12 + + +1 +2 +2323431 + + + + + + +realnode +flownode + + +12 + + +1 +2 +2102771 + + +2 +9 +105392 + + + + + + +realnode +basicblock + + +12 + + +1 +2 +2135213 + + +2 +7 +72950 + + + + + + +realnode +index + + +12 + + +1 +2 +2155174 + + +2 +5 +52989 + + + + + + +basicblock +flownode + + +12 + + +1 +2 +37515 + + +2 +3 +17987 + + +3 +4 +19072 + + +4 +5 +17365 + + +5 +6 +17931 + + +6 +7 +13664 + + +7 +8 +10900 + + +8 +10 +16975 + + +10 +13 +17232 + + +13 +19 +17763 + + +19 +26 +16605 + + +26 +17296 +12265 + + + + + + +basicblock +realnode + + +12 + + +1 +2 +37832 + + +2 +3 +17905 + + +3 +4 +19216 + + +4 +5 +18823 + + +5 +6 +16929 + + +6 +7 +13644 + + +7 +8 +11703 + + +8 +10 +16817 + + +10 +13 +16741 + + +13 +19 +17322 + + +19 +26 +16368 + + +26 +17295 +11973 + + + + + + +basicblock +index + + +12 + + +1 +2 +37515 + + +2 +3 +17987 + + +3 +4 +19072 + + +4 +5 +17365 + + +5 +6 +17931 + + +6 +7 +13664 + + +7 +8 +10900 + + +8 +10 +16975 + + +10 +13 +17232 + + +13 +19 +17763 + + +19 +26 +16605 + + +26 +17296 +12265 + + + + + + +index +flownode + + +12 + + +1 +2 +4957 + + +2 +3 +4220 + + +3 +4 +1805 + + +4 +6 +1253 + + +6 +8 +1750 + + +8 +9 +2240 + + +9 +10 +2678 + + +10 +19 +1819 + + +19 +60 +1815 + + +60 +155471 +1408 + + + + + + +index +realnode + + +12 + + +1 +2 +4957 + + +2 +3 +4220 + + +3 +4 +1805 + + +4 +6 +1253 + + +6 +8 +1750 + + +8 +9 +2240 + + +9 +10 +2678 + + +10 +19 +1819 + + +19 +60 +1815 + + +60 +141411 +1408 + + + + + + +index +basicblock + + +12 + + +1 +2 +4957 + + +2 +3 +4220 + + +3 +4 +1805 + + +4 +6 +1253 + + +6 +8 +1750 + + +8 +9 +2240 + + +9 +10 +2678 + + +10 +19 +1819 + + +19 +60 +1815 + + +60 +155471 +1408 + + + + + + + + +py_scope_flow +405895 + + +flow +405895 + + +scope +56616 + + +kind +4 + + + + +flow +scope + + +12 + + +1 +2 +405895 + + + + + + +flow +kind + + +12 + + +1 +2 +405895 + + + + + + +scope +flow + + +12 + + +2 +3 +15663 + + +3 +4 +8677 + + +4 +5 +7135 + + +5 +6 +4823 + + +6 +7 +3426 + + +7 +9 +4807 + + +9 +13 +5102 + + +13 +23 +4277 + + +23 +767 +2706 + + + + + + +scope +kind + + +12 + + +2 +3 +16115 + + +3 +4 +39685 + + +4 +5 +816 + + + + + + +kind +flow + + +12 + + +18869 +18870 +1 + + +37919 +37920 +1 + + +56616 +56617 +1 + + +292491 +292492 +1 + + + + + + +kind +scope + + +12 + + +18869 +18870 +1 + + +37919 +37920 +1 + + +41145 +41146 +1 + + +56616 +56617 +1 + + + + + + + + +py_idoms +2275369 + + +node +2275369 + + +immediate_dominator +2207166 + + + + +node +immediate_dominator + + +12 + + +1 +2 +2275369 + + + + + + +immediate_dominator +node + + +12 + + +1 +2 +2153132 + + +2 +11 +54033 + + + + + + + + +py_ssa_phi +46687 + + +phi +21496 + + +arg +44830 + + + + +phi +arg + + +12 + + +1 +2 +1782 + + +2 +3 +16149 + + +3 +4 +2560 + + +4 +23 +1003 + + + + + + +arg +phi + + +12 + + +1 +2 +43208 + + +2 +8 +1621 + + + + + + + + +py_ssa_var +272292 + + +id +272292 + + +var +217265 + + + + +id +var + + +12 + + +1 +2 +272292 + + + + + + +var +id + + +12 + + +1 +2 +194518 + + +2 +4 +16728 + + +4 +35 +6017 + + + + + + + + +py_ssa_use +487906 + + +node +421169 + + +var +239604 + + + + +node +var + + +12 + + +1 +2 +416004 + + +2 +185 +5165 + + + + + + +var +node + + +12 + + +1 +2 +151110 + + +2 +3 +42380 + + +3 +4 +18095 + + +4 +7 +18656 + + +7 +203 +9362 + + + + + + + + +py_ssa_defn +267795 + + +id +267795 + + +node +261828 + + + + +id +node + + +12 + + +1 +2 +267795 + + + + + + +node +id + + +12 + + +1 +2 +258774 + + +2 +81 +3053 + + + + + + + + +py_scopes +2056674 + + +node +2056674 + + +scope +51911 + + + + +node +scope + + +12 + + +1 +2 +2056674 + + + + + + +scope +node + + +12 + + +1 +5 +3923 + + +5 +7 +3611 + + +7 +9 +3715 + + +9 +11 +3941 + + +11 +14 +4776 + + +14 +17 +3965 + + +17 +22 +4491 + + +22 +28 +4078 + + +28 +37 +4161 + + +37 +50 +3938 + + +50 +72 +3914 + + +72 +118 +3953 + + +118 +5003 +3439 + + + + + + + + +py_scope_location +56618 + + +id +56618 + + +scope +56618 + + + + +id +scope + + +12 + + +1 +2 +56618 + + + + + + +scope +id + + +12 + + +1 +2 +56618 + + + + + + + + +py_flags_versioned +136 + + +name +136 + + +value +83 + + +version +2 + + + + +name +value + + +12 + + +1 +2 +136 + + + + + + +value +name + + +12 + + +1 +2 +68 + + +2 +3 +11 + + +15 +16 +2 + + + + + + + + +py_syntax_error_versioned +30 + + +id +30 + + +message +4 + + +version +2 + + + + +id +message + + +12 + + +1 +2 +30 + + + + + + +message +id + + +12 + + +1 +2 +1 + + +4 +5 +1 + + +17 +18 +1 + + + + + + + + +py_comments +77830 + + +id +77830 + + +text +61555 + + +location +77830 + + + + +id +text + + +12 + + +1 +2 +77830 + + + + + + +id +location + + +12 + + +1 +2 +77830 + + + + + + +text +id + + +12 + + +1 +2 +56275 + + +2 +5 +4845 + + +5 +942 +434 + + + + + + +text +location + + +12 + + +1 +2 +56275 + + +2 +5 +4845 + + +5 +942 +434 + + + + + + +location +id + + +12 + + +1 +2 +77830 + + + + + + +location +text + + +12 + + +1 +2 +77830 + + + + + + + + +py_cobjects +112856 + + +obj +112856 + + + + + +py_cobjecttypes +111600 + + +obj +111600 + + +typeof +65 + + + + +obj +typeof + + +12 + + +1 +2 +111600 + + + + + + +typeof +obj + + +12 + + +1 +2 +27 + + +2 +3 +4 + + +3 +5 +5 + + +6 +19 +5 + + +19 +54 +5 + + +58 +295 +5 + + +325 +857 +5 + + +923 +73625 +5 + + + + + + + + +py_cobjectnames +111600 + + +obj +111600 + + +name +106332 + + + + +obj +name + + +12 + + +1 +2 +111600 + + + + + + +name +obj + + +12 + + +1 +2 +105898 + + +2 +413 +434 + + + + + + + + +py_cobject_sources +114955 + + +obj +112856 + + +kind +2 + + + + +obj +kind + + +12 + + +1 +2 +110757 + + +2 +3 +2099 + + + + + + +kind +obj + + +12 + + +2423 +2424 +1 + + +80595 +80596 +1 + + + + + + + + +py_cmembers_versioned +21362 + + +object +1681 + + +name +8322 + + +member +15501 + + +version +2 + + + + +object +name + + +12 + + +3 +4 +59 + + +4 +5 +448 + + +5 +8 +118 + + +8 +9 +582 + + +9 +12 +154 + + +12 +20 +133 + + +20 +50 +127 + + +58 +312 +56 + + + + + + +object +member + + +12 + + +3 +4 +59 + + +4 +5 +448 + + +5 +8 +118 + + +8 +9 +591 + + +9 +12 +154 + + +12 +20 +133 + + +21 +59 +127 + + +60 +206 +47 + + + + + + +name +object + + +12 + + +1 +2 +7390 + + +2 +6 +656 + + +6 +567 +276 + + + + + + +name +member + + +12 + + +1 +2 +7407 + + +2 +6 +647 + + +6 +280 +267 + + + + + + +member +object + + +12 + + +1 +2 +14765 + + +2 +249 +736 + + + + + + +member +name + + +12 + + +1 +2 +14803 + + +2 +84 +698 + + + + + + + + +py_citems +3959 + + +object +213 + + +index +593 + + +member +1906 + + + + +object +index + + +12 + + +1 +2 +41 + + +2 +3 +37 + + +3 +4 +37 + + +4 +5 +7 + + +5 +6 +29 + + +6 +12 +16 + + +12 +22 +16 + + +24 +42 +16 + + +42 +594 +14 + + + + + + +object +member + + +12 + + +1 +2 +41 + + +2 +3 +40 + + +3 +4 +34 + + +4 +5 +20 + + +5 +6 +16 + + +6 +12 +16 + + +12 +22 +16 + + +24 +42 +16 + + +42 +546 +14 + + + + + + +index +object + + +12 + + +1 +2 +186 + + +2 +3 +62 + + +3 +4 +89 + + +4 +6 +44 + + +6 +8 +41 + + +8 +9 +83 + + +9 +14 +46 + + +14 +214 +42 + + + + + + +index +member + + +12 + + +1 +2 +186 + + +2 +3 +62 + + +3 +4 +89 + + +4 +6 +44 + + +6 +8 +41 + + +8 +9 +83 + + +9 +14 +46 + + +14 +158 +42 + + + + + + +member +object + + +12 + + +1 +2 +1112 + + +2 +3 +215 + + +3 +4 +303 + + +4 +5 +101 + + +5 +7 +166 + + +7 +21 +9 + + + + + + +member +index + + +12 + + +1 +2 +1139 + + +2 +3 +212 + + +3 +4 +298 + + +4 +5 +92 + + +5 +9 +165 + + + + + + + + +ext_argtype +6320 + + +funcid +4069 + + +arg +50 + + +typeid +466 + + + + +funcid +arg + + +12 + + +1 +2 +2726 + + +2 +3 +932 + + +3 +4 +329 + + +4 +18 +80 + + + + + + +funcid +typeid + + +12 + + +1 +2 +2694 + + +2 +3 +1149 + + +3 +6 +225 + + + + + + +arg +funcid + + +12 + + +1 +2 +23 + + +2 +3 +5 + + +3 +4 +2 + + +7 +8 +2 + + +10 +11 +2 + + +31 +32 +2 + + +141 +142 +2 + + +449 +450 +2 + + +1365 +1366 +2 + + + + + + +arg +typeid + + +12 + + +1 +2 +26 + + +2 +3 +8 + + +3 +4 +2 + + +4 +5 +2 + + +8 +9 +2 + + +12 +13 +2 + + +157 +158 +2 + + + + + + +typeid +funcid + + +12 + + +1 +2 +68 + + +2 +3 +86 + + +3 +4 +68 + + +4 +5 +38 + + +5 +6 +26 + + +6 +8 +29 + + +8 +10 +35 + + +10 +16 +41 + + +16 +22 +35 + + +24 +505 +35 + + + + + + +typeid +arg + + +12 + + +1 +2 +424 + + +2 +5 +35 + + +9 +17 +5 + + + + + + + + +ext_rettype +4719 + + +funcid +4321 + + +typeid +154 + + + + +funcid +typeid + + +12 + + +1 +2 +4042 + + +2 +11 +279 + + + + + + +typeid +funcid + + +12 + + +1 +2 +59 + + +2 +3 +14 + + +3 +4 +23 + + +4 +6 +8 + + +8 +14 +11 + + +22 +40 +11 + + +43 +115 +11 + + +116 +454 +11 + + + + + + + + +ext_proptype +398 + + +propid +386 + + +typeid +32 + + + + +propid +typeid + + +12 + + +1 +2 +374 + + +2 +3 +11 + + + + + + +typeid +propid + + +12 + + +1 +2 +11 + + +2 +3 +2 + + +7 +8 +5 + + +8 +9 +2 + + +19 +20 +2 + + +35 +36 +2 + + +52 +53 +2 + + + + + + + + +ext_argreturn +26 + + +funcid +26 + + +arg +5 + + + + +funcid +arg + + +12 + + +1 +2 +26 + + + + + + +arg +funcid + + +12 + + +2 +3 +2 + + +7 +8 +2 + + + + + + + + +py_special_objects +40 + + +obj +40 + + +name +40 + + + + +obj +name + + +12 + + +1 +2 +40 + + + + + + +name +obj + + +12 + + +1 +2 +40 + + + + + + + + +py_decorated_object +100 + + +object +100 + + +level +100 + + + + +object +level + + +12 + + + + + +level +object + + +12 + + + + + + + +xmlEncoding +100 + + +id +100 + + +encoding +100 + + + + +id +encoding + + +12 + + +1 +2 +2 + + + + + + +encoding +id + + +12 + + + + + + + +xmlDTDs +100 + + +id +100 + + +root +100 + + +publicId +100 + + +systemId +100 + + +fileid +100 + + + + +id +root + + +12 + + +1 +2 +2 + + + + + + +id +publicId + + +12 + + +1 +2 +2 + + + + + + +id +systemId + + +12 + + +1 +2 +2 + + + + + + +id +fileid + + +12 + + +1 +2 +2 + + + + + + +root +id + + +12 + + + + + +root +publicId + + +12 + + + + + +root +systemId + + +12 + + + + + +root +fileid + + +12 + + + + + +publicId +id + + +12 + + + + + +publicId +root + + +12 + + + + + +publicId +systemId + + +12 + + + + + +publicId +fileid + + +12 + + + + + +systemId +id + + +12 + + + + + +systemId +root + + +12 + + + + + +systemId +publicId + + +12 + + + + + +systemId +fileid + + +12 + + + + + +fileid +id + + +12 + + + + + +fileid +root + + +12 + + + + + +fileid +publicId + + +12 + + + + + +fileid +systemId + + +12 + + + + + + + +xmlElements +100 + + +id +100 + + +name +100 + + +parentid +100 + + +idx +100 + + +fileid +100 + + + + +id +name + + +12 + + +1 +2 +2 + + + + + + +id +parentid + + +12 + + +1 +2 +2 + + + + + + +id +idx + + +12 + + +1 +2 +2 + + + + + + +id +fileid + + +12 + + +1 +2 +2 + + + + + + +name +id + + +12 + + + + + +name +parentid + + +12 + + + + + +name +idx + + +12 + + + + + +name +fileid + + +12 + + + + + +parentid +id + + +12 + + + + + +parentid +name + + +12 + + + + + +parentid +idx + + +12 + + + + + +parentid +fileid + + +12 + + + + + +idx +id + + +12 + + + + + +idx +name + + +12 + + + + + +idx +parentid + + +12 + + + + + +idx +fileid + + +12 + + + + + +fileid +id + + +12 + + + + + +fileid +name + + +12 + + + + + +fileid +parentid + + +12 + + + + + +fileid +idx + + +12 + + + + + + + +xmlAttrs +100 + + +id +100 + + +elementid +100 + + +name +100 + + +value +100 + + +idx +100 + + +fileid +100 + + + + +id +elementid + + +12 + + +1 +2 +1 + + + + + + +id +name + + +12 + + +1 +2 +1 + + + + + + +id +value + + +12 + + +1 +2 +1 + + + + + + +id +idx + + +12 + + +1 +2 +1 + + + + + + +id +fileid + + +12 + + +1 +2 +1 + + + + + + +elementid +id + + +12 + + + + + +elementid +name + + +12 + + + + + +elementid +value + + +12 + + + + + +elementid +idx + + +12 + + + + + +elementid +fileid + + +12 + + + + + +name +id + + +12 + + + + + +name +elementid + + +12 + + + + + +name +value + + +12 + + + + + +name +idx + + +12 + + + + + +name +fileid + + +12 + + + + + +value +id + + +12 + + + + + +value +elementid + + +12 + + + + + +value +name + + +12 + + + + + +value +idx + + +12 + + + + + +value +fileid + + +12 + + + + + +idx +id + + +12 + + + + + +idx +elementid + + +12 + + + + + +idx +name + + +12 + + + + + +idx +value + + +12 + + + + + +idx +fileid + + +12 + + + + + +fileid +id + + +12 + + + + + +fileid +elementid + + +12 + + + + + +fileid +name + + +12 + + + + + +fileid +value + + +12 + + + + + +fileid +idx + + +12 + + + + + + + +xmlNs +100 + + +id +100 + + +prefixName +100 + + +URI +100 + + +fileid +100 + + + + +id +prefixName + + +12 + + + + + +id +URI + + +12 + + + + + +id +fileid + + +12 + + + + + +prefixName +id + + +12 + + + + + +prefixName +URI + + +12 + + + + + +prefixName +fileid + + +12 + + + + + +URI +id + + +12 + + + + + +URI +prefixName + + +12 + + + + + +URI +fileid + + +12 + + + + + +fileid +id + + +12 + + + + + +fileid +prefixName + + +12 + + + + + +fileid +URI + + +12 + + + + + + + +xmlHasNs +100 + + +elementId +100 + + +nsId +100 + + +fileid +100 + + + + +elementId +nsId + + +12 + + + + + +elementId +fileid + + +12 + + + + + +nsId +elementId + + +12 + + + + + +nsId +fileid + + +12 + + + + + +fileid +elementId + + +12 + + + + + +fileid +nsId + + +12 + + + + + + + +xmlComments +100 + + +id +100 + + +text +100 + + +parentid +100 + + +fileid +100 + + + + +id +text + + +12 + + +1 +2 +2 + + + + + + +id +parentid + + +12 + + +1 +2 +2 + + + + + + +id +fileid + + +12 + + +1 +2 +2 + + + + + + +text +id + + +12 + + + + + +text +parentid + + +12 + + + + + +text +fileid + + +12 + + + + + +parentid +id + + +12 + + + + + +parentid +text + + +12 + + + + + +parentid +fileid + + +12 + + + + + +fileid +id + + +12 + + + + + +fileid +text + + +12 + + + + + +fileid +parentid + + +12 + + + + + + + +xmlChars +100 + + +id +100 + + +text +100 + + +parentid +100 + + +idx +100 + + +isCDATA +100 + + +fileid +100 + + + + +id +text + + +12 + + +1 +2 +1 + + + + + + +id +parentid + + +12 + + +1 +2 +1 + + + + + + +id +idx + + +12 + + +1 +2 +1 + + + + + + +id +isCDATA + + +12 + + +1 +2 +1 + + + + + + +id +fileid + + +12 + + +1 +2 +1 + + + + + + +text +id + + +12 + + + + + +text +parentid + + +12 + + + + + +text +idx + + +12 + + + + + +text +isCDATA + + +12 + + + + + +text +fileid + + +12 + + + + + +parentid +id + + +12 + + + + + +parentid +text + + +12 + + + + + +parentid +idx + + +12 + + + + + +parentid +isCDATA + + +12 + + + + + +parentid +fileid + + +12 + + + + + +idx +id + + +12 + + + + + +idx +text + + +12 + + + + + +idx +parentid + + +12 + + + + + +idx +isCDATA + + +12 + + + + + +idx +fileid + + +12 + + + + + +isCDATA +id + + +12 + + + + + +isCDATA +text + + +12 + + + + + +isCDATA +parentid + + +12 + + + + + +isCDATA +idx + + +12 + + + + + +isCDATA +fileid + + +12 + + + + + +fileid +id + + +12 + + + + + +fileid +text + + +12 + + + + + +fileid +parentid + + +12 + + + + + +fileid +idx + + +12 + + + + + +fileid +isCDATA + + +12 + + + + + + + +xmllocations +100 + + +xmlElement +100 + + +location +100 + + + + +xmlElement +location + + +12 + + + + + +location +xmlElement + + +12 + + + + + + + + diff --git a/tests/codeql_db/src.zip b/tests/codeql_db/src.zip new file mode 100644 index 0000000000000000000000000000000000000000..c1dcb6ceab174f2220e83f4048ae7531e19af214 --- /dev/null +++ b/tests/codeql_db/src.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef2fb06cb503e7b273f340db151a0029e17a3362214475604b43f6d62d998516 +size 253 diff --git a/tests/context.py b/tests/context.py new file mode 100644 index 0000000000000000000000000000000000000000..34f1980e5aea24290bd1c6ffd6da31baf5892837 --- /dev/null +++ b/tests/context.py @@ -0,0 +1,14 @@ +""" Gives the test suite access to the code in the codelql kernel package. + +This is just copied from and as recommended in the Hitchhicker's Guide to +Python, see +http://docs.python-guide.org/en/latest/writing/structure/#test-suite +""" + +import os +import sys + + +sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) + +import codeql_kernel diff --git a/tests/db/test.py b/tests/db/test.py new file mode 100644 index 0000000000000000000000000000000000000000..3d3d53a16273e65658a159a63c554abd8a56d78d --- /dev/null +++ b/tests/db/test.py @@ -0,0 +1 @@ +print("foo") diff --git a/tests/qlpack.yml b/tests/qlpack.yml new file mode 100644 index 0000000000000000000000000000000000000000..94f58aab80c5a48eb18f6921e77ce27ab61dcd3f --- /dev/null +++ b/tests/qlpack.yml @@ -0,0 +1,7 @@ +--- +library: false +name: test +version: 0.0.1 +dependencies: + codeql/python-all: '*' + diff --git a/tests/query.ql b/tests/query.ql new file mode 100644 index 0000000000000000000000000000000000000000..022a2b8ca596519bf48421c2e1e1582b6a2c803e --- /dev/null +++ b/tests/query.ql @@ -0,0 +1,9 @@ +/** + * @kind path-problem + * @id test + */ + +import python + +from Call ma +select ma diff --git a/tests/test.bqrs b/tests/test.bqrs new file mode 100644 index 0000000000000000000000000000000000000000..b46d7469ab2a50c9e9056b77bbe98049f16e11ee Binary files /dev/null and b/tests/test.bqrs differ diff --git a/tests/test_cliclient.py b/tests/test_cliclient.py new file mode 100644 index 0000000000000000000000000000000000000000..f0663e13d4e62264913961fcde0f8f60b384f711 --- /dev/null +++ b/tests/test_cliclient.py @@ -0,0 +1,71 @@ +from .context import codeql_kernel as ck + +client = ck.CLIClient() +test_db = "tests/codeql_db" +test_query = "tests/query.ql" +test_bqrs = "tests/test.bqrs" + +# def test_resolve_non_exitent_database(): +# (err, resp) = client.resolve_database("foo") +# assert err +# assert not resp +# assert err.startswith("A fatal error occurred: Database root ") + +def test_resolve_ram(): + (err, res) = client.resolve_ram() + assert not err + assert any("Xmx" in opt for opt in res) + +def test_resolve_metadata(): + (err, res) = client.resolve_metadata(test_query) + assert not err + assert res == { "kind": "path-problem", "id": "test"} + +def test_resolve_database(): + (err, res) = client.resolve_database(test_db) + assert not err + assert res["sourceLocationPrefix"].endswith("tests/db") + assert "columnKind" in res.keys() + assert "unicodeNewlines" in res.keys() + assert res["sourceArchiveZip"].endswith("tests/codeql_db/src.zip") + assert res["sourceArchiveRoot"].endswith("tests/codeql_db/src") + assert res["datasetFolder"].endswith("tests/codeql_db/db-python") + assert res["logsFolder"].endswith("tests/codeql_db/log") + assert res["languages"][0] == "python" + assert res["scratchDir"].endswith("tests/codeql_db/working") + +def test_resolve_library_path(): + (err, res) = client.resolve_library_path(test_query) + assert not err and res + assert res["libraryPath"][0].endswith("/tests") + assert "python" in res["libraryPath"][1] + assert res["dbscheme"].endswith("semmlecode.python.dbscheme") + assert res["compilationCache"][0].endswith("tests/.cache") + assert res["relativeName"] == "test/query.ql" + assert res["qlPackName"] == "test" + +def test_bqrs_info(): + (err, res) = client.bqrs_info(test_bqrs) + assert not err + assert res == { + "compatible-query-kinds": ["Table", "Tree", "Graph"], + "result-sets": [ + { + "columns": [{"kind": "e", "name": "ma"}], + "name": "#select", + "rows": 1 + } + ] + } + +def test_bqrs_decode(): + (err, res) = client.bqrs_decode(test_bqrs) + assert not err + assert res + assert "URL for ma" in res + +def test_consequent_requests(): + (err1, res1) = client.resolve_metadata(test_query) + (err2, res2) = client.resolve_metadata(test_query) + assert not err1 and not err2 + assert res1 == res2 and res1 == { "kind": "path-problem", "id": "test"} diff --git a/tests/test_kernel.py b/tests/test_kernel.py new file mode 100644 index 0000000000000000000000000000000000000000..ee6c8211bd0f9d8977d404eb4f59ac0f34c81d7b --- /dev/null +++ b/tests/test_kernel.py @@ -0,0 +1,18 @@ +import unittest +import jupyter_kernel_test + +class MyKernelTests(jupyter_kernel_test.KernelTests): + + kernel_name = "codeql" + language_name = "codeql" + + def test_codeql_kernel_register_database(self): + self.flush_channels() + reply, output_msgs = self.execute_helper(code='%set_database tests/codeql_db') + self.assertEqual(output_msgs[0]["content"]["wait"], True) + self.assertIn("Registering database ...", output_msgs[1]["content"]["data"]["text/plain"]) + self.assertEqual(output_msgs[2]["content"]["wait"], True) + self.assertIn("Database registered!", output_msgs[3]["content"]["data"]["text/plain"]) + +if __name__ == '__main__': + unittest.main() diff --git a/tests/test_queryclient.py b/tests/test_queryclient.py new file mode 100644 index 0000000000000000000000000000000000000000..2012bd0f103c12a9d6438200831f49462fd5bf5a --- /dev/null +++ b/tests/test_queryclient.py @@ -0,0 +1,18 @@ +from .context import codeql_kernel as ck + +test_db = "tests/codeql_db" +test_query = "tests/query.ql" +query_client = ck.QueryClient() + +def test_register_database(): + (err, resp) = query_client.register_database(test_db) + assert resp + assert not err + assert query_client._db_metadata + assert query_client._db_metadata["datasetFolder"].endswith(test_db + "/db-python") + +def test_run_query(): + query_client.register_database(test_db) + (err, resp) = query_client.run_query(test_query) + assert not err + assert "URL for ma" in resp