{"action":"created","issue":{"url":"https://api.github.com/repos/plusvic/yara/issues/336","labels_url":"https://api.github.com/repos/plusvic/yara/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/plusvic/yara/issues/336/comments","events_url":"https://api.github.com/repos/plusvic/yara/issues/336/events","html_url":"https://github.com/plusvic/yara/pull/336","id":99449550,"number":336,"title":"Java bindings","user":{"login":"papostolescu","id":2385530,"avatar_url":"https://avatars.githubusercontent.com/u/2385530?v=3","gravatar_id":"","url":"https://api.github.com/users/papostolescu","html_url":"https://github.com/papostolescu","followers_url":"https://api.github.com/users/papostolescu/followers","following_url":"https://api.github.com/users/papostolescu/following{/other_user}","gists_url":"https://api.github.com/users/papostolescu/gists{/gist_id}","starred_url":"https://api.github.com/users/papostolescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papostolescu/subscriptions","organizations_url":"https://api.github.com/users/papostolescu/orgs","repos_url":"https://api.github.com/users/papostolescu/repos","events_url":"https://api.github.com/users/papostolescu/events{/privacy}","received_events_url":"https://api.github.com/users/papostolescu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-06T14:30:53Z","updated_at":"2015-09-06T20:23:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/plusvic/yara/pulls/336","html_url":"https://github.com/plusvic/yara/pull/336","diff_url":"https://github.com/plusvic/yara/pull/336.diff","patch_url":"https://github.com/plusvic/yara/pull/336.patch"},"body":"Java wrapper, works in two modes:\r\n- embedded: \r\n   - yara shared library is loaded and executes in process\r\n   - the shared library is loaded from the jar resources\r\n   - binding code uses efficient JNI calls\r\n- external: \r\n    - instead of going against the shared library the wrapper uses the yara executable out of process\r\n    - yara executable is extracted from the jar file resources\r\n    - requires a small patch (part of the pull request) to escape yara output quotes (otherwise some data cannot be parsed out reliably)\r\n\r\nThe bindings expose a fully working end-to-end flow from rule loading to compiler creation and execution with callbacks.\r\n\r\nSome functionality is missing but I'm planning to contribute it in time.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/plusvic/yara/issues/comments/138123369","html_url":"https://github.com/plusvic/yara/pull/336#issuecomment-138123369","issue_url":"https://api.github.com/repos/plusvic/yara/issues/336","id":138123369,"user":{"login":"plusvic","id":182937,"avatar_url":"https://avatars.githubusercontent.com/u/182937?v=3","gravatar_id":"","url":"https://api.github.com/users/plusvic","html_url":"https://github.com/plusvic","followers_url":"https://api.github.com/users/plusvic/followers","following_url":"https://api.github.com/users/plusvic/following{/other_user}","gists_url":"https://api.github.com/users/plusvic/gists{/gist_id}","starred_url":"https://api.github.com/users/plusvic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plusvic/subscriptions","organizations_url":"https://api.github.com/users/plusvic/orgs","repos_url":"https://api.github.com/users/plusvic/repos","events_url":"https://api.github.com/users/plusvic/events{/privacy}","received_events_url":"https://api.github.com/users/plusvic/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T20:23:40Z","updated_at":"2015-09-06T20:23:40Z","body":"Hi Rafael,\n\nI'm very busy with other projects, but as soon I can I'll take a look your\npull request. I think it would be great to be able to use Yara from Java,\nand many people could benefit from this contribution.\n\nCheers,\nVíctor\nEl 6/9/2015 7:33 p. m., \"Rafael Ferreira\" <notifications@github.com>\nescribió:\n\n> Hey folks any chance this PR can get a review?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/plusvic/yara/pull/336#issuecomment-138102897>.\n>\n"}}