diff --git a/README.org b/README.org
index 1e14713..846d0da 100644
--- a/README.org
+++ b/README.org
@@ -193,26 +193,35 @@
./gh-mrva -h
- # Submit the mrva job
- SN=10
+ # In log-submit-the-mrva-job.log after edit
+ SN=11
./gh-mrva submit --language cpp --session mirva-session-$SN \
--list mirva-list \
--query /Users/hohn/local/gh-mrva/FlatBuffersFunc.ql >& log-$SN.out &
tail -f log-$SN.out
-
# Check the status
./gh-mrva status --session mirva-session-$SN |& tee log-$SN-status.out
- # Download the sarif files when finished
- gh mrva download --session mirva-session-$SN \
- --output-dir mirva-session-$SN-sarif
-
- # Or download the sarif files and CodeQL dbs when finished
- gh mrva download --session mirva-session-$SN \
+ # Download the sarif files and CodeQL dbs when finished
+ ./gh-mrva download --session mirva-session-$SN \
--download-dbs \
- --output-dir mirva-session-$SN-sarif
+ --output-dir mirva-session-$SN-sarif \
+ |& tee log-download.log
+ # 2024/02/08 15:33:39 >> Response body is
+ # Zip archive data, at least v1.0 to extract, compression method=deflate
+ # 0:$ unzip -v foo
+ # Archive: foo
+ # Length Method Size Cmpr Date Time CRC-32 Name
+ # -------- ------ ------- ---- ---------- ----- -------- ----
+ # 2297 Defl:N 980 57% 02-08-2024 22:54 9465f5ff results.sarif
+ # 148 Defl:N 121 18% 02-08-2024 22:54 dc8df445 results.bqrs
+ # -------- ------- --- -------
+ # 2445 1101 55% 2 files
+ # 0 4 Local file header signature = 0x04034b50 (PK♥♦ or "PK\3\4") PK
+ # 0x50, 0x4b, 0x03, 0x04
+ # byteArray := []byte{ 0x50, 0x4b, 0x03, 0x04 }
#+END_SRC
** Use the delve debugger to find sigsev
diff --git a/log-download.log b/log-download.log
new file mode 100644
index 0000000..9b32cdb
--- /dev/null
+++ b/log-download.log
@@ -0,0 +1,4161 @@
+# Download the sarif files and CodeQL dbs when finished
+./gh-mrva download --session mirva-session-$SN \
+ --download-dbs \
+ --output-dir mirva-session-$SN-sarif \
+ |& tee log-download.log
+
+2024/02/08 15:33:34 >> GET https://api.github.com/repos/hohn/mirva-controller/code-scanning/codeql/variant-analyses/8985
+2024/02/08 15:33:34 << 200 https://api.github.com/repos/hohn/mirva-controller/code-scanning/codeql/variant-analyses/8985
+2024/02/08 15:33:34 >> Response body: {
+ "id": 8985,
+ "controller_repo": {
+ "id": 747492529,
+ "node_id": "R_kgDOLI3UsQ",
+ "name": "mirva-controller",
+ "full_name": "hohn/mirva-controller",
+ "private": false,
+ "owner": {
+ "login": "hohn",
+ "id": 2253228,
+ "node_id": "MDQ6VXNlcjIyNTMyMjg=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2253228?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/hohn",
+ "html_url": "https://github.com/hohn",
+ "followers_url": "https://api.github.com/users/hohn/followers",
+ "following_url": "https://api.github.com/users/hohn/following{/other_user}",
+ "gists_url": "https://api.github.com/users/hohn/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/hohn/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/hohn/subscriptions",
+ "organizations_url": "https://api.github.com/users/hohn/orgs",
+ "repos_url": "https://api.github.com/users/hohn/repos",
+ "events_url": "https://api.github.com/users/hohn/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/hohn/received_events",
+ "type": "User",
+ "site_admin": true
+ },
+ "html_url": "https://github.com/hohn/mirva-controller",
+ "description": "Controller for MRVA",
+ "fork": false,
+ "url": "https://api.github.com/repos/hohn/mirva-controller",
+ "forks_url": "https://api.github.com/repos/hohn/mirva-controller/forks",
+ "keys_url": "https://api.github.com/repos/hohn/mirva-controller/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/hohn/mirva-controller/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/hohn/mirva-controller/teams",
+ "hooks_url": "https://api.github.com/repos/hohn/mirva-controller/hooks",
+ "issue_events_url": "https://api.github.com/repos/hohn/mirva-controller/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/hohn/mirva-controller/events",
+ "assignees_url": "https://api.github.com/repos/hohn/mirva-controller/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/hohn/mirva-controller/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/hohn/mirva-controller/tags",
+ "blobs_url": "https://api.github.com/repos/hohn/mirva-controller/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/hohn/mirva-controller/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/hohn/mirva-controller/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/hohn/mirva-controller/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/hohn/mirva-controller/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/hohn/mirva-controller/languages",
+ "stargazers_url": "https://api.github.com/repos/hohn/mirva-controller/stargazers",
+ "contributors_url": "https://api.github.com/repos/hohn/mirva-controller/contributors",
+ "subscribers_url": "https://api.github.com/repos/hohn/mirva-controller/subscribers",
+ "subscription_url": "https://api.github.com/repos/hohn/mirva-controller/subscription",
+ "commits_url": "https://api.github.com/repos/hohn/mirva-controller/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/hohn/mirva-controller/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/hohn/mirva-controller/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/hohn/mirva-controller/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/hohn/mirva-controller/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/hohn/mirva-controller/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/hohn/mirva-controller/merges",
+ "archive_url": "https://api.github.com/repos/hohn/mirva-controller/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/hohn/mirva-controller/downloads",
+ "issues_url": "https://api.github.com/repos/hohn/mirva-controller/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/hohn/mirva-controller/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/hohn/mirva-controller/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/hohn/mirva-controller/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/hohn/mirva-controller/labels{/name}",
+ "releases_url": "https://api.github.com/repos/hohn/mirva-controller/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/hohn/mirva-controller/deployments"
+ },
+ "actor": {
+ "login": "hohn",
+ "id": 2253228,
+ "node_id": "MDQ6VXNlcjIyNTMyMjg=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2253228?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/hohn",
+ "html_url": "https://github.com/hohn",
+ "followers_url": "https://api.github.com/users/hohn/followers",
+ "following_url": "https://api.github.com/users/hohn/following{/other_user}",
+ "gists_url": "https://api.github.com/users/hohn/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/hohn/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/hohn/subscriptions",
+ "organizations_url": "https://api.github.com/users/hohn/orgs",
+ "repos_url": "https://api.github.com/users/hohn/repos",
+ "events_url": "https://api.github.com/users/hohn/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/hohn/received_events",
+ "type": "User",
+ "site_admin": true
+ },
+ "query_language": "cpp",
+ "query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/8985/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20240208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240208T233339Z&X-Amz-Expires=3600&X-Amz-Signature=c995e1d4991ebcc1b3ce68bee31080df3a06fa5e815610befdfda9cbc10e9158&X-Amz-SignedHeaders=host",
+ "created_at": "2024-02-08T22:54:21Z",
+ "updated_at": "2024-02-08T22:54:22Z",
+ "actions_workflow_run_id": 7837027089,
+ "completed_at": "2024-02-08T22:55:02Z",
+ "status": "succeeded",
+ "scanned_repositories": [
+ {
+ "repository": {
+ "id": 19953044,
+ "name": "flatbuffers",
+ "full_name": "google/flatbuffers",
+ "private": false,
+ "stargazers_count": 21718,
+ "updated_at": "2024-02-08T13:40:55Z"
+ },
+ "analysis_status": "succeeded",
+ "result_count": 1,
+ "artifact_size_in_bytes": 1325
+ }
+ ],
+ "skipped_repositories": {
+ "access_mismatch_repos": {
+ "repository_count": 0,
+ "repositories": []
+ },
+ "not_found_repos": {
+ "repository_count": 0,
+ "repository_full_names": []
+ },
+ "no_codeql_db_repos": {
+ "repository_count": 0,
+ "repositories": []
+ },
+ "over_limit_repos": {
+ "repository_count": 0,
+ "repositories": []
+ }
+ }
+}
+
+Downloading artifacts for google_flatbuffers_8985
+Downloading database google/flatbuffers cpp mirva-session-10-sarif google_flatbuffers_8985
+2024/02/08 15:33:34 >> GET https://api.github.com/repos/hohn/mirva-controller/code-scanning/codeql/variant-analyses/8985/repos/google/flatbuffers
+2024/02/08 15:33:34 >> GET https://api.github.com/repos/google/flatbuffers/code-scanning/codeql/databases/cpp
+2024/02/08 15:33:35 << 200 https://api.github.com/repos/hohn/mirva-controller/code-scanning/codeql/variant-analyses/8985/repos/google/flatbuffers
+2024/02/08 15:33:35 >> Response body: {
+ "repository": {
+ "id": 19953044,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxOTk1MzA0NA==",
+ "name": "flatbuffers",
+ "full_name": "google/flatbuffers",
+ "private": false,
+ "owner": {
+ "login": "google",
+ "id": 1342004,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1342004?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/google",
+ "html_url": "https://github.com/google",
+ "followers_url": "https://api.github.com/users/google/followers",
+ "following_url": "https://api.github.com/users/google/following{/other_user}",
+ "gists_url": "https://api.github.com/users/google/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/google/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/google/subscriptions",
+ "organizations_url": "https://api.github.com/users/google/orgs",
+ "repos_url": "https://api.github.com/users/google/repos",
+ "events_url": "https://api.github.com/users/google/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/google/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/google/flatbuffers",
+ "description": "FlatBuffers: Memory Efficient Serialization Library",
+ "fork": false,
+ "url": "https://api.github.com/repos/google/flatbuffers",
+ "forks_url": "https://api.github.com/repos/google/flatbuffers/forks",
+ "keys_url": "https://api.github.com/repos/google/flatbuffers/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/google/flatbuffers/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/google/flatbuffers/teams",
+ "hooks_url": "https://api.github.com/repos/google/flatbuffers/hooks",
+ "issue_events_url": "https://api.github.com/repos/google/flatbuffers/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/google/flatbuffers/events",
+ "assignees_url": "https://api.github.com/repos/google/flatbuffers/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/google/flatbuffers/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/google/flatbuffers/tags",
+ "blobs_url": "https://api.github.com/repos/google/flatbuffers/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/google/flatbuffers/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/google/flatbuffers/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/google/flatbuffers/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/google/flatbuffers/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/google/flatbuffers/languages",
+ "stargazers_url": "https://api.github.com/repos/google/flatbuffers/stargazers",
+ "contributors_url": "https://api.github.com/repos/google/flatbuffers/contributors",
+ "subscribers_url": "https://api.github.com/repos/google/flatbuffers/subscribers",
+ "subscription_url": "https://api.github.com/repos/google/flatbuffers/subscription",
+ "commits_url": "https://api.github.com/repos/google/flatbuffers/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/google/flatbuffers/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/google/flatbuffers/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/google/flatbuffers/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/google/flatbuffers/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/google/flatbuffers/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/google/flatbuffers/merges",
+ "archive_url": "https://api.github.com/repos/google/flatbuffers/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/google/flatbuffers/downloads",
+ "issues_url": "https://api.github.com/repos/google/flatbuffers/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/google/flatbuffers/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/google/flatbuffers/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/google/flatbuffers/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/google/flatbuffers/labels{/name}",
+ "releases_url": "https://api.github.com/repos/google/flatbuffers/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/google/flatbuffers/deployments"
+ },
+ "analysis_status": "succeeded",
+ "result_count": 1,
+ "artifact_size_in_bytes": 1325,
+ "database_commit_sha": "dbce69c63b0f3cee8f6d9521479fd3b087338314",
+ "source_location_prefix": "/home/runner/work/flatbuffers/flatbuffers",
+ "artifact_url": "https://objects-origin.githubusercontent.com/codeql-query-console/codeql-variant-analysis-repo-tasks/8985/19953044/6a46e4c6-90bf-46fb-820a-dd5d645083fd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20240208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240208T233339Z&X-Amz-Expires=300&X-Amz-Signature=a5c0af4345cea11332f42a48e69d8b6793bf5f55caca2ee10d7cbdb4ae8f82c5&X-Amz-SignedHeaders=host&actor_id=2253228&key_id=0&repo_id=747492529"
+}
+
+2024/02/08 15:33:35 << 302 https://api.github.com/repos/google/flatbuffers/code-scanning/codeql/databases/cpp
+2024/02/08 15:33:35 >> Response body: {
+ "message": "Moved Permanently",
+ "url": "https://objects-origin.githubusercontent.com/codeql-query-console/database/19953044/cpp/7dbb127d-66a6-4ced-bde5-efd28718f94b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20240208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240208T233339Z&X-Amz-Expires=300&X-Amz-Signature=561e5fabff6c2f521cab946800f2032f7b0a7fdc152c29e98096229a86055c49&X-Amz-SignedHeaders=host&actor_id=2253228&key_id=0&repo_id=19953044",
+ "documentation_url": "https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api#follow-redirects"
+}
+
+2024/02/08 15:33:35 >> GET https://objects-origin.githubusercontent.com/codeql-query-console/database/19953044/cpp/7dbb127d-66a6-4ced-bde5-efd28718f94b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20240208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240208T233339Z&X-Amz-Expires=300&X-Amz-Signature=561e5fabff6c2f521cab946800f2032f7b0a7fdc152c29e98096229a86055c49&X-Amz-SignedHeaders=host&actor_id=2253228&key_id=0&repo_id=19953044
+2024/02/08 15:33:35 >> GET https://objects-origin.githubusercontent.com/codeql-query-console/codeql-variant-analysis-repo-tasks/8985/19953044/6a46e4c6-90bf-46fb-820a-dd5d645083fd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20240208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240208T233339Z&X-Amz-Expires=300&X-Amz-Signature=a5c0af4345cea11332f42a48e69d8b6793bf5f55caca2ee10d7cbdb4ae8f82c5&X-Amz-SignedHeaders=host&actor_id=2253228&key_id=0&repo_id=747492529
+2024/02/08 15:33:35 << 307 https://objects-origin.githubusercontent.com/codeql-query-console/database/19953044/cpp/7dbb127d-66a6-4ced-bde5-efd28718f94b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20240208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240208T233339Z&X-Amz-Expires=300&X-Amz-Signature=561e5fabff6c2f521cab946800f2032f7b0a7fdc152c29e98096229a86055c49&X-Amz-SignedHeaders=host&actor_id=2253228&key_id=0&repo_id=19953044
+2024/02/08 15:33:35 << 307 https://objects-origin.githubusercontent.com/codeql-query-console/codeql-variant-analysis-repo-tasks/8985/19953044/6a46e4c6-90bf-46fb-820a-dd5d645083fd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20240208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240208T233339Z&X-Amz-Expires=300&X-Amz-Signature=a5c0af4345cea11332f42a48e69d8b6793bf5f55caca2ee10d7cbdb4ae8f82c5&X-Amz-SignedHeaders=host&actor_id=2253228&key_id=0&repo_id=747492529
+2024/02/08 15:33:35 >> Response body: Temporary Redirect.
+
+2024/02/08 15:33:35 >> Response body: Temporary Redirect.
+
+2024/02/08 15:33:35 >> GET https://queryconsoleprod.blob.core.windows.net/github-codeql-query-console-prod/database/19953044/cpp/7dbb127d-66a6-4ced-bde5-efd28718f94b?se=2024-02-08T23%3A43%3A39Z&sig=cy%2FW%2BSeyA%2BIEang9kO3MLI9JUtQfkpRpPzJIRoZb348%3D&sp=r&spr=https&sr=b&sv=2020-10-02
+2024/02/08 15:33:35 >> GET https://queryconsoleprod.blob.core.windows.net/github-codeql-query-console-prod/codeql-variant-analysis-repo-tasks/8985/19953044/6a46e4c6-90bf-46fb-820a-dd5d645083fd?se=2024-02-08T23%3A43%3A39Z&sig=F4fF8rO1IITgjS3pG9zMZT%2Fr%2BSDr7GZ%2FpR7%2FS0BnWwo%3D&sp=r&spr=https&sr=b&sv=2020-10-02
+2024/02/08 15:33:35 << 200 https://queryconsoleprod.blob.core.windows.net/github-codeql-query-console-prod/codeql-variant-analysis-repo-tasks/8985/19953044/6a46e4c6-90bf-46fb-820a-dd5d645083fd?se=2024-02-08T23%3A43%3A39Z&sig=F4fF8rO1IITgjS3pG9zMZT%2Fr%2BSDr7GZ%2FpR7%2FS0BnWwo%3D&sp=r&spr=https&sr=b&sv=2020-10-02
+2024/02/08 15:33:35 >> Response body: PK
+ ܶHXe
results.sarifVIo6+ =hحKl(C2Iٞ(lyԇa@M(i\e(ji6yd|0G0
+4`ULc<14@֒43JPXgm)/s?T'xn1r"|P\IFd(O*J)Dp_A 3Yq!z6BԈMB5tފ