{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/3122","repository_url":"https://api.github.com/repos/radare/radare2","labels_url":"https://api.github.com/repos/radare/radare2/issues/3122/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/3122/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/3122/events","html_url":"https://github.com/radare/radare2/issues/3122","id":101923995,"number":3122,"title":"Assembly of thumb ldr instructions produces incorrect results","user":{"login":"Fuzion24","id":772364,"avatar_url":"https://avatars.githubusercontent.com/u/772364?v=3","gravatar_id":"","url":"https://api.github.com/users/Fuzion24","html_url":"https://github.com/Fuzion24","followers_url":"https://api.github.com/users/Fuzion24/followers","following_url":"https://api.github.com/users/Fuzion24/following{/other_user}","gists_url":"https://api.github.com/users/Fuzion24/gists{/gist_id}","starred_url":"https://api.github.com/users/Fuzion24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fuzion24/subscriptions","organizations_url":"https://api.github.com/users/Fuzion24/orgs","repos_url":"https://api.github.com/users/Fuzion24/repos","events_url":"https://api.github.com/users/Fuzion24/events{/privacy}","received_events_url":"https://api.github.com/users/Fuzion24/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/radare/radare2/labels/assembly","name":"assembly","color":"207de5"},{"url":"https://api.github.com/repos/radare/radare2/labels/hackaton","name":"hackaton","color":"006b75"}],"state":"open","locked":false,"assignee":{"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},"assignees":[{"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}],"milestone":null,"comments":6,"created_at":"2015-08-19T15:46:52Z","updated_at":"2016-09-24T09:08:46Z","closed_at":null,"body":"```\r\n➜  tmp  rasm2 -a arm -b16 \"mov r1, fp ; ldr r0, [r1] ; ldr r0, [r0, #0x74] ; ldr.w lr, [r0, #0x2c] ; blx lr\"\r\n5946c858c058c658fede\r\n```\r\n\r\n```\r\n$ cat foo16\r\n.text\r\n        .syntax unified\r\n        .align 4\r\n        .code 16\r\n        .global MyFunction\r\nMyFunction:\r\nmov r1, fp ; \r\nldr r0, [r1] ; \r\nldr r0, [r0, #0x74] ; \r\nldr.w lr, [r0, #0x2c] ; \r\nblx lr\r\n```\r\n\r\n```\r\n$ as -o foo.o foo16 && objdump -D --section=.text foo.o\r\n\r\nfoo.o:     file format elf32-littlearm\r\n\r\n\r\nDisassembly of section .text:\r\n\r\n00000000 <MyFunction>:\r\n   0:   4659            mov     r1, fp\r\n   2:   6808            ldr     r0, [r1, #0]\r\n   4:   6f40            ldr     r0, [r0, #116]  ; 0x74\r\n   6:   f8d0 e02c       ldr.w   lr, [r0, #44]   ; 0x2c\r\n   a:   47f0            blx     lr\r\n```"},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/249354431","html_url":"https://github.com/radare/radare2/issues/3122#issuecomment-249354431","issue_url":"https://api.github.com/repos/radare/radare2/issues/3122","id":249354431,"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-09-24T09:08:46Z","updated_at":"2016-09-24T09:08:46Z","body":"Going to check"}}
{"actor":{"display_login":"Maijin"}}