{"action":"opened","issue":{"url":"https://api.github.com/repos/jndok/harpoon/issues/1","labels_url":"https://api.github.com/repos/jndok/harpoon/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jndok/harpoon/issues/1/comments","events_url":"https://api.github.com/repos/jndok/harpoon/issues/1/events","html_url":"https://github.com/jndok/harpoon/issues/1","id":87627307,"number":1,"title":"Just a comment","user":{"login":"danzimm","id":166757,"avatar_url":"https://avatars.githubusercontent.com/u/166757?v=3","gravatar_id":"","url":"https://api.github.com/users/danzimm","html_url":"https://github.com/danzimm","followers_url":"https://api.github.com/users/danzimm/followers","following_url":"https://api.github.com/users/danzimm/following{/other_user}","gists_url":"https://api.github.com/users/danzimm/gists{/gist_id}","starred_url":"https://api.github.com/users/danzimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danzimm/subscriptions","organizations_url":"https://api.github.com/users/danzimm/orgs","repos_url":"https://api.github.com/users/danzimm/repos","events_url":"https://api.github.com/users/danzimm/events{/privacy}","received_events_url":"https://api.github.com/users/danzimm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-12T06:33:04Z","updated_at":"2015-06-12T06:33:04Z","closed_at":null,"body":"I'm unsure how to contact you other than this so I'll put all my thoughts here:\r\n\r\n1. Cool utility, at least in concept (see below). I love projects like this :smile: \r\n2. I strongly discourage the use of this in a real life application - while it seems sound for now, if the ABI changes at all this can have some pretty bad consequences. While I realize it's a 'hack', it really is hacky. In a real life situation I'd suggest using interposing (comex has a neat library on his github for this) or something like a static binary patch if really necessary. Both these things take away the issues you're having with hooking \"return only functions\", I believe, as well as include x64 support pretty simply.\r\n3. To complete your hacky hack I suggest recalling 'vm_protect' to re protect those memory regions.\r\n\r\nOverall nice repo :smile: \r\n\r\nDan"}}