{"action":"created","comment":{"url":"https://api.github.com/repos/google/syzkaller/pulls/comments/78952132","id":78952132,"diff_hunk":"@@ -102,9 +102,16 @@ func (p *Prog) Mutate(rs rand.Source, ncalls int, ct *ChoiceTable) {\n \t\t\t\t\t\tfilename := r.filename(s)\n \t\t\t\t\t\targ.Data = []byte(filename)\n \t\t\t\t\tcase sys.ArrayType:\n-\t\t\t\t\t\tcount := r.rand(6)\n-\t\t\t\t\t\tif count == uintptr(len(arg.Inner)) {","path":"prog/mutation.go","position":5,"original_position":5,"commit_id":"f4a0d0c7c43a4507c55337f87ca19710a655fbae","original_commit_id":"f4a0d0c7c43a4507c55337f87ca19710a655fbae","user":{"login":"dvyukov","id":1095328,"avatar_url":"https://avatars.githubusercontent.com/u/1095328?v=3","gravatar_id":"","url":"https://api.github.com/users/dvyukov","html_url":"https://github.com/dvyukov","followers_url":"https://api.github.com/users/dvyukov/followers","following_url":"https://api.github.com/users/dvyukov/following{/other_user}","gists_url":"https://api.github.com/users/dvyukov/gists{/gist_id}","starred_url":"https://api.github.com/users/dvyukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvyukov/subscriptions","organizations_url":"https://api.github.com/users/dvyukov/orgs","repos_url":"https://api.github.com/users/dvyukov/repos","events_url":"https://api.github.com/users/dvyukov/events{/privacy}","received_events_url":"https://api.github.com/users/dvyukov/received_events","type":"User","site_admin":false},"body":"This was useful code. Keep it.\r\nMutation frequently generated no-op mutation, which caused tests to fail and just reduced fuzzing efficiency. You can see retry flag at the top of the function, which is another piece of logic that ensures that mutation actually changes the program.","created_at":"2016-09-15T12:33:27Z","updated_at":"2016-09-15T12:33:27Z","html_url":"https://github.com/google/syzkaller/pull/73#discussion_r78952132","pull_request_url":"https://api.github.com/repos/google/syzkaller/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/google/syzkaller/pulls/comments/78952132"},"html":{"href":"https://github.com/google/syzkaller/pull/73#discussion_r78952132"},"pull_request":{"href":"https://api.github.com/repos/google/syzkaller/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/google/syzkaller/pulls/73","id":85391127,"html_url":"https://github.com/google/syzkaller/pull/73","diff_url":"https://github.com/google/syzkaller/pull/73.diff","patch_url":"https://github.com/google/syzkaller/pull/73.patch","issue_url":"https://api.github.com/repos/google/syzkaller/issues/73","number":73,"state":"open","locked":false,"title":"Allow range sized arrays","user":{"login":"xairy","id":4965052,"avatar_url":"https://avatars.githubusercontent.com/u/4965052?v=3","gravatar_id":"","url":"https://api.github.com/users/xairy","html_url":"https://github.com/xairy","followers_url":"https://api.github.com/users/xairy/followers","following_url":"https://api.github.com/users/xairy/following{/other_user}","gists_url":"https://api.github.com/users/xairy/gists{/gist_id}","starred_url":"https://api.github.com/users/xairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xairy/subscriptions","organizations_url":"https://api.github.com/users/xairy/orgs","repos_url":"https://api.github.com/users/xairy/repos","events_url":"https://api.github.com/users/xairy/events{/privacy}","received_events_url":"https://api.github.com/users/xairy/received_events","type":"User","site_admin":false},"body":"The syntax is:\r\n```\r\nstruct {\r\n  field array[int8, 10:16]\r\n}\r\n```","created_at":"2016-09-15T12:03:32Z","updated_at":"2016-09-15T12:33:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3ceca73d8fc955d4b8a8552c6e646da24e7886b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/syzkaller/pulls/73/commits","review_comments_url":"https://api.github.com/repos/google/syzkaller/pulls/73/comments","review_comment_url":"https://api.github.com/repos/google/syzkaller/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/syzkaller/issues/73/comments","statuses_url":"https://api.github.com/repos/google/syzkaller/statuses/f4a0d0c7c43a4507c55337f87ca19710a655fbae","head":{"label":"xairy:ranged_arrays","ref":"ranged_arrays","sha":"f4a0d0c7c43a4507c55337f87ca19710a655fbae","user":{"login":"xairy","id":4965052,"avatar_url":"https://avatars.githubusercontent.com/u/4965052?v=3","gravatar_id":"","url":"https://api.github.com/users/xairy","html_url":"https://github.com/xairy","followers_url":"https://api.github.com/users/xairy/followers","following_url":"https://api.github.com/users/xairy/following{/other_user}","gists_url":"https://api.github.com/users/xairy/gists{/gist_id}","starred_url":"https://api.github.com/users/xairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xairy/subscriptions","organizations_url":"https://api.github.com/users/xairy/orgs","repos_url":"https://api.github.com/users/xairy/repos","events_url":"https://api.github.com/users/xairy/events{/privacy}","received_events_url":"https://api.github.com/users/xairy/received_events","type":"User","site_admin":false},"repo":{"id":68212846,"name":"syzkaller","full_name":"xairy/syzkaller","owner":{"login":"xairy","id":4965052,"avatar_url":"https://avatars.githubusercontent.com/u/4965052?v=3","gravatar_id":"","url":"https://api.github.com/users/xairy","html_url":"https://github.com/xairy","followers_url":"https://api.github.com/users/xairy/followers","following_url":"https://api.github.com/users/xairy/following{/other_user}","gists_url":"https://api.github.com/users/xairy/gists{/gist_id}","starred_url":"https://api.github.com/users/xairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xairy/subscriptions","organizations_url":"https://api.github.com/users/xairy/orgs","repos_url":"https://api.github.com/users/xairy/repos","events_url":"https://api.github.com/users/xairy/events{/privacy}","received_events_url":"https://api.github.com/users/xairy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xairy/syzkaller","description":"syzkaller is a distributed, unsupervised, coverage-guided Linux syscall fuzzer","fork":true,"url":"https://api.github.com/repos/xairy/syzkaller","forks_url":"https://api.github.com/repos/xairy/syzkaller/forks","keys_url":"https://api.github.com/repos/xairy/syzkaller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xairy/syzkaller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xairy/syzkaller/teams","hooks_url":"https://api.github.com/repos/xairy/syzkaller/hooks","issue_events_url":"https://api.github.com/repos/xairy/syzkaller/issues/events{/number}","events_url":"https://api.github.com/repos/xairy/syzkaller/events","assignees_url":"https://api.github.com/repos/xairy/syzkaller/assignees{/user}","branches_url":"https://api.github.com/repos/xairy/syzkaller/branches{/branch}","tags_url":"https://api.github.com/repos/xairy/syzkaller/tags","blobs_url":"https://api.github.com/repos/xairy/syzkaller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xairy/syzkaller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xairy/syzkaller/git/refs{/sha}","trees_url":"https://api.github.com/repos/xairy/syzkaller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xairy/syzkaller/statuses/{sha}","languages_url":"https://api.github.com/repos/xairy/syzkaller/languages","stargazers_url":"https://api.github.com/repos/xairy/syzkaller/stargazers","contributors_url":"https://api.github.com/repos/xairy/syzkaller/contributors","subscribers_url":"https://api.github.com/repos/xairy/syzkaller/subscribers","subscription_url":"https://api.github.com/repos/xairy/syzkaller/subscription","commits_url":"https://api.github.com/repos/xairy/syzkaller/commits{/sha}","git_commits_url":"https://api.github.com/repos/xairy/syzkaller/git/commits{/sha}","comments_url":"https://api.github.com/repos/xairy/syzkaller/comments{/number}","issue_comment_url":"https://api.github.com/repos/xairy/syzkaller/issues/comments{/number}","contents_url":"https://api.github.com/repos/xairy/syzkaller/contents/{+path}","compare_url":"https://api.github.com/repos/xairy/syzkaller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xairy/syzkaller/merges","archive_url":"https://api.github.com/repos/xairy/syzkaller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xairy/syzkaller/downloads","issues_url":"https://api.github.com/repos/xairy/syzkaller/issues{/number}","pulls_url":"https://api.github.com/repos/xairy/syzkaller/pulls{/number}","milestones_url":"https://api.github.com/repos/xairy/syzkaller/milestones{/number}","notifications_url":"https://api.github.com/repos/xairy/syzkaller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xairy/syzkaller/labels{/name}","releases_url":"https://api.github.com/repos/xairy/syzkaller/releases{/id}","deployments_url":"https://api.github.com/repos/xairy/syzkaller/deployments","created_at":"2016-09-14T14:22:30Z","updated_at":"2016-09-14T14:22:32Z","pushed_at":"2016-09-15T12:01:09Z","git_url":"git://github.com/xairy/syzkaller.git","ssh_url":"git@github.com:xairy/syzkaller.git","clone_url":"https://github.com/xairy/syzkaller.git","svn_url":"https://github.com/xairy/syzkaller","homepage":"","size":1925,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"8add3857f4f130b5ec3cb12407a3919f80cccc66","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","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},"repo":{"id":44087204,"name":"syzkaller","full_name":"google/syzkaller","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","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},"private":false,"html_url":"https://github.com/google/syzkaller","description":"syzkaller is a distributed, unsupervised, coverage-guided Linux syscall fuzzer","fork":false,"url":"https://api.github.com/repos/google/syzkaller","forks_url":"https://api.github.com/repos/google/syzkaller/forks","keys_url":"https://api.github.com/repos/google/syzkaller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/syzkaller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/syzkaller/teams","hooks_url":"https://api.github.com/repos/google/syzkaller/hooks","issue_events_url":"https://api.github.com/repos/google/syzkaller/issues/events{/number}","events_url":"https://api.github.com/repos/google/syzkaller/events","assignees_url":"https://api.github.com/repos/google/syzkaller/assignees{/user}","branches_url":"https://api.github.com/repos/google/syzkaller/branches{/branch}","tags_url":"https://api.github.com/repos/google/syzkaller/tags","blobs_url":"https://api.github.com/repos/google/syzkaller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/syzkaller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/syzkaller/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/syzkaller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/syzkaller/statuses/{sha}","languages_url":"https://api.github.com/repos/google/syzkaller/languages","stargazers_url":"https://api.github.com/repos/google/syzkaller/stargazers","contributors_url":"https://api.github.com/repos/google/syzkaller/contributors","subscribers_url":"https://api.github.com/repos/google/syzkaller/subscribers","subscription_url":"https://api.github.com/repos/google/syzkaller/subscription","commits_url":"https://api.github.com/repos/google/syzkaller/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/syzkaller/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/syzkaller/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/syzkaller/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/syzkaller/contents/{+path}","compare_url":"https://api.github.com/repos/google/syzkaller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/syzkaller/merges","archive_url":"https://api.github.com/repos/google/syzkaller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/syzkaller/downloads","issues_url":"https://api.github.com/repos/google/syzkaller/issues{/number}","pulls_url":"https://api.github.com/repos/google/syzkaller/pulls{/number}","milestones_url":"https://api.github.com/repos/google/syzkaller/milestones{/number}","notifications_url":"https://api.github.com/repos/google/syzkaller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/syzkaller/labels{/name}","releases_url":"https://api.github.com/repos/google/syzkaller/releases{/id}","deployments_url":"https://api.github.com/repos/google/syzkaller/deployments","created_at":"2015-10-12T06:05:05Z","updated_at":"2016-09-12T20:09:21Z","pushed_at":"2016-09-15T12:03:32Z","git_url":"git://github.com/google/syzkaller.git","ssh_url":"git@github.com:google/syzkaller.git","clone_url":"https://github.com/google/syzkaller.git","svn_url":"https://github.com/google/syzkaller","homepage":"","size":1994,"stargazers_count":354,"watchers_count":354,"language":"Go","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":14,"forks":66,"open_issues":14,"watchers":354,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/syzkaller/pulls/73"},"html":{"href":"https://github.com/google/syzkaller/pull/73"},"issue":{"href":"https://api.github.com/repos/google/syzkaller/issues/73"},"comments":{"href":"https://api.github.com/repos/google/syzkaller/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/google/syzkaller/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/google/syzkaller/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/syzkaller/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/google/syzkaller/statuses/f4a0d0c7c43a4507c55337f87ca19710a655fbae"}}}}
{"actor":{"display_login":"dvyukov"}}