Skip to content

Commit 395b2d0

Browse files
committed
Change XSDs and River sources and sinks
1 parent 4863f59 commit 395b2d0

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

soot-infoflow-android/schema/FlowDroidConfiguration.xsd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232

3333
<xs:complexType name="sourcesSinksElementType">
3434
<xs:attribute name="id" type="predefinedCategoryId" use="required" />
35-
<xs:attribute name="customId" type="xs:string" use="optional" />
3635
<xs:attribute name="mode" type="categoryModeType" use="required" />
3736
</xs:complexType>
3837

soot-infoflow-android/schema/SourcesAndSinks.xsd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
</xs:choice>
1919
</xs:sequence>
2020
<xs:attribute name="id" type="categoryEnum" use="required" />
21-
<xs:attribute name="customId" type="xs:string" use="optional" />
2221
<xs:attribute name="description" type="xs:string" use="optional" />
2322
</xs:complexType>
2423

soot-infoflow-cmd/schema/FlowDroidConfiguration.xsd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232

3333
<xs:complexType name="sourcesSinksElementType">
3434
<xs:attribute name="id" type="predefinedCategoryId" use="required" />
35-
<xs:attribute name="customId" type="xs:string" use="optional" />
3635
<xs:attribute name="mode" type="categoryModeType" use="required" />
3736
</xs:complexType>
3837

soot-infoflow-cmd/schema/SourcesAndSinks.xsd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
</xs:choice>
1919
</xs:sequence>
2020
<xs:attribute name="id" type="categoryEnum" use="required" />
21-
<xs:attribute name="customId" type="xs:string" use="optional" />
2221
<xs:attribute name="description" type="xs:string" use="optional" />
2322
</xs:complexType>
2423

soot-infoflow-integration/res/AndroidRiverSourcesAndSinks.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<sinkSources xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:schemaLocation="SourcesAndSinks.xsd">
22

3-
<category id="NO_CATEGORY" customId="OUTPUT_WRITING">
3+
<category id="OUTPUT_WRITING">
44
<method signature="java.io.PrintWriter: void print(boolean)">
55
<param index="0" description="Output Data">
66
<accessPath isSource="false" isSink="true" />
@@ -1001,7 +1001,7 @@
10011001
</method>
10021002
</category>
10031003

1004-
<category id="NO_CATEGORY" customId="INPUT_READING">
1004+
<category id="INPUT_READING">
10051005
<method signature="java.io.Reader: int read()">
10061006
<return description="Input Data">
10071007
<accessPath isSource="true" isSink="false" />
@@ -1353,7 +1353,7 @@
13531353
</category>
13541354

13551355
<!-- Android Secure Settings -->
1356-
<category id="NO_CATEGORY" customId="SECURE_SETTINGS" description="Android Secure Settings">
1356+
<category id="SECURE_SETTINGS" description="Android Secure Settings">
13571357
<method signature="android.provider.Settings$Secure: float getFloat(android.content.ContentResolver,java.lang.String)">
13581358
<return description="Android Secure Setting">
13591359
<accessPath isSource="true" isSink="false" />
@@ -1831,7 +1831,7 @@
18311831
</category>
18321832

18331833
<!-- Address Information -->
1834-
<category id="NO_CATEGORY" customId="ADDRESS_INFORMATION" description="Address or Contact Information">
1834+
<category id="ADDRESS_INFORMATION" description="Address or Contact Information">
18351835
<!-- Addresses -->
18361836
<method signature="android.location.Address: java.lang.String getAddressLine(int)">
18371837
<return description="Address line">
@@ -1958,7 +1958,7 @@
19581958
</category>
19591959

19601960
<!-- Shared Preferences -->
1961-
<category id="NO_CATEGORY" customId="PREFERENCE_READ" description="Reading from preferences">
1961+
<category id="PREFERENCE_READ" description="Reading from preferences">
19621962
<method signature="android.content.SharedPreferences: boolean getBoolean(java.lang.String,boolean)">
19631963
<return description="Preference value">
19641964
<accessPath isSource="true" isSink="false" />
@@ -2024,7 +2024,7 @@
20242024
</category>
20252025

20262026
<!-- Environment Variables -->
2027-
<category id="NO_CATEGORY" customId="ENVIRONMENT" description="Environment">
2027+
<category id="ENVIRONMENT" description="Environment">
20282028
<method signature="java.lang.System: java.lang.String getenv(java.lang.String)">
20292029
<return description="Environment variable">
20302030
<accessPath isSource="true" isSink="false" />
@@ -2053,7 +2053,7 @@
20532053
</category>
20542054

20552055
<!-- SQL Results -->
2056-
<category id="NO_CATEGORY" customId="SQL_RESULTS" description="SQL Results">
2056+
<category id="SQL_RESULTS" description="SQL Results">
20572057
<method signature="java.sql.ResultSet: java.sql.Array getArray(int)">
20582058
<return description="SQL Result">
20592059
<accessPath isSource="true" isSink="false" />
@@ -2438,7 +2438,7 @@
24382438
</category>
24392439

24402440
<!-- Advertising ID -->
2441-
<category id="NO_CATEGORY" customId="ADVERTISING_ID">
2441+
<category id="ADVERTISING_ID">
24422442
<method signature="com.google.android.gms.ads.identifier.AdvertisingIdClient$Info: java.lang.String getId()">
24432443
<param index="0" description="Advertising ID">
24442444
<accessPath isSource="true" isSink="false" />

0 commit comments

Comments
 (0)