{"action":"opened","issue":{"url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/2058","repository_url":"https://api.github.com/repos/DynamoRIO/dynamorio","labels_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/2058/labels{/name}","comments_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/2058/comments","events_url":"https://api.github.com/repos/DynamoRIO/dynamorio/issues/2058/events","html_url":"https://github.com/DynamoRIO/dynamorio/issues/2058","id":187885804,"number":2058,"title":"ASSERT no encoding found for \"mov %fs,%rbx\"","user":{"login":"derekbruening","id":6509618,"avatar_url":"https://avatars.githubusercontent.com/u/6509618?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbruening","html_url":"https://github.com/derekbruening","followers_url":"https://api.github.com/users/derekbruening/followers","following_url":"https://api.github.com/users/derekbruening/following{/other_user}","gists_url":"https://api.github.com/users/derekbruening/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbruening/subscriptions","organizations_url":"https://api.github.com/users/derekbruening/orgs","repos_url":"https://api.github.com/users/derekbruening/repos","events_url":"https://api.github.com/users/derekbruening/events{/privacy}","received_events_url":"https://api.github.com/users/derekbruening/received_events","type":"User","site_admin":false},"labels":[{"id":152095525,"url":"https://api.github.com/repos/DynamoRIO/dynamorio/labels/Bug-Assert","name":"Bug-Assert","color":"FFFFFF","default":false},{"id":152076302,"url":"https://api.github.com/repos/DynamoRIO/dynamorio/labels/OpSys-x64","name":"OpSys-x64","color":"FFFFFF","default":false}],"state":"open","locked":false,"assignee":{"login":"derekbruening","id":6509618,"avatar_url":"https://avatars.githubusercontent.com/u/6509618?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbruening","html_url":"https://github.com/derekbruening","followers_url":"https://api.github.com/users/derekbruening/followers","following_url":"https://api.github.com/users/derekbruening/following{/other_user}","gists_url":"https://api.github.com/users/derekbruening/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbruening/subscriptions","organizations_url":"https://api.github.com/users/derekbruening/orgs","repos_url":"https://api.github.com/users/derekbruening/repos","events_url":"https://api.github.com/users/derekbruening/events{/privacy}","received_events_url":"https://api.github.com/users/derekbruening/received_events","type":"User","site_admin":false},"assignees":[{"login":"derekbruening","id":6509618,"avatar_url":"https://avatars.githubusercontent.com/u/6509618?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbruening","html_url":"https://github.com/derekbruening","followers_url":"https://api.github.com/users/derekbruening/followers","following_url":"https://api.github.com/users/derekbruening/following{/other_user}","gists_url":"https://api.github.com/users/derekbruening/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbruening/subscriptions","organizations_url":"https://api.github.com/users/derekbruening/orgs","repos_url":"https://api.github.com/users/derekbruening/repos","events_url":"https://api.github.com/users/derekbruening/events{/privacy}","received_events_url":"https://api.github.com/users/derekbruening/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-11-08T02:29:13Z","updated_at":"2016-11-08T02:29:13Z","closed_at":null,"body":"```\r\n<DynamoRIO usage error : instr_encode error: no encoding found (see log)>\r\n<press enter to continue>\r\n<Usage error: instr_encode error: no encoding found (see log) (core/arch/x86/encode.c, line 2417)\r\n\r\nIt's from this instruction:\r\n   0x27774cd:\tmov    %fs,%rbx\r\n(gdb) x/3bx 0x27774cd\r\n0x27774cd:\t0x48\t0x8c\t0xe3\r\n(gdb) p /x *instr\r\n$4 = {\r\n  flags = 0x70000, \r\n  length = 0x3, \r\n  bytes = 0x27774cd, \r\n  translation = 0x0, \r\n  opcode = 0xc3, \r\n(gdb) p op_instr[instr->opcode]->name\r\n$3 = 0x2c3e3af \"movzx\"\r\n(gdb) p instr_disassemble((dcontext_t*)0x475ff5c0, (instr_t*)0x48baa598, 2)\r\nmovzx  %gs:0x74[8byte] -> %rbx\r\n(gdb) p size_names[instr->src0.size]\r\n$6 = 0x2c2d463 \"OPSZ_8\"\r\n```\r\n\r\nSo the size is incorrect.  This is reading beyond the end of the field.\r\n"}}
{"actor":{"display_login":"derekbruening"}}