{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/3971","labels_url":"https://api.github.com/repos/radare/radare2/issues/3971/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/3971/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/3971/events","html_url":"https://github.com/radare/radare2/issues/3971","id":127225182,"number":3971,"title":"Latest r2 resets asm.bits after \"o\" command","user":{"login":"lizardo","id":383724,"avatar_url":"https://avatars.githubusercontent.com/u/383724?v=3","gravatar_id":"","url":"https://api.github.com/users/lizardo","html_url":"https://github.com/lizardo","followers_url":"https://api.github.com/users/lizardo/followers","following_url":"https://api.github.com/users/lizardo/following{/other_user}","gists_url":"https://api.github.com/users/lizardo/gists{/gist_id}","starred_url":"https://api.github.com/users/lizardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizardo/subscriptions","organizations_url":"https://api.github.com/users/lizardo/orgs","repos_url":"https://api.github.com/users/lizardo/repos","events_url":"https://api.github.com/users/lizardo/events{/privacy}","received_events_url":"https://api.github.com/users/lizardo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-18T13:19:35Z","updated_at":"2016-01-19T11:52:22Z","closed_at":null,"body":"Steps to reproduce:\r\n\r\n```\r\n$ r2 -v\r\nradare2 0.10.0-git 10124 @ linux-little-x86-64 git.0.9.9-2015-g31ee717\r\ncommit: 31ee717f819a6c8964a8cbeef931dba5ccc6ef4e build: 2016-01-18\r\n$ r2 --\r\n[0x00000000]> e asm.arch = arm; e asm.bits = 16\r\n[0x00000000]> e asm.arch; e asm.bits\r\narm\r\n16\r\n[0x00000000]> o build/main.bin\r\n7\r\n[0x00000000]> e asm.arch; e asm.bits\r\narm\r\n64\r\n[0x00000000]>\r\n```\r\n\r\nNot a big issue as I can reset it back, but I don't expect the \"o\" command to affect any configuration..."},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/172827719","html_url":"https://github.com/radare/radare2/issues/3971#issuecomment-172827719","issue_url":"https://api.github.com/repos/radare/radare2/issues/3971","id":172827719,"user":{"login":"radare","id":917142,"avatar_url":"https://avatars.githubusercontent.com/u/917142?v=3","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T11:52:22Z","updated_at":"2016-01-19T11:52:22Z","body":"opening a file implies changing the bits acording to the info provided by rbin.\n\nin this case. the bin shuoldnt report any specific bitsize because its an unknown filetype, so it shouldnt change.\n\n> On 18 Jan 2016, at 14:32, lizardo <notifications@github.com> wrote:\n> \n> By the way, replace main.bin with e.g. \"o /etc/passwd\" to have the same effect (asm.bits changed to 64).\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/radare/radare2/issues/3971#issuecomment-172527800>.\n> \n\n"}}