77
|
1 |
theory Alive_prop
|
|
2 |
imports Main Flask_type Flask Current_files_prop Current_sockets_prop Init_prop Proc_fd_of_file_prop
|
|
3 |
begin
|
|
4 |
|
|
5 |
context flask begin
|
|
6 |
|
|
7 |
lemma distinct_queue_msgs:
|
|
8 |
"\<lbrakk>q \<in> current_msgqs s; valid s\<rbrakk> \<Longrightarrow> distinct (msgs_of_queue s q)"
|
88
|
9 |
apply (induct s, simp)
|
77
|
10 |
apply (frule vd_cons, frule vt_grant_os, case_tac a)
|
|
11 |
apply auto
|
|
12 |
apply (case_tac "msgs_of_queue s q", simp+)
|
|
13 |
done
|
|
14 |
|
|
15 |
lemma received_msg_notin:
|
|
16 |
"\<lbrakk>hd (msgs_of_queue s q) \<in> set (tl (msgs_of_queue s q)); q \<in> current_msgqs s; valid s\<rbrakk> \<Longrightarrow> False"
|
|
17 |
apply (drule distinct_queue_msgs, simp)
|
|
18 |
apply (case_tac "msgs_of_queue s q", auto)
|
|
19 |
done
|
|
20 |
|
|
21 |
lemma other_msg_remains:
|
|
22 |
"\<lbrakk>m \<noteq> hd (msgs_of_queue s q); q \<in> current_msgqs s; valid s\<rbrakk>
|
|
23 |
\<Longrightarrow> (m \<in> set (tl (msgs_of_queue s q))) = (m \<in> set (msgs_of_queue s q))"
|
|
24 |
apply (drule distinct_queue_msgs, simp)
|
|
25 |
apply (case_tac "msgs_of_queue s q", auto)
|
|
26 |
done
|
|
27 |
|
|
28 |
lemma is_tcp_in_current:
|
|
29 |
"is_tcp_sock \<tau> s \<Longrightarrow> s \<in> current_sockets \<tau>"
|
|
30 |
by (auto simp:is_tcp_sock_def current_sockets_def split:option.splits)
|
|
31 |
|
|
32 |
lemma is_udp_in_current:
|
|
33 |
"is_udp_sock \<tau> s \<Longrightarrow> s \<in> current_sockets \<tau>"
|
|
34 |
by (auto simp:is_udp_sock_def current_sockets_def split:option.splits)
|
|
35 |
|
|
36 |
(************ alive simpset **************)
|
|
37 |
|
|
38 |
lemma alive_open:
|
|
39 |
"valid (Open p f flag fd opt # s) \<Longrightarrow> alive (Open p f flag fd opt # s) = (
|
|
40 |
\<lambda> obj. case obj of
|
|
41 |
O_fd p' fd' \<Rightarrow> if (p' = p \<and> fd' = fd) then True
|
|
42 |
else alive s obj
|
|
43 |
| O_file f' \<Rightarrow> (if (opt = None) then alive s obj
|
|
44 |
else if (f = f') then True
|
|
45 |
else alive s obj)
|
|
46 |
| _ \<Rightarrow> alive s obj)"
|
|
47 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
48 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
49 |
is_tcp_sock_simps is_udp_sock_simps
|
|
50 |
dest:is_dir_in_current split:if_splits option.splits)
|
|
51 |
done
|
|
52 |
|
|
53 |
(* sock is not inherited on Execve, Clone cases, cause I simplified it with os_grant.
|
|
54 |
* chunhan, 2013-11-20
|
|
55 |
lemma alive_execve:
|
|
56 |
"valid (Execve p f fds # s) \<Longrightarrow> alive (Execve p f fds # s) = (
|
|
57 |
\<lambda> obj. case obj of
|
|
58 |
O_fd p' fd \<Rightarrow> (if (p = p' \<and> fd \<in> fds) then alive s (O_fd p fd)
|
|
59 |
else if (p = p') then False
|
|
60 |
else alive s (O_fd p' fd))
|
|
61 |
| O_tcp_sock (p', fd) \<Rightarrow> (if (p = p' \<and> fd \<in> fds) then alive s (O_tcp_sock (p, fd))
|
|
62 |
else if (p = p') then False
|
|
63 |
else alive s (O_tcp_sock (p', fd)))
|
|
64 |
| O_udp_sock (p', fd) \<Rightarrow> (if (p = p' \<and> fd \<in> fds) then alive s (O_udp_sock (p, fd))
|
|
65 |
else if (p = p') then False
|
|
66 |
else alive s (O_udp_sock (p', fd)))
|
|
67 |
| _ \<Rightarrow> alive s obj )"
|
|
68 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
69 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
70 |
is_tcp_sock_simps is_udp_sock_simps
|
|
71 |
dest:is_dir_in_current split:if_splits option.splits)
|
|
72 |
|
|
73 |
done
|
|
74 |
|
|
75 |
lemma alive_clone:
|
|
76 |
"valid (Clone p p' fds shms # s) \<Longrightarrow> alive (Clone p p' fds shms # s) = (
|
|
77 |
\<lambda> obj. case obj of
|
|
78 |
O_proc p'' \<Rightarrow> if (p'' = p') then True else alive s obj
|
|
79 |
| O_fd p'' fd \<Rightarrow> if (p'' = p' \<and> fd \<in> fds) then True
|
|
80 |
else if (p'' = p') then False
|
|
81 |
else alive s obj
|
|
82 |
| O_tcp_sock (p'', fd) \<Rightarrow> (if (p'' = p' \<and> fd \<in> fds) then alive s (O_tcp_sock (p, fd))
|
|
83 |
else if (p'' = p') then False
|
|
84 |
else alive s (O_tcp_sock (p'', fd)))
|
|
85 |
| O_udp_sock (p'', fd) \<Rightarrow> (if (p'' = p' \<and> fd \<in> fds) then alive s (O_udp_sock (p, fd))
|
|
86 |
else if (p'' = p') then False
|
|
87 |
else alive s (O_udp_sock (p'', fd)))
|
|
88 |
| _ \<Rightarrow> alive s obj )"
|
|
89 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
90 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
91 |
is_tcp_sock_simps is_udp_sock_simps
|
|
92 |
intro:is_tcp_in_current is_udp_in_current
|
|
93 |
dest:is_dir_in_current split:if_splits option.splits)
|
|
94 |
done
|
|
95 |
*)
|
|
96 |
|
|
97 |
lemma alive_execve:
|
|
98 |
"valid (Execve p f fds # s) \<Longrightarrow> alive (Execve p f fds # s) = (
|
|
99 |
\<lambda> obj. case obj of
|
|
100 |
O_fd p' fd \<Rightarrow> (if (p = p' \<and> fd \<in> fds) then alive s (O_fd p fd)
|
|
101 |
else if (p = p') then False
|
|
102 |
else alive s (O_fd p' fd))
|
|
103 |
| O_tcp_sock (p', fd) \<Rightarrow> (if (p = p') then False
|
|
104 |
else alive s (O_tcp_sock (p', fd)))
|
|
105 |
| O_udp_sock (p', fd) \<Rightarrow> (if (p = p') then False
|
|
106 |
else alive s (O_udp_sock (p', fd)))
|
|
107 |
| _ \<Rightarrow> alive s obj )"
|
|
108 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
109 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
110 |
is_tcp_sock_simps is_udp_sock_simps
|
|
111 |
dest:is_dir_in_current split:if_splits option.splits
|
|
112 |
dest:file_fds_subset_pfds[where s = s] udp_notin_file_fds tcp_notin_file_fds)
|
|
113 |
done
|
|
114 |
|
|
115 |
lemma alive_clone:
|
|
116 |
"valid (Clone p p' fds # s) \<Longrightarrow> alive (Clone p p' fds # s) = (
|
|
117 |
\<lambda> obj. case obj of
|
|
118 |
O_proc p'' \<Rightarrow> if (p'' = p') then True else alive s obj
|
|
119 |
| O_fd p'' fd \<Rightarrow> if (p'' = p' \<and> fd \<in> fds) then True
|
|
120 |
else if (p'' = p') then False
|
|
121 |
else alive s obj
|
|
122 |
| O_tcp_sock (p'', fd) \<Rightarrow> (if (p'' = p') then False
|
|
123 |
else alive s (O_tcp_sock (p'', fd)))
|
|
124 |
| O_udp_sock (p'', fd) \<Rightarrow> (if (p'' = p') then False
|
|
125 |
else alive s (O_udp_sock (p'', fd)))
|
|
126 |
| _ \<Rightarrow> alive s obj )"
|
|
127 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
128 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
129 |
is_tcp_sock_simps is_udp_sock_simps
|
|
130 |
intro:is_tcp_in_current is_udp_in_current
|
|
131 |
dest:is_dir_in_current split:if_splits option.splits
|
|
132 |
dest:file_fds_subset_pfds[where s = s] udp_notin_file_fds tcp_notin_file_fds)
|
|
133 |
done
|
|
134 |
|
|
135 |
lemma alive_kill:
|
|
136 |
"valid (Kill p p' # s) \<Longrightarrow> alive (Kill p p' # s) = (
|
|
137 |
\<lambda> obj. case obj of
|
|
138 |
O_proc p'' \<Rightarrow> if (p'' = p') then False else alive s obj
|
|
139 |
| O_fd p'' fd \<Rightarrow> if (p'' = p') then False else alive s obj
|
|
140 |
| O_tcp_sock (p'', fd) \<Rightarrow> if (p'' = p') then False else alive s obj
|
|
141 |
| O_udp_sock (p'', fd) \<Rightarrow> if (p'' = p') then False else alive s obj
|
|
142 |
| _ \<Rightarrow> alive s obj)"
|
|
143 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
144 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
145 |
is_tcp_sock_simps is_udp_sock_simps
|
|
146 |
intro:is_tcp_in_current is_udp_in_current
|
|
147 |
dest:is_dir_in_current split:if_splits option.splits)
|
|
148 |
done
|
|
149 |
|
|
150 |
lemma alive_exit:
|
|
151 |
"valid (Exit p' # s) \<Longrightarrow> alive (Exit p' # s) = (
|
|
152 |
\<lambda> obj. case obj of
|
|
153 |
O_proc p'' \<Rightarrow> if (p'' = p') then False else alive s obj
|
|
154 |
| O_fd p'' fd \<Rightarrow> if (p'' = p') then False else alive s obj
|
|
155 |
| O_tcp_sock (p'', fd) \<Rightarrow> if (p'' = p') then False else alive s obj
|
|
156 |
| O_udp_sock (p'', fd) \<Rightarrow> if (p'' = p') then False else alive s obj
|
|
157 |
| _ \<Rightarrow> alive s obj)"
|
|
158 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
159 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
160 |
is_tcp_sock_simps is_udp_sock_simps
|
|
161 |
intro:is_tcp_in_current is_udp_in_current
|
|
162 |
dest:is_dir_in_current split:if_splits option.splits)
|
|
163 |
done
|
|
164 |
|
|
165 |
lemma alive_closefd:
|
|
166 |
"valid (CloseFd p fd # s) \<Longrightarrow> alive (CloseFd p fd # s) = (
|
|
167 |
\<lambda> obj. case obj of
|
|
168 |
O_fd p' fd' \<Rightarrow> if (p' = p \<and> fd' = fd) then False else alive s obj
|
|
169 |
| O_tcp_sock (p', fd') \<Rightarrow> if (p' = p \<and> fd' = fd) then False else alive s obj
|
|
170 |
| O_udp_sock (p', fd') \<Rightarrow> if (p' = p \<and> fd' = fd) then False else alive s obj
|
|
171 |
| O_file f \<Rightarrow> (case (file_of_proc_fd s p fd) of
|
|
172 |
Some f' \<Rightarrow> (if (f = f' \<and> proc_fd_of_file s f = {(p, fd)} \<and> f \<in> files_hung_by_del s)
|
|
173 |
then False else alive s obj)
|
|
174 |
| _ \<Rightarrow> alive s obj)
|
|
175 |
| _ \<Rightarrow> alive s obj)"
|
|
176 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
177 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
178 |
is_tcp_sock_simps is_udp_sock_simps
|
|
179 |
intro:is_tcp_in_current is_udp_in_current
|
|
180 |
dest:is_dir_in_current file_of_pfd_is_file' split:if_splits option.splits)
|
|
181 |
done
|
|
182 |
|
|
183 |
lemma alive_unlink:
|
|
184 |
"valid (UnLink p f # s) \<Longrightarrow> alive (UnLink p f # s) = (
|
|
185 |
\<lambda> obj. case obj of
|
|
186 |
O_file f' \<Rightarrow> if (f' = f \<and> proc_fd_of_file s f = {}) then False else alive s obj
|
|
187 |
| _ \<Rightarrow> alive s obj)"
|
|
188 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
189 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
190 |
is_tcp_sock_simps is_udp_sock_simps
|
|
191 |
intro:is_tcp_in_current is_udp_in_current
|
|
192 |
dest:is_dir_in_current file_of_pfd_is_file' file_dir_conflict
|
|
193 |
split:if_splits option.splits)
|
|
194 |
done
|
|
195 |
|
|
196 |
lemma alive_rmdir:
|
|
197 |
"valid (Rmdir p d # s) \<Longrightarrow> alive (Rmdir p d # s) = (alive s) (O_dir d := False)"
|
|
198 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac x)
|
|
199 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
200 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def
|
|
201 |
intro:is_tcp_in_current is_udp_in_current
|
|
202 |
dest:is_dir_in_current file_of_pfd_is_file' file_dir_conflict
|
|
203 |
split:if_splits option.splits)
|
|
204 |
done
|
|
205 |
|
|
206 |
lemma alive_mkdir:
|
|
207 |
"valid (Mkdir p d inum # s) \<Longrightarrow> alive (Mkdir p d inum # s) = (alive s) (O_dir d := True)"
|
|
208 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac x)
|
|
209 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
210 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def
|
|
211 |
intro:is_tcp_in_current is_udp_in_current
|
|
212 |
dest:is_dir_in_current file_of_pfd_is_file' is_file_in_current
|
|
213 |
split:if_splits option.splits)
|
|
214 |
done
|
|
215 |
|
|
216 |
lemma alive_linkhard:
|
|
217 |
"valid (LinkHard p f f' # s) \<Longrightarrow> alive (LinkHard p f f' # s) = (alive s) (O_file f' := True)"
|
|
218 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac x)
|
|
219 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
220 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def
|
|
221 |
intro:is_tcp_in_current is_udp_in_current
|
|
222 |
dest:is_dir_in_current file_of_pfd_is_file' is_file_in_current
|
|
223 |
split:if_splits option.splits)
|
|
224 |
done
|
|
225 |
|
|
226 |
lemma alive_createmsgq:
|
|
227 |
"valid (CreateMsgq p q # s) \<Longrightarrow> alive (CreateMsgq p q # s) = (alive s) (O_msgq q := True)"
|
|
228 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac x)
|
|
229 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
230 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def)
|
|
231 |
done
|
|
232 |
|
|
233 |
lemma alive_sendmsg:
|
|
234 |
"valid (SendMsg p q m # s) \<Longrightarrow> alive (SendMsg p q m # s) = (alive s) (O_msg q m := True)"
|
|
235 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac x)
|
|
236 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
237 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def)
|
|
238 |
done
|
|
239 |
|
|
240 |
lemma alive_recvmsg:
|
|
241 |
"valid (RecvMsg p q m # s) \<Longrightarrow> alive (RecvMsg p q m # s) = (alive s) (O_msg q m := False)"
|
|
242 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac x)
|
|
243 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
244 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def other_msg_remains
|
|
245 |
dest:received_msg_notin)
|
|
246 |
done
|
|
247 |
|
|
248 |
lemma alive_removemsgq:
|
|
249 |
"valid (RemoveMsgq p q # s) \<Longrightarrow> alive (RemoveMsgq p q # s) = (
|
|
250 |
\<lambda> obj. case obj of
|
|
251 |
O_msgq q' \<Rightarrow> if (q' = q) then False else alive s obj
|
|
252 |
| O_msg q' m \<Rightarrow> if (q' = q) then False else alive s obj
|
|
253 |
| _ \<Rightarrow> alive s obj)"
|
|
254 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
255 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
256 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def)
|
|
257 |
done
|
|
258 |
|
|
259 |
(*
|
|
260 |
lemma alive_createshm:
|
|
261 |
"valid (CreateShM p h # s) \<Longrightarrow> alive (CreateShM p h # s) = (alive s) (O_shm h := True)"
|
|
262 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac x)
|
|
263 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
264 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def)
|
|
265 |
done
|
|
266 |
|
|
267 |
lemma alive_deleteshm:
|
|
268 |
"valid (DeleteShM p h # s) \<Longrightarrow> alive (DeleteShM p h # s) = (alive s) (O_shm h := False)"
|
|
269 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac x)
|
|
270 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
271 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def)
|
|
272 |
done
|
|
273 |
*)
|
|
274 |
|
|
275 |
lemma alive_createsock:
|
|
276 |
"valid (CreateSock p af st fd inum # s) \<Longrightarrow> alive (CreateSock p af st fd inum # s) = (
|
|
277 |
\<lambda> obj. case obj of
|
|
278 |
O_fd p' fd' \<Rightarrow> if (p' = p \<and> fd' = fd) then True else alive s obj
|
|
279 |
| O_tcp_sock (p', fd') \<Rightarrow> if (p' = p \<and> fd' = fd \<and> st = STREAM) then True else alive s obj
|
|
280 |
| O_udp_sock (p', fd') \<Rightarrow> if (p' = p \<and> fd' = fd \<and> st = DGRAM) then True else alive s obj
|
|
281 |
| _ \<Rightarrow> alive s obj)"
|
|
282 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
283 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
284 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def
|
|
285 |
intro:is_tcp_in_current is_udp_in_current split:t_socket_type.splits)
|
|
286 |
done
|
|
287 |
|
|
288 |
lemma alive_accept:
|
|
289 |
"valid (Accept p fd addr port fd' inum # s) \<Longrightarrow> alive (Accept p fd addr port fd' inum # s) = (
|
|
290 |
\<lambda> obj. case obj of
|
|
291 |
O_fd p' fd'' \<Rightarrow> if (p' = p \<and> fd'' = fd') then True else alive s obj
|
|
292 |
| O_tcp_sock (p', fd'') \<Rightarrow> if (p' = p \<and> fd'' = fd') then True else alive s obj
|
|
293 |
| _ \<Rightarrow> alive s obj)"
|
|
294 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac obj)
|
|
295 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
296 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def
|
|
297 |
intro:is_tcp_in_current is_udp_in_current split:t_socket_type.splits)
|
|
298 |
done
|
|
299 |
|
|
300 |
lemma alive_other:
|
|
301 |
"\<lbrakk>valid (e # s);
|
|
302 |
\<forall> p f flag fd opt. e \<noteq> Open p f flag fd opt;
|
|
303 |
\<forall> p f fds. e \<noteq> Execve p f fds;
|
|
304 |
\<forall> p p' fds. e \<noteq> Clone p p' fds;
|
|
305 |
\<forall> p p'. e \<noteq> Kill p p';
|
|
306 |
\<forall> p. e \<noteq> Exit p;
|
|
307 |
\<forall> p fd. e \<noteq> CloseFd p fd;
|
|
308 |
\<forall> p f. e \<noteq> UnLink p f;
|
|
309 |
\<forall> p d. e \<noteq> Rmdir p d;
|
|
310 |
\<forall> p d inum. e \<noteq> Mkdir p d inum;
|
|
311 |
\<forall> p f f'. e \<noteq> LinkHard p f f';
|
|
312 |
\<forall> p q. e \<noteq> CreateMsgq p q;
|
|
313 |
\<forall> p q m. e \<noteq> SendMsg p q m;
|
|
314 |
\<forall> p q m. e \<noteq> RecvMsg p q m;
|
|
315 |
\<forall> p q. e \<noteq> RemoveMsgq p q;
|
|
316 |
\<forall> p af st fd inum. e \<noteq> CreateSock p af st fd inum;
|
|
317 |
\<forall> p fd addr port fd' inum. e \<noteq> Accept p fd addr port fd' inum\<rbrakk>
|
|
318 |
\<Longrightarrow> alive (e # s) = alive s" (*
|
|
319 |
\<forall> p h. e \<noteq> CreateShM p h;
|
|
320 |
\<forall> p h. e \<noteq> DeleteShM p h;*)
|
|
321 |
apply (frule vd_cons, frule vt_grant_os, rule ext, case_tac x, case_tac [!] e)
|
|
322 |
apply (auto simp:current_files_simps current_sockets_simps is_file_simps is_dir_simps
|
|
323 |
is_tcp_sock_simps is_udp_sock_simps dir_is_empty_def
|
|
324 |
intro:is_tcp_in_current is_udp_in_current split:t_socket_type.splits)
|
|
325 |
done
|
|
326 |
|
|
327 |
lemmas alive_simps = alive_open alive_execve alive_clone alive_kill alive_exit alive_closefd alive_unlink
|
|
328 |
alive_rmdir alive_mkdir alive_linkhard alive_createmsgq alive_removemsgq (* alive_createshm alive_deleteshm *)
|
|
329 |
alive_createsock alive_accept alive_other alive_sendmsg alive_recvmsg
|
|
330 |
|
|
331 |
|
|
332 |
end
|
|
333 |
|
|
334 |
end |