{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/3784","labels_url":"https://api.github.com/repos/radare/radare2/issues/3784/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/3784/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/3784/events","html_url":"https://github.com/radare/radare2/issues/3784","id":119282372,"number":3784,"title":"AVR: doesn't recognize code as a function","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},"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"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/radare/radare2/milestones/8","html_url":"https://github.com/radare/radare2/milestones/0.10.0","labels_url":"https://api.github.com/repos/radare/radare2/milestones/8/labels","id":1153073,"number":8,"title":"0.10.0","description":"","creator":{"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},"open_issues":8,"closed_issues":173,"state":"open","created_at":"2015-06-07T00:16:38Z","updated_at":"2015-12-14T10:40:34Z","due_on":"2015-11-22T23:00:00Z","closed_at":null},"comments":5,"created_at":"2015-11-28T09:31:55Z","updated_at":"2015-12-14T10:54:31Z","closed_at":"2015-12-14T10:19:07Z","body":"See radare2-regressions/t.anal/avr/functions test\r\n```\r\n╘                0x00000274     0895           ret\r\n                 0x00000276     6de6           ldi r22, 0x6d\r\n                 0x00000278     71e0           ldi r23, 0x01\r\n                 0x0000027a     8fe2           ldi r24, 0x2f\r\n                 0x0000027c     92e0           ldi r25, 0x02\r\n                 0x0000027e     0e947304       call fcn.000008e6       ;[1]\r\n                 0x00000282     82b3           in r24, 0x12\r\n                 0x00000284     8058           subi r24, 0x80\r\n                 0x00000286     82bb           out 0x12, r24\r\n                 0x00000288     0895           ret\r\n                 0x0000028a     6de7           ldi r22, 0x7d\r\n                 0x0000028c     71e0           ldi r23, 0x01\r\n                 0x0000028e     8fe2           ldi r24, 0x2f\r\n                 0x00000290     92e0           ldi r25, 0x02\r\n                 0x00000292     0e947304       call fcn.000008e6       ;[1]\r\n                 0x00000296     88b3           in r24, 0x18\r\n                 0x00000298     8058           subi r24, 0x80\r\n                 0x0000029a     88bb           out 0x18, r24\r\n                 0x0000029c     0895           ret\r\n╒ (fcn) fcn.0000029e 164\r\n│                ; CALL XREF from 0x000003d6 (fcn.0000029e)\r\n```\r\nSee, from 0x276 to 0x288 and from 0x28a to 0x29c there are two functions. More over they were referenced from the other code. Full analysis `aaa` doesn't recognize them."},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/164408225","html_url":"https://github.com/radare/radare2/issues/3784#issuecomment-164408225","issue_url":"https://api.github.com/repos/radare/radare2/issues/3784","id":164408225,"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":"2015-12-14T10:54:31Z","updated_at":"2015-12-14T10:54:31Z","body":" @XVilka test for that ?"}}