{"action":"opened","number":4500,"pull_request":{"url":"https://api.github.com/repos/radare/radare2/pulls/4500","id":65055623,"html_url":"https://github.com/radare/radare2/pull/4500","diff_url":"https://github.com/radare/radare2/pull/4500.diff","patch_url":"https://github.com/radare/radare2/pull/4500.patch","issue_url":"https://api.github.com/repos/radare/radare2/issues/4500","number":4500,"state":"open","locked":false,"title":"Basic analysis for z80","user":{"login":"kolen","id":24191,"avatar_url":"https://avatars.githubusercontent.com/u/24191?v=3","gravatar_id":"","url":"https://api.github.com/users/kolen","html_url":"https://github.com/kolen","followers_url":"https://api.github.com/users/kolen/followers","following_url":"https://api.github.com/users/kolen/following{/other_user}","gists_url":"https://api.github.com/users/kolen/gists{/gist_id}","starred_url":"https://api.github.com/users/kolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolen/subscriptions","organizations_url":"https://api.github.com/users/kolen/orgs","repos_url":"https://api.github.com/users/kolen/repos","events_url":"https://api.github.com/users/kolen/events{/privacy}","received_events_url":"https://api.github.com/users/kolen/received_events","type":"User","site_admin":false},"body":"Trying to make z80 analysis work. It was in almost stub state, at least now it detects conditional and unconditional jumps and returns.\r\n\r\nI'm not sure if it works correctly. I currently stuck on problem that ``af`` creates functions but then ``pdf`` says \"Cannot find function\":\r\n\r\n```\r\n[0x00000000]> f | grep b2c4\r\n0x0000b2c4 147 fcn.0000b2c4\r\n[0x00000000]> pdf @ 0xb2c4\r\nCannot find function at 0x0000b2c4\r\n[0x00000000]> pdf @ fcn.0000b2c4\r\nCannot find function at 0x0000b2c4\r\n```\r\n\r\nWhat can I do to improve it further? Will esil be used by analyzer or it's intended only to be human-readable? Are all fields such as ``stackop``, ``ptr`` and op types such as ``R_ANAL_OP_TYPE_DIV`` useful or they're superseded by esil?","created_at":"2016-04-03T01:23:45Z","updated_at":"2016-04-03T01:23:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/radare/radare2/pulls/4500/commits","review_comments_url":"https://api.github.com/repos/radare/radare2/pulls/4500/comments","review_comment_url":"https://api.github.com/repos/radare/radare2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/radare/radare2/issues/4500/comments","statuses_url":"https://api.github.com/repos/radare/radare2/statuses/7246b91df8fe415f171b642c2baec48da1932dde","head":{"label":"kolen:anal-z80","ref":"anal-z80","sha":"7246b91df8fe415f171b642c2baec48da1932dde","user":{"login":"kolen","id":24191,"avatar_url":"https://avatars.githubusercontent.com/u/24191?v=3","gravatar_id":"","url":"https://api.github.com/users/kolen","html_url":"https://github.com/kolen","followers_url":"https://api.github.com/users/kolen/followers","following_url":"https://api.github.com/users/kolen/following{/other_user}","gists_url":"https://api.github.com/users/kolen/gists{/gist_id}","starred_url":"https://api.github.com/users/kolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolen/subscriptions","organizations_url":"https://api.github.com/users/kolen/orgs","repos_url":"https://api.github.com/users/kolen/repos","events_url":"https://api.github.com/users/kolen/events{/privacy}","received_events_url":"https://api.github.com/users/kolen/received_events","type":"User","site_admin":false},"repo":{"id":55321374,"name":"radare2","full_name":"kolen/radare2","owner":{"login":"kolen","id":24191,"avatar_url":"https://avatars.githubusercontent.com/u/24191?v=3","gravatar_id":"","url":"https://api.github.com/users/kolen","html_url":"https://github.com/kolen","followers_url":"https://api.github.com/users/kolen/followers","following_url":"https://api.github.com/users/kolen/following{/other_user}","gists_url":"https://api.github.com/users/kolen/gists{/gist_id}","starred_url":"https://api.github.com/users/kolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolen/subscriptions","organizations_url":"https://api.github.com/users/kolen/orgs","repos_url":"https://api.github.com/users/kolen/repos","events_url":"https://api.github.com/users/kolen/events{/privacy}","received_events_url":"https://api.github.com/users/kolen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kolen/radare2","description":"unix-like reverse engineering framework and commandline tools","fork":true,"url":"https://api.github.com/repos/kolen/radare2","forks_url":"https://api.github.com/repos/kolen/radare2/forks","keys_url":"https://api.github.com/repos/kolen/radare2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kolen/radare2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kolen/radare2/teams","hooks_url":"https://api.github.com/repos/kolen/radare2/hooks","issue_events_url":"https://api.github.com/repos/kolen/radare2/issues/events{/number}","events_url":"https://api.github.com/repos/kolen/radare2/events","assignees_url":"https://api.github.com/repos/kolen/radare2/assignees{/user}","branches_url":"https://api.github.com/repos/kolen/radare2/branches{/branch}","tags_url":"https://api.github.com/repos/kolen/radare2/tags","blobs_url":"https://api.github.com/repos/kolen/radare2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kolen/radare2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kolen/radare2/git/refs{/sha}","trees_url":"https://api.github.com/repos/kolen/radare2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kolen/radare2/statuses/{sha}","languages_url":"https://api.github.com/repos/kolen/radare2/languages","stargazers_url":"https://api.github.com/repos/kolen/radare2/stargazers","contributors_url":"https://api.github.com/repos/kolen/radare2/contributors","subscribers_url":"https://api.github.com/repos/kolen/radare2/subscribers","subscription_url":"https://api.github.com/repos/kolen/radare2/subscription","commits_url":"https://api.github.com/repos/kolen/radare2/commits{/sha}","git_commits_url":"https://api.github.com/repos/kolen/radare2/git/commits{/sha}","comments_url":"https://api.github.com/repos/kolen/radare2/comments{/number}","issue_comment_url":"https://api.github.com/repos/kolen/radare2/issues/comments{/number}","contents_url":"https://api.github.com/repos/kolen/radare2/contents/{+path}","compare_url":"https://api.github.com/repos/kolen/radare2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kolen/radare2/merges","archive_url":"https://api.github.com/repos/kolen/radare2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kolen/radare2/downloads","issues_url":"https://api.github.com/repos/kolen/radare2/issues{/number}","pulls_url":"https://api.github.com/repos/kolen/radare2/pulls{/number}","milestones_url":"https://api.github.com/repos/kolen/radare2/milestones{/number}","notifications_url":"https://api.github.com/repos/kolen/radare2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kolen/radare2/labels{/name}","releases_url":"https://api.github.com/repos/kolen/radare2/releases{/id}","deployments_url":"https://api.github.com/repos/kolen/radare2/deployments","created_at":"2016-04-02T23:44:30Z","updated_at":"2016-04-02T23:44:46Z","pushed_at":"2016-04-03T01:01:51Z","git_url":"git://github.com/kolen/radare2.git","ssh_url":"git@github.com:kolen/radare2.git","clone_url":"https://github.com/kolen/radare2.git","svn_url":"https://github.com/kolen/radare2","homepage":"http://www.radare.org/","size":56569,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"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":"radare:master","ref":"master","sha":"cb9315b86f58a4ca4f75b6f3ff0c1548f222092f","user":{"login":"radare","id":917142,"avatar_url":"https://avatars.githubusercontent.com/u/917142?v=3","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"repo":{"id":4869294,"name":"radare2","full_name":"radare/radare2","owner":{"login":"radare","id":917142,"avatar_url":"https://avatars.githubusercontent.com/u/917142?v=3","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/radare/radare2","description":"unix-like reverse engineering framework and commandline tools","fork":false,"url":"https://api.github.com/repos/radare/radare2","forks_url":"https://api.github.com/repos/radare/radare2/forks","keys_url":"https://api.github.com/repos/radare/radare2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/radare/radare2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/radare/radare2/teams","hooks_url":"https://api.github.com/repos/radare/radare2/hooks","issue_events_url":"https://api.github.com/repos/radare/radare2/issues/events{/number}","events_url":"https://api.github.com/repos/radare/radare2/events","assignees_url":"https://api.github.com/repos/radare/radare2/assignees{/user}","branches_url":"https://api.github.com/repos/radare/radare2/branches{/branch}","tags_url":"https://api.github.com/repos/radare/radare2/tags","blobs_url":"https://api.github.com/repos/radare/radare2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/radare/radare2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/radare/radare2/git/refs{/sha}","trees_url":"https://api.github.com/repos/radare/radare2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/radare/radare2/statuses/{sha}","languages_url":"https://api.github.com/repos/radare/radare2/languages","stargazers_url":"https://api.github.com/repos/radare/radare2/stargazers","contributors_url":"https://api.github.com/repos/radare/radare2/contributors","subscribers_url":"https://api.github.com/repos/radare/radare2/subscribers","subscription_url":"https://api.github.com/repos/radare/radare2/subscription","commits_url":"https://api.github.com/repos/radare/radare2/commits{/sha}","git_commits_url":"https://api.github.com/repos/radare/radare2/git/commits{/sha}","comments_url":"https://api.github.com/repos/radare/radare2/comments{/number}","issue_comment_url":"https://api.github.com/repos/radare/radare2/issues/comments{/number}","contents_url":"https://api.github.com/repos/radare/radare2/contents/{+path}","compare_url":"https://api.github.com/repos/radare/radare2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/radare/radare2/merges","archive_url":"https://api.github.com/repos/radare/radare2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/radare/radare2/downloads","issues_url":"https://api.github.com/repos/radare/radare2/issues{/number}","pulls_url":"https://api.github.com/repos/radare/radare2/pulls{/number}","milestones_url":"https://api.github.com/repos/radare/radare2/milestones{/number}","notifications_url":"https://api.github.com/repos/radare/radare2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/radare/radare2/labels{/name}","releases_url":"https://api.github.com/repos/radare/radare2/releases{/id}","deployments_url":"https://api.github.com/repos/radare/radare2/deployments","created_at":"2012-07-03T07:42:26Z","updated_at":"2016-04-02T23:43:09Z","pushed_at":"2016-04-02T23:43:21Z","git_url":"git://github.com/radare/radare2.git","ssh_url":"git@github.com:radare/radare2.git","clone_url":"https://github.com/radare/radare2.git","svn_url":"https://github.com/radare/radare2","homepage":"http://www.radare.org/","size":72681,"stargazers_count":2437,"watchers_count":2437,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":537,"mirror_url":null,"open_issues_count":676,"forks":537,"open_issues":676,"watchers":2437,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/radare/radare2/pulls/4500"},"html":{"href":"https://github.com/radare/radare2/pull/4500"},"issue":{"href":"https://api.github.com/repos/radare/radare2/issues/4500"},"comments":{"href":"https://api.github.com/repos/radare/radare2/issues/4500/comments"},"review_comments":{"href":"https://api.github.com/repos/radare/radare2/pulls/4500/comments"},"review_comment":{"href":"https://api.github.com/repos/radare/radare2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/radare/radare2/pulls/4500/commits"},"statuses":{"href":"https://api.github.com/repos/radare/radare2/statuses/7246b91df8fe415f171b642c2baec48da1932dde"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":62,"deletions":33,"changed_files":1}}