Pass | Half | Fail | Excluded | Total | ||||
---|---|---|---|---|---|---|---|---|
|
18.75% |
81.25% |
0.00% |
100% |
||||
|
3.95% |
96.05% |
0.00% |
100% |
||||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
100.00% |
0.00% |
100% |
||||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
0.00% |
0.00% |
100% |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | create_alias_config(apr_pool_t *p, server_rec *s) |
59 | |
60 | |
61 | p, sizeof(alias_server_conf)); |
62 | |
63 | a-> : enter=1, leave=1 ->aliases : modules/mappers/mod_alias.c line=48 column=25 aliases = : enter=1, leave=1 = apr_array_make : enter=1, leave=1 apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35 apr_array_make(p : modules/mappers/mod_alias.c line=58 column=46 p, 20, sizeof(alias_entry)); |
64 | a-> : enter=1, leave=1 ->redirects : modules/mappers/mod_alias.c line=49 column=25 redirects = : enter=1, leave=1 = apr_array_make : enter=1, leave=1 apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35 apr_array_make(p : modules/mappers/mod_alias.c line=58 column=46 p, 20, sizeof(alias_entry)); |
65 | return a : modules/mappers/mod_alias.c line=60 column=24 a; |
66 | |
67 | |
68 | create_alias_dir_config(apr_pool_t *p, char *d) |
69 | |
70 | |
71 | p, sizeof(alias_dir_conf)); |
72 | a-> : enter=1, leave=1 ->redirects : modules/mappers/mod_alias.c line=53 column=25 redirects = : enter=1, leave=1 = apr_array_make : enter=1, leave=1 apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35 apr_array_make(p : modules/mappers/mod_alias.c line=68 column=50 p, 2, sizeof(alias_entry)); |
73 | return a : modules/mappers/mod_alias.c line=70 column=21 a; |
74 | |
75 | |
76 | merge_alias_config(apr_pool_t *p, void *basev, void *overridesv) |
77 | |
78 | |
79 | p, sizeof(alias_server_conf)); |
80 | basev; |
81 | overridesv; |
82 | |
83 | a-> : enter=0, leave=0 ->aliases : modules/mappers/mod_alias.c line=48 column=25 aliases = : enter=0, leave=0 = apr_array_append : enter=0, leave=0 apr_array_append : /usr/include/apr-1/apr_tables.h line=196 column=35 apr_array_append(p : modules/mappers/mod_alias.c line=76 column=45 p, overrides : modules/mappers/mod_alias.c line=81 column=24 overrides-> : enter=0, leave=0 ->aliases : modules/mappers/mod_alias.c line=48 column=25 aliases, base : modules/mappers/mod_alias.c line=80 column=24 base-> : enter=0, leave=0 ->aliases : modules/mappers/mod_alias.c line=48 column=25 aliases); |
84 | a-> : enter=0, leave=0 ->redirects : modules/mappers/mod_alias.c line=49 column=25 redirects = : enter=0, leave=0 = apr_array_append : enter=0, leave=0 apr_array_append : /usr/include/apr-1/apr_tables.h line=196 column=35 apr_array_append(p : modules/mappers/mod_alias.c line=76 column=45 p, overrides : modules/mappers/mod_alias.c line=81 column=24 overrides-> : enter=0, leave=0 ->redirects : modules/mappers/mod_alias.c line=49 column=25 redirects, base : modules/mappers/mod_alias.c line=80 column=24 base-> : enter=0, leave=0 ->redirects : modules/mappers/mod_alias.c line=49 column=25 redirects); |
85 | return a : modules/mappers/mod_alias.c line=78 column=24 a; |
86 | |
87 | |
88 | merge_alias_dir_config(apr_pool_t *p, void *basev, void *overridesv) |
89 | |
90 | |
91 | p, sizeof(alias_dir_conf)); |
92 | basev; |
93 | overridesv; |
94 | a-> : enter=0, leave=0 ->redirects : modules/mappers/mod_alias.c line=53 column=25 redirects = : enter=0, leave=0 = apr_array_append : enter=0, leave=0 apr_array_append : /usr/include/apr-1/apr_tables.h line=196 column=35 apr_array_append(p : modules/mappers/mod_alias.c line=88 column=49 p, overrides : modules/mappers/mod_alias.c line=93 column=21 overrides-> : enter=0, leave=0 ->redirects : modules/mappers/mod_alias.c line=53 column=25 redirects, base : modules/mappers/mod_alias.c line=92 column=21 base-> : enter=0, leave=0 ->redirects : modules/mappers/mod_alias.c line=53 column=25 redirects); |
95 | return a : modules/mappers/mod_alias.c line=90 column=21 a; |
96 | |
97 | |
98 | |
99 | |
100 | |
101 | add_alias_internal(cmd_parms *cmd, void *dummy, |
102 | |
103 | |
104 | |
105 | cmd-> : enter=0, leave=0 ->server : include/http_config.h line=296 column=17 server; |
106 | s-> : enter=0, leave=0 ->module_config : include/httpd.h line=1207 column=30 module_config, |
107 | alias_module); |
108 | apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(conf : modules/mappers/mod_alias.c line=106 column=24 conf-> : enter=0, leave=0 ->aliases : modules/mappers/mod_alias.c line=48 column=25 aliases); |
109 | conf-> : enter=0, leave=0 ->aliases : modules/mappers/mod_alias.c line=48 column=25 aliases-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
110 | |
111 | |
112 | |
113 | |
114 | if (use_regex : modules/mappers/mod_alias.c line=103 column=43 use_regex) { |
115 | new-> : enter=0, leave=0 ->regexp : modules/mappers/mod_alias.c line=43 column=17 regexp = : enter=0, leave=0 = ap_pregcomp : enter=0, leave=0 ap_pregcomp : include/httpd.h line=1684 column=26 ap_pregcomp(cmd : modules/mappers/mod_alias.c line=101 column=50 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, f : modules/mappers/mod_alias.c line=102 column=51 f, AP_REG_EXTENDED); |
116 | if (new : modules/mappers/mod_alias.c line=108 column=18 new-> : enter=0, leave=0 ->regexp : modules/mappers/mod_alias.c line=43 column=17 regexp == : true=0, false=0 == NULL) |
117 | return "Regular expression could not be compiled."; |
118 | new-> : enter=0, leave=0 ->real : modules/mappers/mod_alias.c line=40 column=17 real = : enter=0, leave=0 = r : modules/mappers/mod_alias.c line=102 column=66 r; |
119 | |
120 | |
121 | |
122 | |
123 | |
124 | |
125 | |
126 | new-> : enter=0, leave=0 ->real : modules/mappers/mod_alias.c line=40 column=17 real = : enter=0, leave=0 = r : modules/mappers/mod_alias.c line=102 column=66 r; |
127 | |
128 | new-> : enter=0, leave=0 ->fake : modules/mappers/mod_alias.c line=41 column=17 fake = : enter=0, leave=0 = f : modules/mappers/mod_alias.c line=102 column=51 f; |
129 | new-> : enter=0, leave=0 ->handler : modules/mappers/mod_alias.c line=42 column=11 handler = : enter=0, leave=0 = cmd : modules/mappers/mod_alias.c line=101 column=50 cmd-> : enter=0, leave=0 ->info : include/http_config.h line=275 column=11 info; |
130 | |
131 | |
132 | |
133 | |
134 | if (! : true=0, false=0 !use_regex : modules/mappers/mod_alias.c line=103 column=43 use_regex) { |
135 | for (i : modules/mappers/mod_alias.c line=110 column=9 i = : pass=0 = 0; i : modules/mappers/mod_alias.c line=110 column=9 i < : true=0, false=0 < conf : modules/mappers/mod_alias.c line=106 column=24 conf-> : enter=0, leave=0 ->aliases : modules/mappers/mod_alias.c line=48 column=25 aliases-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts - : pass=0 - 1; ++ : pass=0 ++i : modules/mappers/mod_alias.c line=110 column=9 i) { |
136 | entries[] : enter=0, leave=0 [i : modules/mappers/mod_alias.c line=110 column=9 i]; |
137 | |
138 | if ( (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !p : modules/mappers/mod_alias.c line=136 column=26 p-> : enter=0, leave=0 ->regexp : modules/mappers/mod_alias.c line=43 column=17 regexp && : true=0, false=0 && alias_matches : enter=0, leave=0 alias_matches : modules/mappers/mod_alias.c line=99 column=12 alias_matches(f : modules/mappers/mod_alias.c line=102 column=51 f, p : modules/mappers/mod_alias.c line=136 column=26 p-> : enter=0, leave=0 ->fake : modules/mappers/mod_alias.c line=41 column=17 fake) > : true=0, false=0 MC/DC independently affect : true=0, false=0 > 0) |
139 | || (p : modules/mappers/mod_alias.c line=136 column=26 pMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->regexp : modules/mappers/mod_alias.c line=43 column=17 regexp && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !ap_regexec : enter=0, leave=0 ap_regexec : include/ap_regex.h line=119 column=17 ap_regexec(p : modules/mappers/mod_alias.c line=136 column=26 p-> : enter=0, leave=0 ->regexp : modules/mappers/mod_alias.c line=43 column=17 regexp, f : modules/mappers/mod_alias.c line=102 column=51 f, 0, NULL, 0))) { |
140 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd : modules/mappers/mod_alias.c line=101 column=50 cmd-> : enter=0, leave=0 ->server : include/http_config.h line=296 column=17 server, |
141 | |
142 | |
143 | |
144 | cmd-> : enter=0, leave=0 ->cmd : include/http_config.h line=305 column=24 cmd-> : enter=0, leave=0 ->name : include/http_config.h line=204 column=17 name, cmd : modules/mappers/mod_alias.c line=101 column=50 cmd-> : enter=0, leave=0 ->directive : include/http_config.h line=288 column=21 directive-> : enter=0, leave=0 ->filename : include/util_cfgtree.h line=67 column=17 filename, |
145 | cmd-> : enter=0, leave=0 ->directive : include/http_config.h line=288 column=21 directive-> : enter=0, leave=0 ->line_num : include/util_cfgtree.h line=69 column=9 line_num, |
146 | p-> : enter=0, leave=0 ->handler : modules/mappers/mod_alias.c line=42 column=11 handler conditional operator : true=0, false=0 ? "Script" : "", |
147 | p-> : enter=0, leave=0 ->regexp : modules/mappers/mod_alias.c line=43 column=17 regexp conditional operator : true=0, false=0 ? "Match" : ""); |
148 | |
149 | break; /* one warning per alias should be sufficient */ |
150 | |
151 | |
152 | |
153 | |
154 | return NULL; |
155 | |
156 | |
157 | add_alias(cmd_parms *cmd, void *dummy, const char *f, |
158 | |
159 | |
160 | return add_alias_internal : enter=0, leave=0 add_alias_internal : modules/mappers/mod_alias.c line=101 column=20 add_alias_internal(cmd : modules/mappers/mod_alias.c line=157 column=41 cmd, dummy : modules/mappers/mod_alias.c line=157 column=52 dummy, f : modules/mappers/mod_alias.c line=157 column=71 f, r : modules/mappers/mod_alias.c line=158 column=42 r, 0); |
161 | |
162 | |
163 | add_alias_regex(cmd_parms *cmd, void *dummy, const char *f, |
164 | |
165 | |
166 | return add_alias_internal : enter=0, leave=0 add_alias_internal : modules/mappers/mod_alias.c line=101 column=20 add_alias_internal(cmd : modules/mappers/mod_alias.c line=163 column=47 cmd, dummy : modules/mappers/mod_alias.c line=163 column=58 dummy, f : modules/mappers/mod_alias.c line=163 column=77 f, r : modules/mappers/mod_alias.c line=164 column=48 r, 1); |
167 | |
168 | |
169 | add_redirect_internal(cmd_parms *cmd, |
170 | |
171 | |
172 | |
173 | |
174 | |
175 | cmd-> : enter=0, leave=0 ->server : include/http_config.h line=296 column=17 server; |
176 | s-> : enter=0, leave=0 ->module_config : include/httpd.h line=1207 column=30 module_config, |
177 | alias_module); |
178 | cmd-> : enter=0, leave=0 ->info : include/http_config.h line=275 column=11 info; |
179 | |
180 | |
181 | arg2; |
182 | arg3; |
183 | |
184 | |
185 | |
186 | |
187 | |
188 | |
189 | |
190 | |
191 | if (! : true=0, false=0 !strcasecmp : enter=0, leave=0 strcasecmp : /usr/include/string.h line=536 column=12 strcasecmp(arg1 : modules/mappers/mod_alias.c line=171 column=54 arg1, "permanent")) |
192 | status = : pass=0 = HTTP_MOVED_PERMANENTLY; |
193 | if (! : true=0, false=0 !strcasecmp : enter=0, leave=0 strcasecmp : /usr/include/string.h line=536 column=12 strcasecmp(arg1 : modules/mappers/mod_alias.c line=171 column=54 arg1, "temp")) |
194 | status = : pass=0 = HTTP_MOVED_TEMPORARILY; |
195 | if (! : true=0, false=0 !strcasecmp : enter=0, leave=0 strcasecmp : /usr/include/string.h line=536 column=12 strcasecmp(arg1 : modules/mappers/mod_alias.c line=171 column=54 arg1, "seeother")) |
196 | status = : pass=0 = HTTP_SEE_OTHER; |
197 | if (! : true=0, false=0 !strcasecmp : enter=0, leave=0 strcasecmp : /usr/include/string.h line=536 column=12 strcasecmp(arg1 : modules/mappers/mod_alias.c line=171 column=54 arg1, "gone")) |
198 | status = : pass=0 = HTTP_GONE; |
199 | if (apr_isdigit(* dereference : enter=0, leave=0 *arg1 : modules/mappers/mod_alias.c line=171 column=54 arg1)) |
200 | status = : pass=0 = atoi : enter=0, leave=0 atoi : /usr/include/stdlib.h line=148 column=12 atoi(arg1 : modules/mappers/mod_alias.c line=171 column=54 arg1); |
201 | |
202 | grokarg1 = : pass=0 = 0; |
203 | |
204 | if (MC/DC independently affect : true=0, false=0 arg3 : modules/mappers/mod_alias.c line=172 column=54 arg3 && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !grokarg1 : modules/mappers/mod_alias.c line=179 column=9 grokarg1) |
205 | return "Redirect: invalid first argument (of three)"; |
206 | |
207 | |
208 | |
209 | |
210 | |
211 | |
212 | |
213 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !arg3 : modules/mappers/mod_alias.c line=172 column=54 arg3 && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !grokarg1 : modules/mappers/mod_alias.c line=179 column=9 grokarg1) { |
214 | f = : pass=0 = arg1 : modules/mappers/mod_alias.c line=171 column=54 arg1; |
215 | url = : pass=0 = arg2 : modules/mappers/mod_alias.c line=171 column=72 arg2; |
216 | |
217 | |
218 | if (use_regex : modules/mappers/mod_alias.c line=172 column=64 use_regex) { |
219 | r = : pass=0 = ap_pregcomp : enter=0, leave=0 ap_pregcomp : include/httpd.h line=1684 column=26 ap_pregcomp(cmd : modules/mappers/mod_alias.c line=169 column=53 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, f : modules/mappers/mod_alias.c line=181 column=17 f, AP_REG_EXTENDED); |
220 | if (r : modules/mappers/mod_alias.c line=180 column=17 r == : true=0, false=0 == NULL) |
221 | return "Regular expression could not be compiled."; |
222 | |
223 | |
224 | if (ap_is_HTTP_REDIRECT(status : modules/mappers/mod_alias.c line=178 column=9 status)) { |
225 | if (! : true=0, false=0 !url : modules/mappers/mod_alias.c line=182 column=17 url) |
226 | return "URL to redirect to is missing"; |
227 | |
228 | |
229 | |
230 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !use_regex : modules/mappers/mod_alias.c line=172 column=64 use_regex && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !ap_is_url : enter=0, leave=0 ap_is_url : include/httpd.h line=1448 column=17 ap_is_url(url : modules/mappers/mod_alias.c line=182 column=17 url) && : true=0, false=0 && (url : modules/mappers/mod_alias.c line=182 column=17 url[] : enter=0, leave=0 [0] != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '/')) |
231 | return "Redirect to non-URL"; |
232 | |
233 | |
234 | if (url : modules/mappers/mod_alias.c line=182 column=17 url) |
235 | return "Redirect URL not valid for this status"; |
236 | |
237 | |
238 | if (cmd : modules/mappers/mod_alias.c line=169 column=53 cmd-> : enter=0, leave=0 ->path : include/http_config.h line=303 column=11 path) |
239 | new = : pass=0 = apr_array_push : enter=0, leave=0 apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(dirconf : modules/mappers/mod_alias.c line=170 column=58 dirconf-> : enter=0, leave=0 ->redirects : modules/mappers/mod_alias.c line=53 column=25 redirects); |
240 | |
241 | new = : pass=0 = apr_array_push : enter=0, leave=0 apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21 apr_array_push(serverconf : modules/mappers/mod_alias.c line=176 column=24 serverconf-> : enter=0, leave=0 ->redirects : modules/mappers/mod_alias.c line=49 column=25 redirects); |
242 | |
243 | new-> : enter=0, leave=0 ->fake : modules/mappers/mod_alias.c line=41 column=17 fake = : enter=0, leave=0 = f : modules/mappers/mod_alias.c line=181 column=17 f; |
244 | new-> : enter=0, leave=0 ->real : modules/mappers/mod_alias.c line=40 column=17 real = : enter=0, leave=0 = url : modules/mappers/mod_alias.c line=182 column=17 url; |
245 | new-> : enter=0, leave=0 ->regexp : modules/mappers/mod_alias.c line=43 column=17 regexp = : enter=0, leave=0 = r : modules/mappers/mod_alias.c line=180 column=17 r; |
246 | new-> : enter=0, leave=0 ->redir_status : modules/mappers/mod_alias.c line=44 column=9 redir_status = : enter=0, leave=0 = status : modules/mappers/mod_alias.c line=178 column=9 status; |
247 | return NULL; |
248 | |
249 | |
250 | add_redirect(cmd_parms *cmd, void *dirconf, |
251 | |
252 | |
253 | |
254 | return add_redirect_internal : enter=0, leave=0 add_redirect_internal : modules/mappers/mod_alias.c line=169 column=20 add_redirect_internal(cmd : modules/mappers/mod_alias.c line=250 column=44 cmd, dirconf : modules/mappers/mod_alias.c line=250 column=55 dirconf, arg1 : modules/mappers/mod_alias.c line=251 column=45 arg1, arg2 : modules/mappers/mod_alias.c line=251 column=63 arg2, arg3 : modules/mappers/mod_alias.c line=252 column=45 arg3, 0); |
255 | |
256 | |
257 | add_redirect2(cmd_parms *cmd, void *dirconf, |
258 | |
259 | |
260 | return add_redirect_internal : enter=0, leave=0 add_redirect_internal : modules/mappers/mod_alias.c line=169 column=20 add_redirect_internal(cmd : modules/mappers/mod_alias.c line=257 column=45 cmd, dirconf : modules/mappers/mod_alias.c line=257 column=56 dirconf, arg1 : modules/mappers/mod_alias.c line=258 column=46 arg1, arg2 : modules/mappers/mod_alias.c line=258 column=64 arg2, NULL, 0); |
261 | |
262 | |
263 | add_redirect_regex(cmd_parms *cmd, void *dirconf, |
264 | |
265 | |
266 | |
267 | return add_redirect_internal : enter=0, leave=0 add_redirect_internal : modules/mappers/mod_alias.c line=169 column=20 add_redirect_internal(cmd : modules/mappers/mod_alias.c line=263 column=50 cmd, dirconf : modules/mappers/mod_alias.c line=263 column=61 dirconf, arg1 : modules/mappers/mod_alias.c line=264 column=51 arg1, arg2 : modules/mappers/mod_alias.c line=264 column=69 arg2, arg3 : modules/mappers/mod_alias.c line=265 column=51 arg3, 1); |
268 | |
269 | |
270 | |
271 | |
272 | add_alias, NULL, RSRC_CONF, |
273 | |
274 | add_alias, "cgi-script", RSRC_CONF, |
275 | |
276 | add_redirect, (void *) HTTP_MOVED_TEMPORARILY, |
277 | |
278 | |
279 | |
280 | add_alias_regex, NULL, RSRC_CONF, |
281 | |
282 | add_alias_regex, "cgi-script", RSRC_CONF, |
283 | |
284 | add_redirect_regex, |
285 | |
286 | |
287 | |
288 | add_redirect2, |
289 | |
290 | |
291 | add_redirect2, |
292 | |
293 | |
294 | |
295 | |
296 | |
297 | alias_matches(const char *uri, const char *alias_fakename) |
298 | |
299 | alias_fakename, *urip = uri : modules/mappers/mod_alias.c line=297 column=38 uri; |
300 | |
301 | while (* dereference : enter=0, leave=0 *aliasp : modules/mappers/mod_alias.c line=299 column=17 aliasp) { |
302 | if (* dereference : enter=0, leave=0 *aliasp : modules/mappers/mod_alias.c line=299 column=17 aliasp == : true=0, false=0 == '/') { |
303 | |
304 | |
305 | |
306 | if (* dereference : enter=0, leave=0 *urip : modules/mappers/mod_alias.c line=299 column=43 urip != : true=0, false=0 != '/') |
307 | return 0; |
308 | |
309 | |
310 | ++aliasp : modules/mappers/mod_alias.c line=299 column=17 aliasp; |
311 | while (* dereference : enter=0, leave=0 *aliasp : modules/mappers/mod_alias.c line=299 column=17 aliasp == : true=0, false=0 == '/'); |
312 | |
313 | ++urip : modules/mappers/mod_alias.c line=299 column=43 urip; |
314 | while (* dereference : enter=0, leave=0 *urip : modules/mappers/mod_alias.c line=299 column=43 urip == : true=0, false=0 == '/'); |
315 | |
316 | |
317 | |
318 | if (* dereference : enter=0, leave=0 *urip : modules/mappers/mod_alias.c line=299 column=43 urip++ : pass=0 ++ != : true=0, false=0 != * dereference : enter=0, leave=0 *aliasp : modules/mappers/mod_alias.c line=299 column=17 aliasp++ : pass=0 ++) |
319 | return 0; |
320 | |
321 | |
322 | |
323 | |
324 | |
325 | if (aliasp : modules/mappers/mod_alias.c line=299 column=17 aliasp[] : enter=0, leave=0 [-1] != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '/' && : true=0, false=0 && * dereference : enter=0, leave=0 *urip : modules/mappers/mod_alias.c line=299 column=43 urip != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '\0' && : true=0, false=0 && * dereference : enter=0, leave=0 *urip : modules/mappers/mod_alias.c line=299 column=43 urip != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '/') |
326 | return 0; |
327 | |
328 | |
329 | |
330 | |
331 | |
332 | |
333 | return urip : modules/mappers/mod_alias.c line=299 column=43 urip - : pass=0 - uri : modules/mappers/mod_alias.c line=297 column=38 uri; |
334 | |
335 | |
336 | try_alias_list(request_rec *r, apr_array_header_t *aliases, |
337 | |
338 | |
339 | aliases-> : enter=0, leave=0 ->elts : /usr/include/apr-1/apr_tables.h line=62 column=11 elts; |
340 | |
341 | |
342 | |
343 | |
344 | for (i : modules/mappers/mod_alias.c line=342 column=9 i = : pass=0 = 0; i : modules/mappers/mod_alias.c line=342 column=9 i < : true=0, false=0 < aliases : modules/mappers/mod_alias.c line=336 column=65 aliases-> : enter=0, leave=0 ->nelts : /usr/include/apr-1/apr_tables.h line=58 column=9 nelts; ++ : pass=0 ++i : modules/mappers/mod_alias.c line=342 column=9 i) { |
345 | entries[] : enter=0, leave=0 [i : modules/mappers/mod_alias.c line=342 column=9 i]; |
346 | |
347 | |
348 | if (p : modules/mappers/mod_alias.c line=345 column=22 p-> : enter=0, leave=0 ->regexp : modules/mappers/mod_alias.c line=43 column=17 regexp) { |
349 | if (! : true=0, false=0 !ap_regexec : enter=0, leave=0 ap_regexec : include/ap_regex.h line=119 column=17 ap_regexec(p : modules/mappers/mod_alias.c line=345 column=22 p-> : enter=0, leave=0 ->regexp : modules/mappers/mod_alias.c line=43 column=17 regexp, r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri, AP_MAX_REG_MATCH, regm : modules/mappers/mod_alias.c line=340 column=19 regm, 0)) { |
350 | if (p : modules/mappers/mod_alias.c line=345 column=22 p-> : enter=0, leave=0 ->real : modules/mappers/mod_alias.c line=40 column=17 real) { |
351 | found = : pass=0 = ap_pregsub : enter=0, leave=0 ap_pregsub : include/httpd.h line=1705 column=20 ap_pregsub(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, p : modules/mappers/mod_alias.c line=345 column=22 p-> : enter=0, leave=0 ->real : modules/mappers/mod_alias.c line=40 column=17 real, r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri, |
352 | regm); |
353 | if (MC/DC independently affect : true=0, false=0 found : modules/mappers/mod_alias.c line=341 column=11 found && : true=0, false=0 && MC/DC independently affect : true=0, false=0 doesc : modules/mappers/mod_alias.c line=337 column=33 doesc) { |
354 | |
355 | apr_uri_parse : /usr/include/apr-1/apr_uri.h line=159 column=27 apr_uri_parse(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, found : modules/mappers/mod_alias.c line=341 column=11 found, &uri : modules/mappers/mod_alias.c line=354 column=35 uri); |
356 | |
357 | found = : pass=0 = apr_uri_unparse : enter=0, leave=0 apr_uri_unparse : /usr/include/apr-1/apr_uri.h line=146 column=21 apr_uri_unparse(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, &uri : modules/mappers/mod_alias.c line=354 column=35 uri, |
358 | |
359 | found = : pass=0 = ap_escape_uri(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, found : modules/mappers/mod_alias.c line=341 column=11 found); |
360 | if (uri : modules/mappers/mod_alias.c line=354 column=35 uri.query : /usr/include/apr-1/apr_uri.h line=101 column=11 query) { |
361 | found = : pass=0 = apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, found : modules/mappers/mod_alias.c line=341 column=11 found, "?", |
362 | uri.query : /usr/include/apr-1/apr_uri.h line=101 column=11 query, NULL); |
363 | |
364 | if (uri : modules/mappers/mod_alias.c line=354 column=35 uri.fragment : /usr/include/apr-1/apr_uri.h line=103 column=11 fragment) { |
365 | found = : pass=0 = apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, found : modules/mappers/mod_alias.c line=341 column=11 found, "#", |
366 | uri.fragment : /usr/include/apr-1/apr_uri.h line=103 column=11 fragment, NULL); |
367 | |
368 | |
369 | |
370 | |
371 | |
372 | found = : pass=0 = apr_pstrdup : enter=0, leave=0 apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21 apr_pstrdup(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, ""); |
373 | |
374 | |
375 | |
376 | |
377 | l = : pass=0 = alias_matches : enter=0, leave=0 alias_matches : modules/mappers/mod_alias.c line=297 column=12 alias_matches(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri, p : modules/mappers/mod_alias.c line=345 column=22 p-> : enter=0, leave=0 ->fake : modules/mappers/mod_alias.c line=41 column=17 fake); |
378 | |
379 | if (l : modules/mappers/mod_alias.c line=346 column=13 l > : true=0, false=0 > 0) { |
380 | if (doesc : modules/mappers/mod_alias.c line=337 column=33 doesc) { |
381 | |
382 | escurl = : pass=0 = ap_os_escape_path : enter=0, leave=0 ap_os_escape_path : include/httpd.h line=1501 column=20 ap_os_escape_path(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri + : pass=0 + l : modules/mappers/mod_alias.c line=346 column=13 l, 1); |
383 | |
384 | found = : pass=0 = apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, p : modules/mappers/mod_alias.c line=345 column=22 p-> : enter=0, leave=0 ->real : modules/mappers/mod_alias.c line=40 column=17 real, escurl : modules/mappers/mod_alias.c line=381 column=27 escurl, NULL); |
385 | |
386 | |
387 | found = : pass=0 = apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, p : modules/mappers/mod_alias.c line=345 column=22 p-> : enter=0, leave=0 ->real : modules/mappers/mod_alias.c line=40 column=17 real, r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri + : pass=0 + l : modules/mappers/mod_alias.c line=346 column=13 l, NULL); |
388 | |
389 | |
390 | |
391 | if (found : modules/mappers/mod_alias.c line=341 column=11 found) { |
392 | if (p : modules/mappers/mod_alias.c line=345 column=22 p-> : enter=0, leave=0 ->handler : modules/mappers/mod_alias.c line=42 column=11 handler) { /* Set handler, and leave a note for mod_cgi */ |
393 | r-> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler = : enter=0, leave=0 = p : modules/mappers/mod_alias.c line=345 column=22 p-> : enter=0, leave=0 ->handler : modules/mappers/mod_alias.c line=42 column=11 handler; |
394 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->notes : include/httpd.h line=910 column=18 notes, "alias-forced-type", r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler); |
395 | |
396 | |
397 | |
398 | |
399 | |
400 | |
401 | if (! : true=0, false=0 !doesc : modules/mappers/mod_alias.c line=337 column=33 doesc) { |
402 | found = : pass=0 = ap_server_root_relative : enter=0, leave=0 ap_server_root_relative : include/http_config.h line=557 column=20 ap_server_root_relative(r : modules/mappers/mod_alias.c line=336 column=42 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, found : modules/mappers/mod_alias.c line=341 column=11 found); |
403 | |
404 | if (found : modules/mappers/mod_alias.c line=341 column=11 found) { |
405 | status = : enter=0, leave=0 = p : modules/mappers/mod_alias.c line=345 column=22 p-> : enter=0, leave=0 ->redir_status : modules/mappers/mod_alias.c line=44 column=9 redir_status; |
406 | |
407 | return found : modules/mappers/mod_alias.c line=341 column=11 found; |
408 | |
409 | |
410 | |
411 | |
412 | return NULL; |
413 | |
414 | |
415 | translate_alias_redir(request_rec *r) |
416 | |
417 | r-> : enter=0, leave=0 ->server : include/httpd.h line=784 column=17 server-> : enter=0, leave=0 ->module_config : include/httpd.h line=1207 column=30 module_config; |
418 | sconf, &alias_module : modules/mappers/mod_alias.c line=56 column=31 alias_module); |
419 | |
420 | |
421 | |
422 | if (r : modules/mappers/mod_alias.c line=415 column=47 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri[] : enter=0, leave=0 [0] != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '/' && : true=0, false=0 && r : modules/mappers/mod_alias.c line=415 column=47 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri[] : enter=0, leave=0 [0] != : true=0, false=0 MC/DC independently affect : true=0, false=0 != '\0') { |
423 | return DECLINED; |
424 | |
425 | |
426 | if ((ret : modules/mappers/mod_alias.c line=419 column=11 ret = : pass=0 = try_alias_list : enter=0, leave=0 try_alias_list : modules/mappers/mod_alias.c line=336 column=14 try_alias_list(r : modules/mappers/mod_alias.c line=415 column=47 r, serverconf : modules/mappers/mod_alias.c line=418 column=24 serverconf-> : enter=0, leave=0 ->redirects : modules/mappers/mod_alias.c line=49 column=25 redirects, 1, &status : modules/mappers/mod_alias.c line=420 column=9 status)) != : true=0, false=0 != NULL) { |
427 | if (ap_is_HTTP_REDIRECT(status : modules/mappers/mod_alias.c line=420 column=9 status)) { |
428 | ret; |
429 | if (ret : modules/mappers/mod_alias.c line=419 column=11 ret[] : enter=0, leave=0 [0] == : true=0, false=0 == '/') { |
430 | |
431 | ret = : pass=0 = ap_construct_url : enter=0, leave=0 ap_construct_url : include/http_core.h line=221 column=20 ap_construct_url(r : modules/mappers/mod_alias.c line=415 column=47 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, ret : modules/mappers/mod_alias.c line=419 column=11 ret, r : modules/mappers/mod_alias.c line=415 column=47 r); |
432 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r : modules/mappers/mod_alias.c line=415 column=47 r, |
433 | |
434 | |
435 | orig_target, r : modules/mappers/mod_alias.c line=415 column=47 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri, ret : modules/mappers/mod_alias.c line=419 column=11 ret); |
436 | |
437 | if (! : true=0, false=0 !ap_is_url : enter=0, leave=0 ap_is_url : include/httpd.h line=1448 column=17 ap_is_url(ret : modules/mappers/mod_alias.c line=419 column=11 ret)) { |
438 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/mappers/mod_alias.c line=415 column=47 r, |
439 | |
440 | |
441 | r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri, ret : modules/mappers/mod_alias.c line=419 column=11 ret); |
442 | |
443 | |
444 | |
445 | ret = : pass=0 = orig_target : modules/mappers/mod_alias.c line=428 column=19 orig_target; |
446 | |
447 | |
448 | |
449 | |
450 | if (r : modules/mappers/mod_alias.c line=415 column=47 rMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !ap_strchr(ret : modules/mappers/mod_alias.c line=419 column=11 ret, '?')) { |
451 | ret = : pass=0 = apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_alias.c line=415 column=47 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, ret : modules/mappers/mod_alias.c line=419 column=11 ret, "?", r : modules/mappers/mod_alias.c line=415 column=47 r-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args, NULL); |
452 | |
453 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(r : modules/mappers/mod_alias.c line=415 column=47 r-> : enter=0, leave=0 ->headers_out : include/httpd.h line=903 column=18 headers_out, "Location", ret : modules/mappers/mod_alias.c line=419 column=11 ret); |
454 | |
455 | return status : modules/mappers/mod_alias.c line=420 column=9 status; |
456 | |
457 | |
458 | if ((ret : modules/mappers/mod_alias.c line=419 column=11 ret = : pass=0 = try_alias_list : enter=0, leave=0 try_alias_list : modules/mappers/mod_alias.c line=336 column=14 try_alias_list(r : modules/mappers/mod_alias.c line=415 column=47 r, serverconf : modules/mappers/mod_alias.c line=418 column=24 serverconf-> : enter=0, leave=0 ->aliases : modules/mappers/mod_alias.c line=48 column=25 aliases, 0, &status : modules/mappers/mod_alias.c line=420 column=9 status)) != : true=0, false=0 != NULL) { |
459 | r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename = : enter=0, leave=0 = ret : modules/mappers/mod_alias.c line=419 column=11 ret; |
460 | return OK; |
461 | |
462 | |
463 | return DECLINED; |
464 | |
465 | |
466 | fixup_redir(request_rec *r) |
467 | |
468 | r-> : enter=0, leave=0 ->per_dir_config : include/httpd.h line=977 column=30 per_dir_config; |
469 | |
470 | dconf, &alias_module : modules/mappers/mod_alias.c line=56 column=31 alias_module); |
471 | |
472 | |
473 | |
474 | |
475 | |
476 | if ((ret : modules/mappers/mod_alias.c line=471 column=11 ret = : pass=0 = try_alias_list : enter=0, leave=0 try_alias_list : modules/mappers/mod_alias.c line=336 column=14 try_alias_list(r : modules/mappers/mod_alias.c line=466 column=37 r, dirconf : modules/mappers/mod_alias.c line=469 column=21 dirconf-> : enter=0, leave=0 ->redirects : modules/mappers/mod_alias.c line=53 column=25 redirects, 1, &status : modules/mappers/mod_alias.c line=472 column=9 status)) != : true=0, false=0 != NULL) { |
477 | if (ap_is_HTTP_REDIRECT(status : modules/mappers/mod_alias.c line=472 column=9 status)) { |
478 | if (ret : modules/mappers/mod_alias.c line=471 column=11 ret[] : enter=0, leave=0 [0] == : true=0, false=0 == '/') { |
479 | ret; |
480 | |
481 | ret = : pass=0 = ap_construct_url : enter=0, leave=0 ap_construct_url : include/http_core.h line=221 column=20 ap_construct_url(r : modules/mappers/mod_alias.c line=466 column=37 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, ret : modules/mappers/mod_alias.c line=471 column=11 ret, r : modules/mappers/mod_alias.c line=466 column=37 r); |
482 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r : modules/mappers/mod_alias.c line=466 column=37 r, |
483 | |
484 | |
485 | orig_target, r : modules/mappers/mod_alias.c line=466 column=37 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri, ret : modules/mappers/mod_alias.c line=471 column=11 ret); |
486 | |
487 | if (! : true=0, false=0 !ap_is_url : enter=0, leave=0 ap_is_url : include/httpd.h line=1448 column=17 ap_is_url(ret : modules/mappers/mod_alias.c line=471 column=11 ret)) { |
488 | status = : pass=0 = HTTP_INTERNAL_SERVER_ERROR; |
489 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/mappers/mod_alias.c line=466 column=37 r, |
490 | |
491 | |
492 | r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri, ret : modules/mappers/mod_alias.c line=471 column=11 ret); |
493 | |
494 | |
495 | |
496 | |
497 | |
498 | if (r : modules/mappers/mod_alias.c line=466 column=37 rMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args && : true=0, false=0 && ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !ap_strchr(ret : modules/mappers/mod_alias.c line=471 column=11 ret, '?')) { |
499 | ret = : pass=0 = apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_alias.c line=466 column=37 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, ret : modules/mappers/mod_alias.c line=471 column=11 ret, "?", r : modules/mappers/mod_alias.c line=466 column=37 r-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args, NULL); |
500 | |
501 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(r : modules/mappers/mod_alias.c line=466 column=37 r-> : enter=0, leave=0 ->headers_out : include/httpd.h line=903 column=18 headers_out, "Location", ret : modules/mappers/mod_alias.c line=471 column=11 ret); |
502 | |
503 | |
504 | return status : modules/mappers/mod_alias.c line=472 column=9 status; |
505 | |
506 | |
507 | return DECLINED; |
508 | |
509 | |
510 | register_hooks(apr_pool_t *p) |
511 | |
512 | |
513 | |
514 | |
515 | ap_hook_translate_name : modules/mappers/ translate_alias_redir,NULL,aszSucc : modules/mappers/mod_alias.c line=512 column=31 aszSucc,APR_HOOK_MIDDLE); |
516 | ap_hook_fixups : modules/mappers/ fixup_redir,NULL,NULL,APR_HOOK_MIDDLE); |
517 | |
518 | |
519 | |
520 | |
521 | |
522 | create_alias_dir_config, /* dir config creater */ |
523 | merge_alias_dir_config, /* dir merger --- default is to override */ |
524 | create_alias_config, /* server config */ |
525 | merge_alias_config, /* merge server configs */ |
526 | alias_cmds, /* command apr_table_t */ |
527 | register_hooks /* register hooks */ |
528 | |
529 |