{"action":"created","issue":{"url":"https://api.github.com/repos/HolmesProcessing/Holmes-Totem/issues/167","repository_url":"https://api.github.com/repos/HolmesProcessing/Holmes-Totem","labels_url":"https://api.github.com/repos/HolmesProcessing/Holmes-Totem/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/HolmesProcessing/Holmes-Totem/issues/167/comments","events_url":"https://api.github.com/repos/HolmesProcessing/Holmes-Totem/issues/167/events","html_url":"https://github.com/HolmesProcessing/Holmes-Totem/pull/167","id":246341349,"number":167,"title":"Cfg angr service","user":{"login":"gqinami","id":15110315,"avatar_url":"https://avatars0.githubusercontent.com/u/15110315?v=4","gravatar_id":"","url":"https://api.github.com/users/gqinami","html_url":"https://github.com/gqinami","followers_url":"https://api.github.com/users/gqinami/followers","following_url":"https://api.github.com/users/gqinami/following{/other_user}","gists_url":"https://api.github.com/users/gqinami/gists{/gist_id}","starred_url":"https://api.github.com/users/gqinami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gqinami/subscriptions","organizations_url":"https://api.github.com/users/gqinami/orgs","repos_url":"https://api.github.com/users/gqinami/repos","events_url":"https://api.github.com/users/gqinami/events{/privacy}","received_events_url":"https://api.github.com/users/gqinami/received_events","type":"User","site_admin":false},"labels":[{"id":306917767,"url":"https://api.github.com/repos/HolmesProcessing/Holmes-Totem/labels/service","name":"service","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-28T13:03:19Z","updated_at":"2017-07-30T07:14:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HolmesProcessing/Holmes-Totem/pulls/167","html_url":"https://github.com/HolmesProcessing/Holmes-Totem/pull/167","diff_url":"https://github.com/HolmesProcessing/Holmes-Totem/pull/167.diff","patch_url":"https://github.com/HolmesProcessing/Holmes-Totem/pull/167.patch"},"body":"This service will use the Angr python framework to generate the Control Flow Graph of a binary in JSON format. It uses also the angr-utils utilities for angr, in order to have more information on the graph nodes. \r\n\r\nThe docker file deviates a bit from the template only in the image part. I could not resolve the dependencies for angr, and specifically, I had problem with libVex when using the alpine image, so I used the python 2.7 image. "},"comment":{"url":"https://api.github.com/repos/HolmesProcessing/Holmes-Totem/issues/comments/318883753","html_url":"https://github.com/HolmesProcessing/Holmes-Totem/pull/167#issuecomment-318883753","issue_url":"https://api.github.com/repos/HolmesProcessing/Holmes-Totem/issues/167","id":318883753,"user":{"login":"gqinami","id":15110315,"avatar_url":"https://avatars0.githubusercontent.com/u/15110315?v=4","gravatar_id":"","url":"https://api.github.com/users/gqinami","html_url":"https://github.com/gqinami","followers_url":"https://api.github.com/users/gqinami/followers","following_url":"https://api.github.com/users/gqinami/following{/other_user}","gists_url":"https://api.github.com/users/gqinami/gists{/gist_id}","starred_url":"https://api.github.com/users/gqinami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gqinami/subscriptions","organizations_url":"https://api.github.com/users/gqinami/orgs","repos_url":"https://api.github.com/users/gqinami/repos","events_url":"https://api.github.com/users/gqinami/events{/privacy}","received_events_url":"https://api.github.com/users/gqinami/received_events","type":"User","site_admin":false},"created_at":"2017-07-30T07:14:24Z","updated_at":"2017-07-30T07:14:24Z","body":"@webstergd Thanks for the comments, will fix them in my next commit today.\r\n\r\nI could not reply to your comment, so I am writing my answers here. As a general note to your questions, now that I measured the output size, I see that there might be an issue with the current approach I took, because I am using angr-utils to output the CFG to have all the information I want, but they include a lot of other information for pretty printing that we will not need (i.e. a lot of HTML tags for formatting the output into tables). The other option is to have the CFG directly from angr, but there in the nodes I have just the basic block memory address, that is really not enough for our purpose. What I suggest, is that you wait on the testing phase, so that I can check one more time if I can get the data I want in a more condensed way. In order to answer your question, here are answers for each of them: \r\n\r\n1. The output for a binary around 2megs would have the size 30 megs. \r\n2. The size of this output after gzip compression would be around 3 megs. \r\n3. For a binary with size 16,4 KB, it takes around 5 seconds. \r\n\r\nIs it ok for you to wait on the testing, or should I cancel this PR and create a new one around the afternoon?"}}
{"actor":{"display_login":"gqinami"}}