{"action":"opened","issue":{"url":"https://api.github.com/repos/binjitsu/binjitsu/issues/14","labels_url":"https://api.github.com/repos/binjitsu/binjitsu/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/binjitsu/binjitsu/issues/14/comments","events_url":"https://api.github.com/repos/binjitsu/binjitsu/issues/14/events","html_url":"https://github.com/binjitsu/binjitsu/issues/14","id":71661226,"number":14,"title":"Investigate BARF for Gadget Collection","user":{"login":"zachriggle","id":111640,"avatar_url":"https://avatars.githubusercontent.com/u/111640?v=3","gravatar_id":"","url":"https://api.github.com/users/zachriggle","html_url":"https://github.com/zachriggle","followers_url":"https://api.github.com/users/zachriggle/followers","following_url":"https://api.github.com/users/zachriggle/following{/other_user}","gists_url":"https://api.github.com/users/zachriggle/gists{/gist_id}","starred_url":"https://api.github.com/users/zachriggle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachriggle/subscriptions","organizations_url":"https://api.github.com/users/zachriggle/orgs","repos_url":"https://api.github.com/users/zachriggle/repos","events_url":"https://api.github.com/users/zachriggle/events{/privacy}","received_events_url":"https://api.github.com/users/zachriggle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/binjitsu/binjitsu/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-28T18:08:21Z","updated_at":"2015-04-28T18:08:21Z","closed_at":null,"body":"The initial target for this should be simple x86 ROP, which is all we currently support anyway.\r\n\r\nIdeally, we will be able to use all of the same primitives that we have in the past.  In particular, Plaid 2013's \"ropasaurus\" is an ideal candidate because it can be solved many ways.\r\n\r\n- [ ] Install BARF\r\n- [ ] Extract trivial gadgets with BARF\r\n    - [ ] pop REG; ret\r\n    - [ ] mov REG, [SP+X]; ret\r\n- [ ] Extract complex gadgets with BARF\r\n    - [ ] mov REGA, REGB; ret\r\n    - [ ] pop REGA; ret; mov REGB, REGA; ret;"}}