{"action":"created","comment":{"url":"https://api.github.com/repos/radare/radare2/pulls/comments/77784734","id":77784734,"diff_hunk":"@@ -2598,8 +2641,26 @@ static int cmd_print(void *data, const char *input) {\n \t\t\t\t\t\t\t\tr_cons_printf (\"  false: 0x%08\"PFMT64x, b->fail);\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tr_cons_newline ();\n-\t#endif\n+#endif\n \t\t\t\t\t\t}\n+\t\t\t\t\t\tfor (locs_it; locs_it && (tmp_func = locs_it->data); locs_it = locs_it->n) {\n+\t\t\t\t\t\t\t//this should be more advanced\n+\t\t\t\t\t\t\tr_list_foreach (tmp_func->bbs, iter, b) {\n+\t\t\t\t\t\t\t\tr_core_cmdf (core, \"pD %\"PFMT64d\" @0x%\"PFMT64x, b->size, b->addr);","path":"libr/core/cmd_print.c","position":93,"original_position":93,"commit_id":"251d689a72f57dd4a03097ae1dca2cc5aa6f8842","original_commit_id":"251d689a72f57dd4a03097ae1dca2cc5aa6f8842","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},"body":"try to use the api","created_at":"2016-09-07T09:03:58Z","updated_at":"2016-09-07T09:03:58Z","html_url":"https://github.com/radare/radare2/pull/5709#discussion_r77784734","pull_request_url":"https://api.github.com/repos/radare/radare2/pulls/5709","_links":{"self":{"href":"https://api.github.com/repos/radare/radare2/pulls/comments/77784734"},"html":{"href":"https://github.com/radare/radare2/pull/5709#discussion_r77784734"},"pull_request":{"href":"https://api.github.com/repos/radare/radare2/pulls/5709"}}},"pull_request":{"url":"https://api.github.com/repos/radare/radare2/pulls/5709","id":84226130,"html_url":"https://github.com/radare/radare2/pull/5709","diff_url":"https://github.com/radare/radare2/pull/5709.diff","patch_url":"https://github.com/radare/radare2/pull/5709.patch","issue_url":"https://api.github.com/repos/radare/radare2/issues/5709","number":5709,"state":"open","locked":false,"title":"\"#4734 #4442 fix\"","user":{"login":"VPaulV","id":5863225,"avatar_url":"https://avatars.githubusercontent.com/u/5863225?v=3","gravatar_id":"","url":"https://api.github.com/users/VPaulV","html_url":"https://github.com/VPaulV","followers_url":"https://api.github.com/users/VPaulV/followers","following_url":"https://api.github.com/users/VPaulV/following{/other_user}","gists_url":"https://api.github.com/users/VPaulV/gists{/gist_id}","starred_url":"https://api.github.com/users/VPaulV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VPaulV/subscriptions","organizations_url":"https://api.github.com/users/VPaulV/orgs","repos_url":"https://api.github.com/users/VPaulV/repos","events_url":"https://api.github.com/users/VPaulV/events{/privacy}","received_events_url":"https://api.github.com/users/VPaulV/received_events","type":"User","site_admin":false},"body":"This pull request fixes issue https://github.com/radare/radare2/issues/4442 and https://github.com/radare/radare2/issues/4734\r\nThe following bugs were fixed:\r\n- `pdf` worked only with continuous functions. (which is wrong because funcs bbs could be aligned not continuously, example of such function can be found in issue #4743)\r\n- `pdf` used size instead of realsize\r\n- `pdr` locs print is added\r\n- loc.* were not a part of a function. Now behavior is similar to the IDA behavior. Each functions includes locs and the function realsize calculated as size of bbs of a function + locs size","created_at":"2016-09-07T02:10:55Z","updated_at":"2016-09-07T09:03:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9205e9e37a91fe8720b16fbf1b5758a07f96d7af","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/radare/radare2/pulls/5709/commits","review_comments_url":"https://api.github.com/repos/radare/radare2/pulls/5709/comments","review_comment_url":"https://api.github.com/repos/radare/radare2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/radare/radare2/issues/5709/comments","statuses_url":"https://api.github.com/repos/radare/radare2/statuses/251d689a72f57dd4a03097ae1dca2cc5aa6f8842","head":{"label":"VPaulV:anal-fix","ref":"anal-fix","sha":"251d689a72f57dd4a03097ae1dca2cc5aa6f8842","user":{"login":"VPaulV","id":5863225,"avatar_url":"https://avatars.githubusercontent.com/u/5863225?v=3","gravatar_id":"","url":"https://api.github.com/users/VPaulV","html_url":"https://github.com/VPaulV","followers_url":"https://api.github.com/users/VPaulV/followers","following_url":"https://api.github.com/users/VPaulV/following{/other_user}","gists_url":"https://api.github.com/users/VPaulV/gists{/gist_id}","starred_url":"https://api.github.com/users/VPaulV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VPaulV/subscriptions","organizations_url":"https://api.github.com/users/VPaulV/orgs","repos_url":"https://api.github.com/users/VPaulV/repos","events_url":"https://api.github.com/users/VPaulV/events{/privacy}","received_events_url":"https://api.github.com/users/VPaulV/received_events","type":"User","site_admin":false},"repo":{"id":65403440,"name":"radare2","full_name":"VPaulV/radare2","owner":{"login":"VPaulV","id":5863225,"avatar_url":"https://avatars.githubusercontent.com/u/5863225?v=3","gravatar_id":"","url":"https://api.github.com/users/VPaulV","html_url":"https://github.com/VPaulV","followers_url":"https://api.github.com/users/VPaulV/followers","following_url":"https://api.github.com/users/VPaulV/following{/other_user}","gists_url":"https://api.github.com/users/VPaulV/gists{/gist_id}","starred_url":"https://api.github.com/users/VPaulV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VPaulV/subscriptions","organizations_url":"https://api.github.com/users/VPaulV/orgs","repos_url":"https://api.github.com/users/VPaulV/repos","events_url":"https://api.github.com/users/VPaulV/events{/privacy}","received_events_url":"https://api.github.com/users/VPaulV/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VPaulV/radare2","description":"unix-like reverse engineering framework and commandline tools","fork":true,"url":"https://api.github.com/repos/VPaulV/radare2","forks_url":"https://api.github.com/repos/VPaulV/radare2/forks","keys_url":"https://api.github.com/repos/VPaulV/radare2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VPaulV/radare2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VPaulV/radare2/teams","hooks_url":"https://api.github.com/repos/VPaulV/radare2/hooks","issue_events_url":"https://api.github.com/repos/VPaulV/radare2/issues/events{/number}","events_url":"https://api.github.com/repos/VPaulV/radare2/events","assignees_url":"https://api.github.com/repos/VPaulV/radare2/assignees{/user}","branches_url":"https://api.github.com/repos/VPaulV/radare2/branches{/branch}","tags_url":"https://api.github.com/repos/VPaulV/radare2/tags","blobs_url":"https://api.github.com/repos/VPaulV/radare2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VPaulV/radare2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VPaulV/radare2/git/refs{/sha}","trees_url":"https://api.github.com/repos/VPaulV/radare2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VPaulV/radare2/statuses/{sha}","languages_url":"https://api.github.com/repos/VPaulV/radare2/languages","stargazers_url":"https://api.github.com/repos/VPaulV/radare2/stargazers","contributors_url":"https://api.github.com/repos/VPaulV/radare2/contributors","subscribers_url":"https://api.github.com/repos/VPaulV/radare2/subscribers","subscription_url":"https://api.github.com/repos/VPaulV/radare2/subscription","commits_url":"https://api.github.com/repos/VPaulV/radare2/commits{/sha}","git_commits_url":"https://api.github.com/repos/VPaulV/radare2/git/commits{/sha}","comments_url":"https://api.github.com/repos/VPaulV/radare2/comments{/number}","issue_comment_url":"https://api.github.com/repos/VPaulV/radare2/issues/comments{/number}","contents_url":"https://api.github.com/repos/VPaulV/radare2/contents/{+path}","compare_url":"https://api.github.com/repos/VPaulV/radare2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VPaulV/radare2/merges","archive_url":"https://api.github.com/repos/VPaulV/radare2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VPaulV/radare2/downloads","issues_url":"https://api.github.com/repos/VPaulV/radare2/issues{/number}","pulls_url":"https://api.github.com/repos/VPaulV/radare2/pulls{/number}","milestones_url":"https://api.github.com/repos/VPaulV/radare2/milestones{/number}","notifications_url":"https://api.github.com/repos/VPaulV/radare2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VPaulV/radare2/labels{/name}","releases_url":"https://api.github.com/repos/VPaulV/radare2/releases{/id}","deployments_url":"https://api.github.com/repos/VPaulV/radare2/deployments","created_at":"2016-08-10T17:39:14Z","updated_at":"2016-08-10T17:39:30Z","pushed_at":"2016-09-07T04:48:01Z","git_url":"git://github.com/VPaulV/radare2.git","ssh_url":"git@github.com:VPaulV/radare2.git","clone_url":"https://github.com/VPaulV/radare2.git","svn_url":"https://github.com/VPaulV/radare2","homepage":"http://www.radare.org/","size":61862,"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":"a458a368145cf26ad6bb4e6cab28ea986b463c0a","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-09-07T08:09:32Z","pushed_at":"2016-09-07T04:48:02Z","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":79978,"stargazers_count":3174,"watchers_count":3174,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":716,"mirror_url":null,"open_issues_count":804,"forks":716,"open_issues":804,"watchers":3174,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/radare/radare2/pulls/5709"},"html":{"href":"https://github.com/radare/radare2/pull/5709"},"issue":{"href":"https://api.github.com/repos/radare/radare2/issues/5709"},"comments":{"href":"https://api.github.com/repos/radare/radare2/issues/5709/comments"},"review_comments":{"href":"https://api.github.com/repos/radare/radare2/pulls/5709/comments"},"review_comment":{"href":"https://api.github.com/repos/radare/radare2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/radare/radare2/pulls/5709/commits"},"statuses":{"href":"https://api.github.com/repos/radare/radare2/statuses/251d689a72f57dd4a03097ae1dca2cc5aa6f8842"}}}}
{"actor":{"display_login":"radare"}}