{"action":"created","comment":{"url":"https://api.github.com/repos/radare/radare2/pulls/comments/68493120","id":68493120,"diff_hunk":"@@ -2358,7 +2358,9 @@ struct Elf_(r_bin_elf_obj_t)* Elf_(r_bin_elf_new_buf)(RBuffer *buf) {\n \tstruct Elf_(r_bin_elf_obj_t) *bin = R_NEW0 (struct Elf_(r_bin_elf_obj_t));\n \tbin->kv = sdb_new0 ();\n \tbin->b = r_buf_new ();\n-\tbin->size = buf->length;\n+\tut64 curr = lseek (buf->fd, 0, SEEK_CUR);","path":"libr/bin/format/elf/elf.c","position":5,"original_position":5,"commit_id":"2d554e10319e071163612f2cdc1b81a2832c2ce1","original_commit_id":"2d554e10319e071163612f2cdc1b81a2832c2ce1","user":{"login":"condret","id":5904302,"avatar_url":"https://avatars.githubusercontent.com/u/5904302?v=3","gravatar_id":"","url":"https://api.github.com/users/condret","html_url":"https://github.com/condret","followers_url":"https://api.github.com/users/condret/followers","following_url":"https://api.github.com/users/condret/following{/other_user}","gists_url":"https://api.github.com/users/condret/gists{/gist_id}","starred_url":"https://api.github.com/users/condret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/condret/subscriptions","organizations_url":"https://api.github.com/users/condret/orgs","repos_url":"https://api.github.com/users/condret/repos","events_url":"https://api.github.com/users/condret/events{/privacy}","received_events_url":"https://api.github.com/users/condret/received_events","type":"User","site_admin":false},"body":"i'm pretty sure there is a wrapper for this, that accesses RIOBind","created_at":"2016-06-25T19:52:45Z","updated_at":"2016-06-25T19:52:45Z","html_url":"https://github.com/radare/radare2/pull/5214#discussion_r68493120","pull_request_url":"https://api.github.com/repos/radare/radare2/pulls/5214","_links":{"self":{"href":"https://api.github.com/repos/radare/radare2/pulls/comments/68493120"},"html":{"href":"https://github.com/radare/radare2/pull/5214#discussion_r68493120"},"pull_request":{"href":"https://api.github.com/repos/radare/radare2/pulls/5214"}}},"pull_request":{"url":"https://api.github.com/repos/radare/radare2/pulls/5214","id":75210998,"html_url":"https://github.com/radare/radare2/pull/5214","diff_url":"https://github.com/radare/radare2/pull/5214.diff","patch_url":"https://github.com/radare/radare2/pull/5214.patch","issue_url":"https://api.github.com/repos/radare/radare2/issues/5214","number":5214,"state":"open","locked":false,"title":"fix some part of #5164","user":{"login":"P4N74","id":11134594,"avatar_url":"https://avatars.githubusercontent.com/u/11134594?v=3","gravatar_id":"","url":"https://api.github.com/users/P4N74","html_url":"https://github.com/P4N74","followers_url":"https://api.github.com/users/P4N74/followers","following_url":"https://api.github.com/users/P4N74/following{/other_user}","gists_url":"https://api.github.com/users/P4N74/gists{/gist_id}","starred_url":"https://api.github.com/users/P4N74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P4N74/subscriptions","organizations_url":"https://api.github.com/users/P4N74/orgs","repos_url":"https://api.github.com/users/P4N74/repos","events_url":"https://api.github.com/users/P4N74/events{/privacy}","received_events_url":"https://api.github.com/users/P4N74/received_events","type":"User","site_admin":false},"body":"There is still an error in loading `/proc/kcore`. The malloc in `r_buf_set_bytes` of 128MB is failing, which I am still trying to figure out the exact reason. I got the sequence of function calling the r_buf_set_bytes, but still the exact reason is unknown to me.","created_at":"2016-06-25T18:21:17Z","updated_at":"2016-06-25T19:52:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"139ba2aa53de6c41ca76ee6668e3f78b023ed7b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/radare/radare2/pulls/5214/commits","review_comments_url":"https://api.github.com/repos/radare/radare2/pulls/5214/comments","review_comment_url":"https://api.github.com/repos/radare/radare2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/radare/radare2/issues/5214/comments","statuses_url":"https://api.github.com/repos/radare/radare2/statuses/2d554e10319e071163612f2cdc1b81a2832c2ce1","head":{"label":"P4N74:large_elf","ref":"large_elf","sha":"2d554e10319e071163612f2cdc1b81a2832c2ce1","user":{"login":"P4N74","id":11134594,"avatar_url":"https://avatars.githubusercontent.com/u/11134594?v=3","gravatar_id":"","url":"https://api.github.com/users/P4N74","html_url":"https://github.com/P4N74","followers_url":"https://api.github.com/users/P4N74/followers","following_url":"https://api.github.com/users/P4N74/following{/other_user}","gists_url":"https://api.github.com/users/P4N74/gists{/gist_id}","starred_url":"https://api.github.com/users/P4N74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P4N74/subscriptions","organizations_url":"https://api.github.com/users/P4N74/orgs","repos_url":"https://api.github.com/users/P4N74/repos","events_url":"https://api.github.com/users/P4N74/events{/privacy}","received_events_url":"https://api.github.com/users/P4N74/received_events","type":"User","site_admin":false},"repo":{"id":55441644,"name":"radare2","full_name":"P4N74/radare2","owner":{"login":"P4N74","id":11134594,"avatar_url":"https://avatars.githubusercontent.com/u/11134594?v=3","gravatar_id":"","url":"https://api.github.com/users/P4N74","html_url":"https://github.com/P4N74","followers_url":"https://api.github.com/users/P4N74/followers","following_url":"https://api.github.com/users/P4N74/following{/other_user}","gists_url":"https://api.github.com/users/P4N74/gists{/gist_id}","starred_url":"https://api.github.com/users/P4N74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P4N74/subscriptions","organizations_url":"https://api.github.com/users/P4N74/orgs","repos_url":"https://api.github.com/users/P4N74/repos","events_url":"https://api.github.com/users/P4N74/events{/privacy}","received_events_url":"https://api.github.com/users/P4N74/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/P4N74/radare2","description":"unix-like reverse engineering framework and commandline tools","fork":true,"url":"https://api.github.com/repos/P4N74/radare2","forks_url":"https://api.github.com/repos/P4N74/radare2/forks","keys_url":"https://api.github.com/repos/P4N74/radare2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/P4N74/radare2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/P4N74/radare2/teams","hooks_url":"https://api.github.com/repos/P4N74/radare2/hooks","issue_events_url":"https://api.github.com/repos/P4N74/radare2/issues/events{/number}","events_url":"https://api.github.com/repos/P4N74/radare2/events","assignees_url":"https://api.github.com/repos/P4N74/radare2/assignees{/user}","branches_url":"https://api.github.com/repos/P4N74/radare2/branches{/branch}","tags_url":"https://api.github.com/repos/P4N74/radare2/tags","blobs_url":"https://api.github.com/repos/P4N74/radare2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/P4N74/radare2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/P4N74/radare2/git/refs{/sha}","trees_url":"https://api.github.com/repos/P4N74/radare2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/P4N74/radare2/statuses/{sha}","languages_url":"https://api.github.com/repos/P4N74/radare2/languages","stargazers_url":"https://api.github.com/repos/P4N74/radare2/stargazers","contributors_url":"https://api.github.com/repos/P4N74/radare2/contributors","subscribers_url":"https://api.github.com/repos/P4N74/radare2/subscribers","subscription_url":"https://api.github.com/repos/P4N74/radare2/subscription","commits_url":"https://api.github.com/repos/P4N74/radare2/commits{/sha}","git_commits_url":"https://api.github.com/repos/P4N74/radare2/git/commits{/sha}","comments_url":"https://api.github.com/repos/P4N74/radare2/comments{/number}","issue_comment_url":"https://api.github.com/repos/P4N74/radare2/issues/comments{/number}","contents_url":"https://api.github.com/repos/P4N74/radare2/contents/{+path}","compare_url":"https://api.github.com/repos/P4N74/radare2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/P4N74/radare2/merges","archive_url":"https://api.github.com/repos/P4N74/radare2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/P4N74/radare2/downloads","issues_url":"https://api.github.com/repos/P4N74/radare2/issues{/number}","pulls_url":"https://api.github.com/repos/P4N74/radare2/pulls{/number}","milestones_url":"https://api.github.com/repos/P4N74/radare2/milestones{/number}","notifications_url":"https://api.github.com/repos/P4N74/radare2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/P4N74/radare2/labels{/name}","releases_url":"https://api.github.com/repos/P4N74/radare2/releases{/id}","deployments_url":"https://api.github.com/repos/P4N74/radare2/deployments","created_at":"2016-04-04T20:15:18Z","updated_at":"2016-04-04T20:15:31Z","pushed_at":"2016-06-25T18:42:13Z","git_url":"git://github.com/P4N74/radare2.git","ssh_url":"git@github.com:P4N74/radare2.git","clone_url":"https://github.com/P4N74/radare2.git","svn_url":"https://github.com/P4N74/radare2","homepage":"http://www.radare.org/","size":60863,"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":"1aa3b6bf7551788c6ad748a4bda2562ec34c0011","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-06-25T12:11:42Z","pushed_at":"2016-06-25T18:43:28Z","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":77965,"stargazers_count":2830,"watchers_count":2830,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":624,"mirror_url":null,"open_issues_count":744,"forks":624,"open_issues":744,"watchers":2830,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/radare/radare2/pulls/5214"},"html":{"href":"https://github.com/radare/radare2/pull/5214"},"issue":{"href":"https://api.github.com/repos/radare/radare2/issues/5214"},"comments":{"href":"https://api.github.com/repos/radare/radare2/issues/5214/comments"},"review_comments":{"href":"https://api.github.com/repos/radare/radare2/pulls/5214/comments"},"review_comment":{"href":"https://api.github.com/repos/radare/radare2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/radare/radare2/pulls/5214/commits"},"statuses":{"href":"https://api.github.com/repos/radare/radare2/statuses/2d554e10319e071163612f2cdc1b81a2832c2ce1"}}}}
{"actor":{"display_login":"condret"}}