{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/161","labels_url":"https://api.github.com/repos/radare/radare2/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/161/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/161/events","html_url":"https://github.com/radare/radare2/issues/161","id":17164382,"number":161,"title":"Wrong PIC executables load at debug mode ","user":{"login":"earada","id":303102,"avatar_url":"https://avatars.githubusercontent.com/u/303102?v=3","gravatar_id":"","url":"https://api.github.com/users/earada","html_url":"https://github.com/earada","followers_url":"https://api.github.com/users/earada/followers","following_url":"https://api.github.com/users/earada/following{/other_user}","gists_url":"https://api.github.com/users/earada/gists{/gist_id}","starred_url":"https://api.github.com/users/earada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earada/subscriptions","organizations_url":"https://api.github.com/users/earada/orgs","repos_url":"https://api.github.com/users/earada/repos","events_url":"https://api.github.com/users/earada/events{/privacy}","received_events_url":"https://api.github.com/users/earada/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/radare/radare2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/radare/radare2/labels/debug-info","name":"debug-info","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-07-24T15:45:06Z","updated_at":"2015-06-01T15:26:39Z","closed_at":"2015-06-01T14:43:23Z","body":"Example:\r\n\r\n```\r\n% r2 test\r\n[0x100000ee0]> iI~pic\r\npic\ttrue\r\n[0x100000ee0]> f~main\r\n0x100000f20 0 sym._main\r\n```\r\n\r\nWhen running debugger mode:\r\n\r\n```\r\n% sudo r2 -d test\r\n[0x7fff65df0028]> iI~pic\r\npic\ttrue\r\n[0x7fff65df0028]> f~main\r\n0x100000f20 64 main\r\n0x100000f20 0 sym._main\r\n[0x7fff65df0028]> is~main\r\naddr=0x100000f20 off=0x00000f20 ord=005 fwd=NONE sz=0 bind=GLOBAL type=FUNC name=_main\r\n[0x7fff65df0028]> dm~0x10\r\nsys 0x1061ef000 - 0x1061f0000 s r-x --x 01 copy/priv/not-reserved\r\nsys 0x1061f0000 - 0x1061f1000 s -wx --x 02 copy/priv/not-reserved\r\nsys 0x1061f1000 - 0x1061f2000 s --x --x 03 copy/priv/not-reserved\r\n```\r\n\r\nNot even 0x100000000 mapped. The main flag should be at 0x1061ef000+0xf20 = 0x1061eff20"},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/107582385","html_url":"https://github.com/radare/radare2/issues/161#issuecomment-107582385","issue_url":"https://api.github.com/repos/radare/radare2/issues/161","id":107582385,"user":{"login":"XVilka","id":203261,"avatar_url":"https://avatars.githubusercontent.com/u/203261?v=3","gravatar_id":"","url":"https://api.github.com/users/XVilka","html_url":"https://github.com/XVilka","followers_url":"https://api.github.com/users/XVilka/followers","following_url":"https://api.github.com/users/XVilka/following{/other_user}","gists_url":"https://api.github.com/users/XVilka/gists{/gist_id}","starred_url":"https://api.github.com/users/XVilka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XVilka/subscriptions","organizations_url":"https://api.github.com/users/XVilka/orgs","repos_url":"https://api.github.com/users/XVilka/repos","events_url":"https://api.github.com/users/XVilka/events{/privacy}","received_events_url":"https://api.github.com/users/XVilka/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T15:26:39Z","updated_at":"2015-06-01T15:26:39Z","body":"@earada @radare can you provide us a test binary?"}}