{"action":"closed","issue":{"url":"https://api.github.com/repos/radare/radare/issues/1","labels_url":"https://api.github.com/repos/radare/radare/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare/issues/1/comments","events_url":"https://api.github.com/repos/radare/radare/issues/1/events","html_url":"https://github.com/radare/radare/issues/1","id":115624084,"number":1,"title":"Maybe Endianess-Mixup when using ARM Debugger","user":{"login":"rrrh","id":1103251,"avatar_url":"https://avatars.githubusercontent.com/u/1103251?v=3","gravatar_id":"","url":"https://api.github.com/users/rrrh","html_url":"https://github.com/rrrh","followers_url":"https://api.github.com/users/rrrh/followers","following_url":"https://api.github.com/users/rrrh/following{/other_user}","gists_url":"https://api.github.com/users/rrrh/gists{/gist_id}","starred_url":"https://api.github.com/users/rrrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rrrh/subscriptions","organizations_url":"https://api.github.com/users/rrrh/orgs","repos_url":"https://api.github.com/users/rrrh/repos","events_url":"https://api.github.com/users/rrrh/events{/privacy}","received_events_url":"https://api.github.com/users/rrrh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-07T01:52:50Z","updated_at":"2015-11-07T18:39:52Z","closed_at":"2015-11-07T18:39:52Z","body":"Hi, i'am trying to get radare with qemu-system-arm to work, but i'm running into some problems.\r\n\r\n(Im running qemu 2.4.0.1, radare 0.10.0-git 9634, all on osx 10.8.5)\r\n\r\nStarting qemu:\r\n\r\n     ./qemu-system-arm -machine versatilepb -nographic -S -serial telnet:127.0.0.1:1235,server,nowait,nodelay -s\r\n\r\nAttaching radare:\r\n\r\n    radare2 -aarm -b32 -D gdb gdb://localhost:1234 \r\n\r\nThen doing the following in radare:\r\n\r\n    [0x00000000]> *0=0x230000ea\r\n    r_reg_get_value: 32bit oob read 172\r\n    r_reg_get_value: 32bit oob read 172\r\n    [0x00000000]> pd 1\r\n            ;-- lr:\r\n            ;-- pc:\r\n            ;-- r0:\r\n            ;-- r1:\r\n            ;-- r2:\r\n            ;-- r3:\r\n            ;-- r4:\r\n            ;-- r5:\r\n            ;-- r6:\r\n            ;-- r7:\r\n            ;-- r8:\r\n            ;-- r9:\r\n            ;-- r10:\r\n            ;-- r11:\r\n            ;-- r12:\r\n            ;-- r13:\r\n            ;-- r14:\r\n            ;-- r15:\r\n            ;-- cpsr:\r\n            0x00000000    ea000023       movwhs r0, 0xea\r\n    r_reg_get_value: 32bit oob read 172\r\n    r_reg_get_value: 32bit oob read 172\r\n    [0x00000000]> *0\r\n    0x230000ea\r\n    r_reg_get_value: 32bit oob read 172 \r\n    r_reg_get_value: 32bit oob read 172\r\n\r\nI think the disassembly should use the same endianess as the read-memory command?\r\n\r\nI would expect the memory location at 0x0 to disassemble to:\r\n\r\n    [0x00000000]> pd 1\r\n    0x00000000    230000ea       b 0x94\r\n\r\nInstead it disassembles to:\r\n\r\n    [0x00000000]> pd 1\r\n    0x00000000    ea000023       movwhs r0, 0xea\r\n\r\n\r\nAny help? i'm stuck.\r\n"}}