{"action":"opened","number":171,"pull_request":{"url":"https://api.github.com/repos/eteran/edb-debugger/pulls/171","id":41404595,"html_url":"https://github.com/eteran/edb-debugger/pull/171","diff_url":"https://github.com/eteran/edb-debugger/pull/171.diff","patch_url":"https://github.com/eteran/edb-debugger/pull/171.patch","issue_url":"https://api.github.com/repos/eteran/edb-debugger/issues/171","number":171,"state":"open","locked":false,"title":"Add AVX support to PlatformState and a bunch of other improvements","user":{"login":"10110111","id":6376882,"avatar_url":"https://avatars.githubusercontent.com/u/6376882?v=3","gravatar_id":"","url":"https://api.github.com/users/10110111","html_url":"https://github.com/10110111","followers_url":"https://api.github.com/users/10110111/followers","following_url":"https://api.github.com/users/10110111/following{/other_user}","gists_url":"https://api.github.com/users/10110111/gists{/gist_id}","starred_url":"https://api.github.com/users/10110111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10110111/subscriptions","organizations_url":"https://api.github.com/users/10110111/orgs","repos_url":"https://api.github.com/users/10110111/repos","events_url":"https://api.github.com/users/10110111/events{/privacy}","received_events_url":"https://api.github.com/users/10110111/received_events","type":"User","site_admin":false},"body":"The main feature of this set of commits is that now AVX registers are displayed instead of SSE ones on systems where AVX is supported and enabled by the OS. Also the support for SSE-less systems was fixed. Now on such systems SSE registers are not displayed, but FPU ones still work correctly (this was broken by my `PTRACE_GETFPXREGS` patch before).\r\n\r\nAnother change is that invalid registers are no longer zeroed. Their values are instead marked by filling the corresponding memory with marker of `0xbad1`. This way 1) the user will immediately notice that the value being reported by EDB is untrustworthy and 2) the developer will see the bogus values when doing test runs. This also means that the functions can't rely on invalid `Register` having zero value. They instead should explicitly check validity of `Register` they received.\r\n\r\nThe above change also makes the previous situation that the registers were showed although zero even when there were no program attached to. Now in these cases (more precisely, when State is empty) the registers are not displayed at all.\r\n\r\nAlso, now general purpose registers are displayed in a bit more \"natural\" order, namely according to their architectural index (like index `i` in `0xB8+i` instruction).\r\n\r\nAlso I've replaced previous hard to use `string_hash`, which required me to separate strings into chars, by a new one, which accepts string literals (up to 8 chars long too) and has an interface of a function, rather than `struct`.","created_at":"2015-08-01T17:09:18Z","updated_at":"2015-08-01T17:09:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eteran/edb-debugger/pulls/171/commits","review_comments_url":"https://api.github.com/repos/eteran/edb-debugger/pulls/171/comments","review_comment_url":"https://api.github.com/repos/eteran/edb-debugger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eteran/edb-debugger/issues/171/comments","statuses_url":"https://api.github.com/repos/eteran/edb-debugger/statuses/17e4fbca31170403b3516095fc45b714b44d075c","head":{"label":"10110111:master","ref":"master","sha":"17e4fbca31170403b3516095fc45b714b44d075c","user":{"login":"10110111","id":6376882,"avatar_url":"https://avatars.githubusercontent.com/u/6376882?v=3","gravatar_id":"","url":"https://api.github.com/users/10110111","html_url":"https://github.com/10110111","followers_url":"https://api.github.com/users/10110111/followers","following_url":"https://api.github.com/users/10110111/following{/other_user}","gists_url":"https://api.github.com/users/10110111/gists{/gist_id}","starred_url":"https://api.github.com/users/10110111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10110111/subscriptions","organizations_url":"https://api.github.com/users/10110111/orgs","repos_url":"https://api.github.com/users/10110111/repos","events_url":"https://api.github.com/users/10110111/events{/privacy}","received_events_url":"https://api.github.com/users/10110111/received_events","type":"User","site_admin":false},"repo":{"id":39303315,"name":"edb-debugger","full_name":"10110111/edb-debugger","owner":{"login":"10110111","id":6376882,"avatar_url":"https://avatars.githubusercontent.com/u/6376882?v=3","gravatar_id":"","url":"https://api.github.com/users/10110111","html_url":"https://github.com/10110111","followers_url":"https://api.github.com/users/10110111/followers","following_url":"https://api.github.com/users/10110111/following{/other_user}","gists_url":"https://api.github.com/users/10110111/gists{/gist_id}","starred_url":"https://api.github.com/users/10110111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10110111/subscriptions","organizations_url":"https://api.github.com/users/10110111/orgs","repos_url":"https://api.github.com/users/10110111/repos","events_url":"https://api.github.com/users/10110111/events{/privacy}","received_events_url":"https://api.github.com/users/10110111/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/10110111/edb-debugger","description":"edb is a cross platform x86/x86-64 debugger.","fork":true,"url":"https://api.github.com/repos/10110111/edb-debugger","forks_url":"https://api.github.com/repos/10110111/edb-debugger/forks","keys_url":"https://api.github.com/repos/10110111/edb-debugger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/10110111/edb-debugger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/10110111/edb-debugger/teams","hooks_url":"https://api.github.com/repos/10110111/edb-debugger/hooks","issue_events_url":"https://api.github.com/repos/10110111/edb-debugger/issues/events{/number}","events_url":"https://api.github.com/repos/10110111/edb-debugger/events","assignees_url":"https://api.github.com/repos/10110111/edb-debugger/assignees{/user}","branches_url":"https://api.github.com/repos/10110111/edb-debugger/branches{/branch}","tags_url":"https://api.github.com/repos/10110111/edb-debugger/tags","blobs_url":"https://api.github.com/repos/10110111/edb-debugger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/10110111/edb-debugger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/10110111/edb-debugger/git/refs{/sha}","trees_url":"https://api.github.com/repos/10110111/edb-debugger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/10110111/edb-debugger/statuses/{sha}","languages_url":"https://api.github.com/repos/10110111/edb-debugger/languages","stargazers_url":"https://api.github.com/repos/10110111/edb-debugger/stargazers","contributors_url":"https://api.github.com/repos/10110111/edb-debugger/contributors","subscribers_url":"https://api.github.com/repos/10110111/edb-debugger/subscribers","subscription_url":"https://api.github.com/repos/10110111/edb-debugger/subscription","commits_url":"https://api.github.com/repos/10110111/edb-debugger/commits{/sha}","git_commits_url":"https://api.github.com/repos/10110111/edb-debugger/git/commits{/sha}","comments_url":"https://api.github.com/repos/10110111/edb-debugger/comments{/number}","issue_comment_url":"https://api.github.com/repos/10110111/edb-debugger/issues/comments{/number}","contents_url":"https://api.github.com/repos/10110111/edb-debugger/contents/{+path}","compare_url":"https://api.github.com/repos/10110111/edb-debugger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/10110111/edb-debugger/merges","archive_url":"https://api.github.com/repos/10110111/edb-debugger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/10110111/edb-debugger/downloads","issues_url":"https://api.github.com/repos/10110111/edb-debugger/issues{/number}","pulls_url":"https://api.github.com/repos/10110111/edb-debugger/pulls{/number}","milestones_url":"https://api.github.com/repos/10110111/edb-debugger/milestones{/number}","notifications_url":"https://api.github.com/repos/10110111/edb-debugger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/10110111/edb-debugger/labels{/name}","releases_url":"https://api.github.com/repos/10110111/edb-debugger/releases{/id}","created_at":"2015-07-18T15:44:08Z","updated_at":"2015-07-18T15:44:10Z","pushed_at":"2015-08-01T16:53:03Z","git_url":"git://github.com/10110111/edb-debugger.git","ssh_url":"git@github.com:10110111/edb-debugger.git","clone_url":"https://github.com/10110111/edb-debugger.git","svn_url":"https://github.com/10110111/edb-debugger","homepage":"","size":2203,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"eteran:master","ref":"master","sha":"29e02d2a4118f679318153e4786a75d84670fb3c","user":{"login":"eteran","id":571477,"avatar_url":"https://avatars.githubusercontent.com/u/571477?v=3","gravatar_id":"","url":"https://api.github.com/users/eteran","html_url":"https://github.com/eteran","followers_url":"https://api.github.com/users/eteran/followers","following_url":"https://api.github.com/users/eteran/following{/other_user}","gists_url":"https://api.github.com/users/eteran/gists{/gist_id}","starred_url":"https://api.github.com/users/eteran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteran/subscriptions","organizations_url":"https://api.github.com/users/eteran/orgs","repos_url":"https://api.github.com/users/eteran/repos","events_url":"https://api.github.com/users/eteran/events{/privacy}","received_events_url":"https://api.github.com/users/eteran/received_events","type":"User","site_admin":false},"repo":{"id":33055929,"name":"edb-debugger","full_name":"eteran/edb-debugger","owner":{"login":"eteran","id":571477,"avatar_url":"https://avatars.githubusercontent.com/u/571477?v=3","gravatar_id":"","url":"https://api.github.com/users/eteran","html_url":"https://github.com/eteran","followers_url":"https://api.github.com/users/eteran/followers","following_url":"https://api.github.com/users/eteran/following{/other_user}","gists_url":"https://api.github.com/users/eteran/gists{/gist_id}","starred_url":"https://api.github.com/users/eteran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteran/subscriptions","organizations_url":"https://api.github.com/users/eteran/orgs","repos_url":"https://api.github.com/users/eteran/repos","events_url":"https://api.github.com/users/eteran/events{/privacy}","received_events_url":"https://api.github.com/users/eteran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eteran/edb-debugger","description":"edb is a cross platform x86/x86-64 debugger.","fork":false,"url":"https://api.github.com/repos/eteran/edb-debugger","forks_url":"https://api.github.com/repos/eteran/edb-debugger/forks","keys_url":"https://api.github.com/repos/eteran/edb-debugger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eteran/edb-debugger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eteran/edb-debugger/teams","hooks_url":"https://api.github.com/repos/eteran/edb-debugger/hooks","issue_events_url":"https://api.github.com/repos/eteran/edb-debugger/issues/events{/number}","events_url":"https://api.github.com/repos/eteran/edb-debugger/events","assignees_url":"https://api.github.com/repos/eteran/edb-debugger/assignees{/user}","branches_url":"https://api.github.com/repos/eteran/edb-debugger/branches{/branch}","tags_url":"https://api.github.com/repos/eteran/edb-debugger/tags","blobs_url":"https://api.github.com/repos/eteran/edb-debugger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eteran/edb-debugger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eteran/edb-debugger/git/refs{/sha}","trees_url":"https://api.github.com/repos/eteran/edb-debugger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eteran/edb-debugger/statuses/{sha}","languages_url":"https://api.github.com/repos/eteran/edb-debugger/languages","stargazers_url":"https://api.github.com/repos/eteran/edb-debugger/stargazers","contributors_url":"https://api.github.com/repos/eteran/edb-debugger/contributors","subscribers_url":"https://api.github.com/repos/eteran/edb-debugger/subscribers","subscription_url":"https://api.github.com/repos/eteran/edb-debugger/subscription","commits_url":"https://api.github.com/repos/eteran/edb-debugger/commits{/sha}","git_commits_url":"https://api.github.com/repos/eteran/edb-debugger/git/commits{/sha}","comments_url":"https://api.github.com/repos/eteran/edb-debugger/comments{/number}","issue_comment_url":"https://api.github.com/repos/eteran/edb-debugger/issues/comments{/number}","contents_url":"https://api.github.com/repos/eteran/edb-debugger/contents/{+path}","compare_url":"https://api.github.com/repos/eteran/edb-debugger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eteran/edb-debugger/merges","archive_url":"https://api.github.com/repos/eteran/edb-debugger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eteran/edb-debugger/downloads","issues_url":"https://api.github.com/repos/eteran/edb-debugger/issues{/number}","pulls_url":"https://api.github.com/repos/eteran/edb-debugger/pulls{/number}","milestones_url":"https://api.github.com/repos/eteran/edb-debugger/milestones{/number}","notifications_url":"https://api.github.com/repos/eteran/edb-debugger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eteran/edb-debugger/labels{/name}","releases_url":"https://api.github.com/repos/eteran/edb-debugger/releases{/id}","created_at":"2015-03-29T00:34:00Z","updated_at":"2015-07-28T17:22:39Z","pushed_at":"2015-07-30T19:19:41Z","git_url":"git://github.com/eteran/edb-debugger.git","ssh_url":"git@github.com:eteran/edb-debugger.git","clone_url":"https://github.com/eteran/edb-debugger.git","svn_url":"https://github.com/eteran/edb-debugger","homepage":"","size":2781,"stargazers_count":51,"watchers_count":51,"language":"C++","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":52,"forks":10,"open_issues":52,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eteran/edb-debugger/pulls/171"},"html":{"href":"https://github.com/eteran/edb-debugger/pull/171"},"issue":{"href":"https://api.github.com/repos/eteran/edb-debugger/issues/171"},"comments":{"href":"https://api.github.com/repos/eteran/edb-debugger/issues/171/comments"},"review_comments":{"href":"https://api.github.com/repos/eteran/edb-debugger/pulls/171/comments"},"review_comment":{"href":"https://api.github.com/repos/eteran/edb-debugger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eteran/edb-debugger/pulls/171/commits"},"statuses":{"href":"https://api.github.com/repos/eteran/edb-debugger/statuses/17e4fbca31170403b3516095fc45b714b44d075c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":19,"additions":1152,"deletions":468,"changed_files":18}}