{"action":"created","issue":{"url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/246","labels_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/246/comments","events_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/246/events","html_url":"https://github.com/BinaryAnalysisPlatform/bap/issues/246","id":89101938,"number":246,"title":"bap with --use-ida sometimes produces bap function CFG","user":{"login":"dluchaup","id":6362811,"avatar_url":"https://avatars.githubusercontent.com/u/6362811?v=3","gravatar_id":"","url":"https://api.github.com/users/dluchaup","html_url":"https://github.com/dluchaup","followers_url":"https://api.github.com/users/dluchaup/followers","following_url":"https://api.github.com/users/dluchaup/following{/other_user}","gists_url":"https://api.github.com/users/dluchaup/gists{/gist_id}","starred_url":"https://api.github.com/users/dluchaup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dluchaup/subscriptions","organizations_url":"https://api.github.com/users/dluchaup/orgs","repos_url":"https://api.github.com/users/dluchaup/repos","events_url":"https://api.github.com/users/dluchaup/events{/privacy}","received_events_url":"https://api.github.com/users/dluchaup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-17T19:19:29Z","updated_at":"2015-06-17T19:38:19Z","closed_at":null,"body":"In some of my tests with  \"bap ... --use-ida ...\" sometimes the function CFG is corrupted.\r\nI noticed the following:\r\n(1) data mislabeled as function.\r\n(2) the code for two functions placed next to each other [f1;data;f2] is treated as the body of a single function, f1. Sometimes there is an additional symbol for f2, therefore, there are overlapping functions.\r\n\r\nNote: I caught this bug by asserting that no function entry has a predecessor inside its own CFG. In the case that I report where [f1;f2] are merged, the assertion failed because f2 was calling f1.\r\n\r\nPlease email me for specific binaries and functions.\r\n"},"comment":{"url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/comments/112923271","html_url":"https://github.com/BinaryAnalysisPlatform/bap/issues/246#issuecomment-112923271","issue_url":"https://api.github.com/repos/BinaryAnalysisPlatform/bap/issues/246","id":112923271,"user":{"login":"dluchaup","id":6362811,"avatar_url":"https://avatars.githubusercontent.com/u/6362811?v=3","gravatar_id":"","url":"https://api.github.com/users/dluchaup","html_url":"https://github.com/dluchaup","followers_url":"https://api.github.com/users/dluchaup/followers","following_url":"https://api.github.com/users/dluchaup/following{/other_user}","gists_url":"https://api.github.com/users/dluchaup/gists{/gist_id}","starred_url":"https://api.github.com/users/dluchaup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dluchaup/subscriptions","organizations_url":"https://api.github.com/users/dluchaup/orgs","repos_url":"https://api.github.com/users/dluchaup/repos","events_url":"https://api.github.com/users/dluchaup/events{/privacy}","received_events_url":"https://api.github.com/users/dluchaup/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T19:38:19Z","updated_at":"2015-06-17T19:38:19Z","body":"I'm using BAP version 78de1b4199acc43a6f36b0fbc09c8e13bafbc94c.\r\nI'll email the tests.\r\n\r\n"}}