{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/2885","repository_url":"https://api.github.com/repos/radare/radare2","labels_url":"https://api.github.com/repos/radare/radare2/issues/2885/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/2885/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/2885/events","html_url":"https://github.com/radare/radare2/issues/2885","id":92998369,"number":2885,"title":"Can't find function 'entry0' !","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/radare/radare2/labels/anal","name":"anal","color":"009800"},{"url":"https://api.github.com/repos/radare/radare2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/radare/radare2/labels/documentation","name":"documentation","color":"009800"},{"url":"https://api.github.com/repos/radare/radare2/labels/has-test","name":"has-test","color":"207de5"},{"url":"https://api.github.com/repos/radare/radare2/labels/portable%20executable","name":"portable executable","color":"009800"},{"url":"https://api.github.com/repos/radare/radare2/labels/test-attached","name":"test-attached","color":"d0ff00"}],"state":"closed","locked":false,"assignee":{"login":"alvarofe","id":3474042,"avatar_url":"https://avatars.githubusercontent.com/u/3474042?v=3","gravatar_id":"","url":"https://api.github.com/users/alvarofe","html_url":"https://github.com/alvarofe","followers_url":"https://api.github.com/users/alvarofe/followers","following_url":"https://api.github.com/users/alvarofe/following{/other_user}","gists_url":"https://api.github.com/users/alvarofe/gists{/gist_id}","starred_url":"https://api.github.com/users/alvarofe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvarofe/subscriptions","organizations_url":"https://api.github.com/users/alvarofe/orgs","repos_url":"https://api.github.com/users/alvarofe/repos","events_url":"https://api.github.com/users/alvarofe/events{/privacy}","received_events_url":"https://api.github.com/users/alvarofe/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-07-04T10:06:35Z","updated_at":"2016-06-18T23:01:01Z","closed_at":"2016-06-18T23:01:01Z","body":"Hello \r\nI try to disassemble a virus in PE format  ( know as safedrive) with radare2. it's compressed with FSG v2.0 (detailed on http://www.openrce.org/reference_library/packer_database_view/23)\r\nBut don't know why it can't find it's entry point ?\r\n```\r\nr2 sample/SafeDrv.exe \r\nWarning: Invalid import directory size: 0x84 is now 0x81\r\n -- Ilo ni li pona li pali e lipu. mi wile e ni: sina kama jo e musi\r\n[0x00400154]> aa\r\nCannot find function 'entry0' at 0x00400154\r\n```\r\nI tried with the following code\r\n```python\r\nimport pefile\r\npe =  pefile.PE(\"sample/SafeDrv.exe\")\r\nprint pe.OPTIONAL_HEADER.AddressOfEntryPoint\r\n```\r\nwhich gives\r\n```\r\n340\r\n```\r\nbut \r\n```\r\n[0x00400154]> pdf @ 340\r\nCannot find function at 0x00000154\r\n```"},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/226969686","html_url":"https://github.com/radare/radare2/issues/2885#issuecomment-226969686","issue_url":"https://api.github.com/repos/radare/radare2/issues/2885","id":226969686,"user":{"login":"Maijin","id":1408600,"avatar_url":"https://avatars.githubusercontent.com/u/1408600?v=3","gravatar_id":"","url":"https://api.github.com/users/Maijin","html_url":"https://github.com/Maijin","followers_url":"https://api.github.com/users/Maijin/followers","following_url":"https://api.github.com/users/Maijin/following{/other_user}","gists_url":"https://api.github.com/users/Maijin/gists{/gist_id}","starred_url":"https://api.github.com/users/Maijin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maijin/subscriptions","organizations_url":"https://api.github.com/users/Maijin/orgs","repos_url":"https://api.github.com/users/Maijin/repos","events_url":"https://api.github.com/users/Maijin/events{/privacy}","received_events_url":"https://api.github.com/users/Maijin/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T23:01:01Z","updated_at":"2016-06-18T23:01:01Z","body":"That's fixed and tested"}}
{"actor":{"display_login":"Maijin"}}