{"action":"created","comment":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/comments/287370324","pull_request_review_id":241754598,"id":287370324,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4NzM3MDMyNA==","diff_hunk":"@@ -0,0 +1,31 @@\n+// Copyright (c) 2019 Google LLC\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+//     http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+#include \"source/fuzz/fuzzer_pass.h\"\n+\n+namespace spvtools {\n+namespace fuzz {\n+\n+opt::IRContext* FuzzerPass::GetIRContext() const { return ir_context_; }\n+\n+FactManager* FuzzerPass::GetFactManager() const { return fact_manager_; }\n+\n+FuzzerContext* FuzzerPass::GetFuzzerContext() const { return fuzzer_context_; }","path":"source/fuzz/fuzzer_pass.cpp","position":24,"original_position":24,"commit_id":"7c556dacd7eee17a1ba8ecdabc2315f1fd2a3e7c","original_commit_id":"7c556dacd7eee17a1ba8ecdabc2315f1fd2a3e7c","user":{"login":"afd","id":4739677,"node_id":"MDQ6VXNlcjQ3Mzk2Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/4739677?v=4","gravatar_id":"","url":"https://api.github.com/users/afd","html_url":"https://github.com/afd","followers_url":"https://api.github.com/users/afd/followers","following_url":"https://api.github.com/users/afd/following{/other_user}","gists_url":"https://api.github.com/users/afd/gists{/gist_id}","starred_url":"https://api.github.com/users/afd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afd/subscriptions","organizations_url":"https://api.github.com/users/afd/orgs","repos_url":"https://api.github.com/users/afd/repos","events_url":"https://api.github.com/users/afd/events{/privacy}","received_events_url":"https://api.github.com/users/afd/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2019-05-24T13:55:19Z","updated_at":"2019-05-24T13:55:20Z","html_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/2618#discussion_r287370324","pull_request_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/2618","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/comments/287370324"},"html":{"href":"https://github.com/KhronosGroup/SPIRV-Tools/pull/2618#discussion_r287370324"},"pull_request":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/2618"}},"in_reply_to_id":286760333},"pull_request":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/2618","id":281422399,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgxNDIyMzk5","html_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/2618","diff_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/2618.diff","patch_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/2618.patch","issue_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/2618","number":2618,"state":"open","locked":false,"title":"Added a library for spirv-fuzz","user":{"login":"afd","id":4739677,"node_id":"MDQ6VXNlcjQ3Mzk2Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/4739677?v=4","gravatar_id":"","url":"https://api.github.com/users/afd","html_url":"https://github.com/afd","followers_url":"https://api.github.com/users/afd/followers","following_url":"https://api.github.com/users/afd/following{/other_user}","gists_url":"https://api.github.com/users/afd/gists{/gist_id}","starred_url":"https://api.github.com/users/afd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afd/subscriptions","organizations_url":"https://api.github.com/users/afd/orgs","repos_url":"https://api.github.com/users/afd/repos","events_url":"https://api.github.com/users/afd/events{/privacy}","received_events_url":"https://api.github.com/users/afd/received_events","type":"User","site_admin":false},"body":"This consists of a Fuzzer class that will transform a module with respect to (a) facts about the module provided via a FactManager class, and (b) a source of random numbers and parameters to control the transformation process provided via a FuzzerContext class.  Transformations will be applied via classes that implement a FuzzerPass interface, and both facts and transformations will be represented via protobuf messages.  Currently there are no concrete facts, transformations nor fuzzer passes; these will follow.","created_at":"2019-05-23T02:35:03Z","updated_at":"2019-05-24T13:55:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"754b7d425bfef2ce3e0a87fcd17d68c13b7d4180","assignee":null,"assignees":[],"requested_reviewers":[{"login":"s-perron","id":31666470,"node_id":"MDQ6VXNlcjMxNjY2NDcw","avatar_url":"https://avatars1.githubusercontent.com/u/31666470?v=4","gravatar_id":"","url":"https://api.github.com/users/s-perron","html_url":"https://github.com/s-perron","followers_url":"https://api.github.com/users/s-perron/followers","following_url":"https://api.github.com/users/s-perron/following{/other_user}","gists_url":"https://api.github.com/users/s-perron/gists{/gist_id}","starred_url":"https://api.github.com/users/s-perron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-perron/subscriptions","organizations_url":"https://api.github.com/users/s-perron/orgs","repos_url":"https://api.github.com/users/s-perron/repos","events_url":"https://api.github.com/users/s-perron/events{/privacy}","received_events_url":"https://api.github.com/users/s-perron/received_events","type":"User","site_admin":false},{"login":"alan-baker","id":33432579,"node_id":"MDQ6VXNlcjMzNDMyNTc5","avatar_url":"https://avatars1.githubusercontent.com/u/33432579?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-baker","html_url":"https://github.com/alan-baker","followers_url":"https://api.github.com/users/alan-baker/followers","following_url":"https://api.github.com/users/alan-baker/following{/other_user}","gists_url":"https://api.github.com/users/alan-baker/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-baker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-baker/subscriptions","organizations_url":"https://api.github.com/users/alan-baker/orgs","repos_url":"https://api.github.com/users/alan-baker/repos","events_url":"https://api.github.com/users/alan-baker/events{/privacy}","received_events_url":"https://api.github.com/users/alan-baker/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/2618/commits","review_comments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/2618/comments","review_comment_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/2618/comments","statuses_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/statuses/7c556dacd7eee17a1ba8ecdabc2315f1fd2a3e7c","head":{"label":"afd:add-fuzzer-library","ref":"add-fuzzer-library","sha":"7c556dacd7eee17a1ba8ecdabc2315f1fd2a3e7c","user":{"login":"afd","id":4739677,"node_id":"MDQ6VXNlcjQ3Mzk2Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/4739677?v=4","gravatar_id":"","url":"https://api.github.com/users/afd","html_url":"https://github.com/afd","followers_url":"https://api.github.com/users/afd/followers","following_url":"https://api.github.com/users/afd/following{/other_user}","gists_url":"https://api.github.com/users/afd/gists{/gist_id}","starred_url":"https://api.github.com/users/afd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afd/subscriptions","organizations_url":"https://api.github.com/users/afd/orgs","repos_url":"https://api.github.com/users/afd/repos","events_url":"https://api.github.com/users/afd/events{/privacy}","received_events_url":"https://api.github.com/users/afd/received_events","type":"User","site_admin":false},"repo":{"id":157732815,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc3MzI4MTU=","name":"SPIRV-Tools","full_name":"afd/SPIRV-Tools","private":false,"owner":{"login":"afd","id":4739677,"node_id":"MDQ6VXNlcjQ3Mzk2Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/4739677?v=4","gravatar_id":"","url":"https://api.github.com/users/afd","html_url":"https://github.com/afd","followers_url":"https://api.github.com/users/afd/followers","following_url":"https://api.github.com/users/afd/following{/other_user}","gists_url":"https://api.github.com/users/afd/gists{/gist_id}","starred_url":"https://api.github.com/users/afd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afd/subscriptions","organizations_url":"https://api.github.com/users/afd/orgs","repos_url":"https://api.github.com/users/afd/repos","events_url":"https://api.github.com/users/afd/events{/privacy}","received_events_url":"https://api.github.com/users/afd/received_events","type":"User","site_admin":false},"html_url":"https://github.com/afd/SPIRV-Tools","description":null,"fork":true,"url":"https://api.github.com/repos/afd/SPIRV-Tools","forks_url":"https://api.github.com/repos/afd/SPIRV-Tools/forks","keys_url":"https://api.github.com/repos/afd/SPIRV-Tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/afd/SPIRV-Tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/afd/SPIRV-Tools/teams","hooks_url":"https://api.github.com/repos/afd/SPIRV-Tools/hooks","issue_events_url":"https://api.github.com/repos/afd/SPIRV-Tools/issues/events{/number}","events_url":"https://api.github.com/repos/afd/SPIRV-Tools/events","assignees_url":"https://api.github.com/repos/afd/SPIRV-Tools/assignees{/user}","branches_url":"https://api.github.com/repos/afd/SPIRV-Tools/branches{/branch}","tags_url":"https://api.github.com/repos/afd/SPIRV-Tools/tags","blobs_url":"https://api.github.com/repos/afd/SPIRV-Tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/afd/SPIRV-Tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/afd/SPIRV-Tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/afd/SPIRV-Tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/afd/SPIRV-Tools/statuses/{sha}","languages_url":"https://api.github.com/repos/afd/SPIRV-Tools/languages","stargazers_url":"https://api.github.com/repos/afd/SPIRV-Tools/stargazers","contributors_url":"https://api.github.com/repos/afd/SPIRV-Tools/contributors","subscribers_url":"https://api.github.com/repos/afd/SPIRV-Tools/subscribers","subscription_url":"https://api.github.com/repos/afd/SPIRV-Tools/subscription","commits_url":"https://api.github.com/repos/afd/SPIRV-Tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/afd/SPIRV-Tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/afd/SPIRV-Tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/afd/SPIRV-Tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/afd/SPIRV-Tools/contents/{+path}","compare_url":"https://api.github.com/repos/afd/SPIRV-Tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/afd/SPIRV-Tools/merges","archive_url":"https://api.github.com/repos/afd/SPIRV-Tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/afd/SPIRV-Tools/downloads","issues_url":"https://api.github.com/repos/afd/SPIRV-Tools/issues{/number}","pulls_url":"https://api.github.com/repos/afd/SPIRV-Tools/pulls{/number}","milestones_url":"https://api.github.com/repos/afd/SPIRV-Tools/milestones{/number}","notifications_url":"https://api.github.com/repos/afd/SPIRV-Tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/afd/SPIRV-Tools/labels{/name}","releases_url":"https://api.github.com/repos/afd/SPIRV-Tools/releases{/id}","deployments_url":"https://api.github.com/repos/afd/SPIRV-Tools/deployments","created_at":"2018-11-15T15:29:07Z","updated_at":"2019-01-28T19:36:01Z","pushed_at":"2019-05-23T02:33:32Z","git_url":"git://github.com/afd/SPIRV-Tools.git","ssh_url":"git@github.com:afd/SPIRV-Tools.git","clone_url":"https://github.com/afd/SPIRV-Tools.git","svn_url":"https://github.com/afd/SPIRV-Tools","homepage":null,"size":11525,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"KhronosGroup:master","ref":"master","sha":"b0504239ab6683d3f30481478827420a9513ee22","user":{"login":"KhronosGroup","id":1608701,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDg3MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1608701?v=4","gravatar_id":"","url":"https://api.github.com/users/KhronosGroup","html_url":"https://github.com/KhronosGroup","followers_url":"https://api.github.com/users/KhronosGroup/followers","following_url":"https://api.github.com/users/KhronosGroup/following{/other_user}","gists_url":"https://api.github.com/users/KhronosGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/KhronosGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhronosGroup/subscriptions","organizations_url":"https://api.github.com/users/KhronosGroup/orgs","repos_url":"https://api.github.com/users/KhronosGroup/repos","events_url":"https://api.github.com/users/KhronosGroup/events{/privacy}","received_events_url":"https://api.github.com/users/KhronosGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":45981801,"node_id":"MDEwOlJlcG9zaXRvcnk0NTk4MTgwMQ==","name":"SPIRV-Tools","full_name":"KhronosGroup/SPIRV-Tools","private":false,"owner":{"login":"KhronosGroup","id":1608701,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDg3MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1608701?v=4","gravatar_id":"","url":"https://api.github.com/users/KhronosGroup","html_url":"https://github.com/KhronosGroup","followers_url":"https://api.github.com/users/KhronosGroup/followers","following_url":"https://api.github.com/users/KhronosGroup/following{/other_user}","gists_url":"https://api.github.com/users/KhronosGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/KhronosGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhronosGroup/subscriptions","organizations_url":"https://api.github.com/users/KhronosGroup/orgs","repos_url":"https://api.github.com/users/KhronosGroup/repos","events_url":"https://api.github.com/users/KhronosGroup/events{/privacy}","received_events_url":"https://api.github.com/users/KhronosGroup/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/KhronosGroup/SPIRV-Tools","description":null,"fork":false,"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools","forks_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/forks","keys_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/teams","hooks_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/hooks","issue_events_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/events{/number}","events_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/events","assignees_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/assignees{/user}","branches_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/branches{/branch}","tags_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/tags","blobs_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/statuses/{sha}","languages_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/languages","stargazers_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/stargazers","contributors_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/contributors","subscribers_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/subscribers","subscription_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/subscription","commits_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/contents/{+path}","compare_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/merges","archive_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/downloads","issues_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues{/number}","pulls_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls{/number}","milestones_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/milestones{/number}","notifications_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/labels{/name}","releases_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/releases{/id}","deployments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/deployments","created_at":"2015-11-11T12:56:25Z","updated_at":"2019-05-23T19:09:04Z","pushed_at":"2019-05-23T19:09:00Z","git_url":"git://github.com/KhronosGroup/SPIRV-Tools.git","ssh_url":"git@github.com:KhronosGroup/SPIRV-Tools.git","clone_url":"https://github.com/KhronosGroup/SPIRV-Tools.git","svn_url":"https://github.com/KhronosGroup/SPIRV-Tools","homepage":null,"size":11252,"stargazers_count":390,"watchers_count":390,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":169,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":255,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":169,"open_issues":255,"watchers":390,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/2618"},"html":{"href":"https://github.com/KhronosGroup/SPIRV-Tools/pull/2618"},"issue":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/2618"},"comments":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/2618/comments"},"review_comments":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/2618/comments"},"review_comment":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/2618/commits"},"statuses":{"href":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/statuses/7c556dacd7eee17a1ba8ecdabc2315f1fd2a3e7c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"afd"}}