{"action":"closed","issue":{"url":"https://api.github.com/repos/JonathanSalwan/ROPgadget/issues/67","labels_url":"https://api.github.com/repos/JonathanSalwan/ROPgadget/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/JonathanSalwan/ROPgadget/issues/67/comments","events_url":"https://api.github.com/repos/JonathanSalwan/ROPgadget/issues/67/events","html_url":"https://github.com/JonathanSalwan/ROPgadget/issues/67","id":58498501,"number":67,"title":"Incorrect disassembly for certain instructions due to interpretation as unsigned int","user":{"login":"dnivra","id":281957,"avatar_url":"https://avatars.githubusercontent.com/u/281957?v=3","gravatar_id":"","url":"https://api.github.com/users/dnivra","html_url":"https://github.com/dnivra","followers_url":"https://api.github.com/users/dnivra/followers","following_url":"https://api.github.com/users/dnivra/following{/other_user}","gists_url":"https://api.github.com/users/dnivra/gists{/gist_id}","starred_url":"https://api.github.com/users/dnivra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnivra/subscriptions","organizations_url":"https://api.github.com/users/dnivra/orgs","repos_url":"https://api.github.com/users/dnivra/repos","events_url":"https://api.github.com/users/dnivra/events{/privacy}","received_events_url":"https://api.github.com/users/dnivra/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-22T10:50:52Z","updated_at":"2015-03-02T10:03:29Z","closed_at":"2015-03-02T10:03:29Z","body":"ROPgadget produces incorrect disassembly for certain instructions. For instance, the byte sequence \r\n'ff75f8'(vaddr 0x77c2b3052 in advapi32.dll version 6.1.7600.16835; md5sum: 0c65fa8214d6f8378d1d3ba1ca46af0a) corresponds to 'push dword ptr [ebp - 8]' while ROPgadget interprets it as 'push dword ptr [ebp + 0xfffffff8]'. However, I'm not sure if it's an issue with ROPgadget or with capstone since even [CEnigma](http://www.cenigma.org/)(uses capstone too apparently) outputs latter. rasm2 outputs former instruction so it could be handled in ROPgadget."}}