{"action":"opened","issue":{"url":"https://api.github.com/repos/x64dbg/x64dbg/issues/227","labels_url":"https://api.github.com/repos/x64dbg/x64dbg/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/x64dbg/x64dbg/issues/227/comments","events_url":"https://api.github.com/repos/x64dbg/x64dbg/issues/227/events","html_url":"https://github.com/x64dbg/x64dbg/issues/227","id":67946644,"number":227,"title":"Branch tracing","user":{"login":"Nukem9","id":4228359,"avatar_url":"https://avatars.githubusercontent.com/u/4228359?v=3","gravatar_id":"","url":"https://api.github.com/users/Nukem9","html_url":"https://github.com/Nukem9","followers_url":"https://api.github.com/users/Nukem9/followers","following_url":"https://api.github.com/users/Nukem9/following{/other_user}","gists_url":"https://api.github.com/users/Nukem9/gists{/gist_id}","starred_url":"https://api.github.com/users/Nukem9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nukem9/subscriptions","organizations_url":"https://api.github.com/users/Nukem9/orgs","repos_url":"https://api.github.com/users/Nukem9/repos","events_url":"https://api.github.com/users/Nukem9/events{/privacy}","received_events_url":"https://api.github.com/users/Nukem9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-12T19:24:00Z","updated_at":"2015-04-12T19:24:00Z","closed_at":null,"body":"This was already discussed, just adding this here to get any input.\n\n\"The IA32_DEBUGCTL MSR provides bit field controls to enable debug trace interrupts,\ndebug trace stores, trace messages enable, single stepping on branches, last\nbranch record recording...\"\n###  ###\n* Bit 8 of DR7 represents bit 0 of IA32_DEBUGCTL. This is the LBR bit. (last branch record)\n* Bit 9 of DR7 represents bit 1 of IA32_DEBUGCTL. This is the BTF bit. (single-step on branches)\n###  ###\nLBR in context structure (These act like registers):\n\n```\n#!\n\nDWORD64 LastBranchToRip;\nDWORD64 LastBranchFromRip;\nDWORD64 LastExceptionToRip;\nDWORD64 LastExceptionFromRip;\n```\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/mrexodia/x64_dbg/issue/227\n- Originally reported by: [Nukem9](http://bitbucket.org/Nukem9)\n- Originally created at: 2014-12-24T21:36:50.728\n"}}