{"action":"opened","issue":{"url":"https://api.github.com/repos/smackers/smack/issues/89","labels_url":"https://api.github.com/repos/smackers/smack/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/smackers/smack/issues/89/comments","events_url":"https://api.github.com/repos/smackers/smack/issues/89/events","html_url":"https://github.com/smackers/smack/issues/89","id":76606678,"number":89,"title":"smackverify.py: Verifier not called properly when -o parameter contains a space","user":{"login":"snoopsmsc","id":4269524,"avatar_url":"https://avatars.githubusercontent.com/u/4269524?v=3","gravatar_id":"","url":"https://api.github.com/users/snoopsmsc","html_url":"https://github.com/snoopsmsc","followers_url":"https://api.github.com/users/snoopsmsc/followers","following_url":"https://api.github.com/users/snoopsmsc/following{/other_user}","gists_url":"https://api.github.com/users/snoopsmsc/gists{/gist_id}","starred_url":"https://api.github.com/users/snoopsmsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoopsmsc/subscriptions","organizations_url":"https://api.github.com/users/snoopsmsc/orgs","repos_url":"https://api.github.com/users/snoopsmsc/repos","events_url":"https://api.github.com/users/snoopsmsc/events{/privacy}","received_events_url":"https://api.github.com/users/snoopsmsc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-15T05:46:56Z","updated_at":"2015-05-15T05:46:56Z","closed_at":null,"body":"With smackverify.py if the filename passed in with the -o switch contains a space, the file is properly created by llvm2bpl.py, however, when the verifier is called, it seems to be splitting this name into two separate args.\r\n\r\nI haven't had time to chase this down, but I wanted to get it recorded.  I also suspect it might apply to other switches where spaces can appear in the switch argument...\r\n\r\nFor example, with input test.c, if you call:\r\n\r\n    smackverify.py test.c \"test space.bpl\"\r\n\r\nthe bpl file, \"test space.bpl\", is created, but the following output is seen:\r\n    \r\n    Usage error: Unknown command line argument: test\r\n    Usage: cba fname [Flags]\r\n    \r\n    -------------------------------------------------------------\r\n    Flags:\r\n     /k:int                  Sets execution context bound\r\n     /main:str               Sets main procedure name\r\n     /recursionBound:int     Set recursion depth bound\r\n     /trackAllVars           Track all shared variables.\r\n     /track:str              Track variable str.\r\n     /useArrayTheory         Use native array theory for z3.\r\n                             (This doesn't allow user-defined types.)\r\n     /timeLimit:n            Set Z3 timeout to n sec (default 500)\r\n     /flags:file             Read flags from file.\r\n     /printBoogieExt         Prints language extensions made to Boogie\r\n    \r\n    -------------------------------------------------------------\r\n    \r\n    SMACK encountered an error when invoking corral. Exiting...\r\n\r\n\r\nThis is only verified on linux, but I imagine it will likely apply to windows as well.\r\n"}}