Skip to content

Commit e8b91c5

Browse files
committed
CHC:SUMMARIES: add missing side effects to summaries
1 parent 9f72b97 commit e8b91c5

98 files changed

Lines changed: 986 additions & 6 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CodeHawk/CHC/cchsummaries/builtins/__builtin_memset.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@
3838
</apply>
3939
</math>
4040
</sideeffect>
41+
<sideeffect>
42+
<math>
43+
<apply>
44+
<block-write/>
45+
<ci>s</ci>
46+
<ci>len</ci>
47+
</apply>
48+
</math>
49+
</sideeffect>
4150
</sideeffects>
4251
</function-summary>
4352
</codehawk-summary-file>

‎CodeHawk/CHC/cchsummaries/builtins/asprintf.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@
3939
</apply>
4040
</math>
4141
</sideeffect>
42+
<sideeffect>
43+
<math>
44+
<apply>
45+
<block-write/>
46+
<ci>ptr</ci>
47+
<runtime-value/>
48+
</apply>
49+
</math>
50+
</sideeffect>
4251
</sideeffects>
4352
</function-summary>
4453
</codehawk-summary-file>

‎CodeHawk/CHC/cchsummaries/builtins/gets.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@
2525
</apply>
2626
</math>
2727
</sideeffect>
28+
<sideeffect>
29+
<math>
30+
<apply>
31+
<block-write/>
32+
<ci>dest</ci>
33+
<runtime-value/>
34+
</apply>
35+
</math>
36+
</sideeffect>
2837
</sideeffects>
2938
</function-summary>
3039
</codehawk-summary-file>

‎CodeHawk/CHC/cchsummaries/builtins/strlcat.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@
5555
</apply>
5656
</math>
5757
</sideeffect>
58+
<sideeffect>
59+
<math>
60+
<apply>
61+
<block-write/>
62+
<ci>destination</ci>
63+
<runtime-value/>
64+
</apply>
65+
</math>
66+
</sideeffect>
5867
</sideeffects>
5968
</function-summary>
6069
</codehawk-summary-file>

‎CodeHawk/CHC/cchsummaries/builtins/strlcpy.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@
6969
</apply>
7070
</math>
7171
</sideeffect>
72+
<sideeffect>
73+
<math>
74+
<apply>
75+
<block-write/>
76+
<ci>destination</ci>
77+
<ci>size</ci>
78+
</apply>
79+
</math>
80+
</sideeffect>
7281
</sideeffects>
7382
</function-summary>
7483
</codehawk-summary-file>

‎CodeHawk/CHC/cchsummaries/builtins/vasprintf.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@
4040
</apply>
4141
</math>
4242
</sideeffect>
43+
<sideeffect>
44+
<math>
45+
<apply>
46+
<block-write/>
47+
<ci>strp</ci>
48+
<runtime-value/>
49+
</apply>
50+
</math>
51+
</sideeffect>
4352
</sideeffects>
4453
</function-summary>
4554
</codehawk-summary-file>

‎CodeHawk/CHC/cchsummaries/epoll/epoll_wait.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@
3737
</apply>
3838
</math>
3939
</sideeffect>
40+
<sideeffect>
41+
<math>
42+
<apply>
43+
<block-write/>
44+
<ci>events</ci>
45+
<runtime-value/>
46+
</apply>
47+
</math>
48+
</sideeffect>
4049
</sideeffects>
4150
</function-summary>
4251
<copyright-notice>Copyright 2012-2020, Kestrel Technology LLC, Palo Alto, CA 94304</copyright-notice>

‎CodeHawk/CHC/cchsummaries/fcntl/fcntl.xml‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<codehawk-summary-file>
33
<header date="2020-02-06 16:40:29"/>
4-
<function-summary name="fnctl">
4+
<function-summary name="fcntl">
55
<parameters>
6+
<par name="arg" nr="3"/>
67
</parameters>
78
<preconditions/>
89
<postconditions/>
@@ -14,6 +15,15 @@
1415
</apply>
1516
</math>
1617
</sideeffect>
18+
<sideeffect>
19+
<math>
20+
<apply>
21+
<block-write/>
22+
<ci>arg</ci>
23+
<runtime-value/>
24+
</apply>
25+
</math>
26+
</sideeffect>
1727
</sideeffects>
1828
</function-summary>
1929
<copyright-notice>Copyright 2012-2020, Kestrel Technology LLC, Palo Alto, CA 94304</copyright-notice>

‎CodeHawk/CHC/cchsummaries/getopt/getopt.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@
3232
</apply>
3333
</math>
3434
</sideeffect>
35+
<sideeffect>
36+
<math>
37+
<apply>
38+
<block-write/>
39+
<ci>argv</ci>
40+
<runtime-value/>
41+
</apply>
42+
</math>
43+
</sideeffect>
3544
</sideeffects>
3645
</function-summary>
3746
<copyright-notice>Copyright 2012-2020, Kestrel Technology LLC, Palo Alto, CA 94304</copyright-notice>

‎CodeHawk/CHC/cchsummaries/getopt/getopt_long.xml‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,24 @@
5050
</apply>
5151
</math>
5252
</sideeffect>
53+
<sideeffect>
54+
<math>
55+
<apply>
56+
<block-write/>
57+
<ci>argv</ci>
58+
<runtime-value/>
59+
</apply>
60+
</math>
61+
</sideeffect>
62+
<sideeffect>
63+
<math>
64+
<apply>
65+
<block-write/>
66+
<ci>longindex</ci>
67+
<runtime-value/>
68+
</apply>
69+
</math>
70+
</sideeffect>
5371
</sideeffects>
5472
</function-summary>
5573
<copyright-notice>Copyright 2012-2020, Kestrel Technology LLC, Palo Alto, CA 94304</copyright-notice>

0 commit comments

Comments
 (0)