Skip to content

Fix 1#5

Open
AntociAlin wants to merge 3 commits into
malus-security:improvefrom
AntociAlin:fix_1
Open

Fix 1#5
AntociAlin wants to merge 3 commits into
malus-security:improvefrom
AntociAlin:fix_1

Conversation

@AntociAlin

@AntociAlin AntociAlin commented May 1, 2022

Copy link
Copy Markdown

For this first PR I made the following fixes:
-Fixed line 48 from the README, the command was not working
New one: ./convertToProlog.sh test-cases/containerBetterGraphProcess.sb
-Fixed indentation and transformed the code made in Python2 into Python3 for both the iOracle one and the base one.
-Fixed the swipl command from converToProlog.
-Cleaned up the code by deleting not used libraries.
-Tried to fix the "main" version of SandScout, but, in the end, it was really messy and, instead, fixed the "improved version" and now it works.
-Added the ios-sandbox-profies to the test folder.
-Added output data from the files for further inspection. I will delete all test data for the final version.
-Tried to fix the query3 from the "rules.pl" file, but it ended up not working. The logic is sound, or maybe there is something quite minuscule that I might not be able to see. As far as I tested, the query breaks down when it tries to pull data from "write operations". They are always made up as compounds, not as lists. For instance, for the new example from the README file, and that is: "./convertToProlog.sh test-cases/containerBetterGraphProcess.sb", it finds/extracts, so called "compound data", instead of list, for instance: ""^/System/Library/Carrier Bundles//carrier[.]plist$"/i". This happens only for write operations and I am out of ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant