expcov report - Generated Sat Oct 15 21:39:18 2016

 Index  Statistics  Last 
Directory./server
Filenamemain.c
ModifiedWed May 29 21:37:43 2013

Pass Half Fail Excluded Total
Function
3
42.86%
4
57.14%
0
0.00%
7
100%
Expressions
57
16.96%
279
83.04%
0
0.00%
336
100%
Conditions
0
0.00%
7
20.00%
28
80.00%
0
0.00%
35
100%
MC/DC
0
0.00%
2
100.00%
0
0.00%
2
100%
Branches

if
0
0.00%
6
16.67%
30
83.33%
0
0.00%
36
100%
for
0
0.00%
0
0.00%
1
100.00%
0
0.00%
1
100%
while
0
0.00%
1
100.00%
0
0.00%
0
0.00%
1
100%
case
0
0.00%
0
0.00%
18
100.00%
0
0.00%
18
100%

1/* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements.  See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License.  You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include "apr.h"
18#include "apr_strings.h"
19#include "apr_getopt.h"
20#include "apr_general.h"
21#include "apr_lib.h"
22#include "apr_md5.h"
23#include "apr_time.h"
24#include "apr_version.h"
25#include "apu_version.h"
26
27#define APR_WANT_STDIO
28#define APR_WANT_STRFUNC
29#include "apr_want.h"
30
31#define CORE_PRIVATE
32#include "ap_config.h"
33#include "httpd.h"
34#include "http_main.h"
35#include "http_log.h"
36#include "http_config.h"
37#include "http_core.h"
38#include "http_vhost.h"
39#include "apr_uri.h"
40#include "util_ebcdic.h"
41#include "ap_mpm.h"
42#include "mpm_common.h"
43
44/* WARNING: Win32 binds http_main.c dynamically to the server. Please place
45 *          extern functions and global data in another appropriate module.
46 *
47 * Most significant main() global data can be found in http_config.c
48 */
49
50static void show_mpm_settings : call=0
s
how_mpm_settings(void)
51{
52    int mpm_query_info;
53    apr_status_t retval;
54
55    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("Server MPM:     %s\n", ap_show_mpm : enter=0, leave=0

ap_show_mpm : include/http_config.h line=794 column=26
a
p_show_mpm());
56
57    retval : server/main.c line=53 column=18
r
etval = : pass=0
=
 ap_mpm_query : enter=0, leave=0

ap_mpm_query : include/ap_mpm.h line=161 column=26
a
p_mpm_query(AP_MPMQ_IS_THREADED, &mpm_query_info : server/main.c line=52 column=9
m
pm_query_info);
58
59    if : true=0, false=0
i
f (retval : server/main.c line=53 column=18
r
etval == : true=0, false=0
=
= APR_SUCCESS) {
60        printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("  threaded:     ");
61
62        if : true=0, false=0
i
f (mpm_query_info : server/main.c line=52 column=9
m
pm_query_info == : true=0, false=0
=
= AP_MPMQ_DYNAMIC) {
63            printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("yes (variable thread count)\n");
64        }
65        else if : true=0, false=0
i
f (mpm_query_info : server/main.c line=52 column=9
m
pm_query_info == : true=0, false=0
=
= AP_MPMQ_STATIC) {
66            printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("yes (fixed thread count)\n");
67        }
68        else {
69            printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("no\n");
70        }
71    }
72
73    retval : server/main.c line=53 column=18
r
etval = : pass=0
=
 ap_mpm_query : enter=0, leave=0

ap_mpm_query : include/ap_mpm.h line=161 column=26
a
p_mpm_query(AP_MPMQ_IS_FORKED, &mpm_query_info : server/main.c line=52 column=9
m
pm_query_info);
74
75    if : true=0, false=0
i
f (retval : server/main.c line=53 column=18
r
etval == : true=0, false=0
=
= APR_SUCCESS) {
76        printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("    forked:     ");
77
78        if : true=0, false=0
i
f (mpm_query_info : server/main.c line=52 column=9
m
pm_query_info == : true=0, false=0
=
= AP_MPMQ_DYNAMIC) {
79            printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("yes (variable process count)\n");
80        }
81        else if : true=0, false=0
i
f (mpm_query_info : server/main.c line=52 column=9
m
pm_query_info == : true=0, false=0
=
= AP_MPMQ_STATIC) {
82            printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("yes (fixed process count)\n");
83        }
84        else {
85            printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("no\n");
86        }
87    }
88}
89
90static void show_compile_settings : call=0
s
how_compile_settings(void)
91{
92    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("Server version: %s\n", ap_get_server_description : enter=0, leave=0

ap_get_server_description : include/httpd.h line=454 column=26
a
p_get_server_description());
93    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("Server built:   %s\n", ap_get_server_built : enter=0, leave=0

ap_get_server_built : include/httpd.h line=469 column=26
a
p_get_server_built());
94    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("Server's Module Magic Number: %u:%u\n",
95           MODULE_MAGIC_NUMBER_MAJOR, MODULE_MAGIC_NUMBER_MINOR);
96    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("Server loaded:  APR %s, APR-Util %s\n",
97           apr_version_string : enter=0, leave=0

apr_version_string : /usr/include/apr-1/apr_version.h line=151 column=27
a
pr_version_string(), apu_version_string : enter=0, leave=0

apu_version_string : /usr/include/apr-1/apu_version.h line=126 column=27
a
pu_version_string());
98    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("Compiled using: APR %s, APR-Util %s\n",
99           APR_VERSION_STRING, APU_VERSION_STRING);
100    /* sizeof(foo) is long on some platforms so we might as well
101     * make it long everywhere to keep the printf format
102     * consistent
103     */
104    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("Architecture:   %ld-bit\n", 8 * : pass=0
*
 (long)sizeof(void *));
105
106    show_mpm_settings : enter=0, leave=0

show_mpm_settings : server/main.c line=50 column=13
s
how_mpm_settings();
107
108    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("Server compiled with....\n");
109#ifdef BIG_SECURITY_HOLE
110    printf(" -D BIG_SECURITY_HOLE\n");
111#endif
112
113#ifdef SECURITY_HOLE_PASS_AUTHORIZATION
114    printf(" -D SECURITY_HOLE_PASS_AUTHORIZATION\n");
115#endif
116
117#ifdef OS
118    printf(" -D OS=\"" OS "\"\n");
119#endif
120
121#ifdef APACHE_MPM_DIR
122    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D APACHE_MPM_DIR=\"" APACHE_MPM_DIR "\"\n");
123#endif
124
125#ifdef HAVE_SHMGET
126    printf(" -D HAVE_SHMGET\n");
127#endif
128
129#if APR_FILE_BASED_SHM
130    printf(" -D APR_FILE_BASED_SHM\n");
131#endif
132
133#if APR_HAS_SENDFILE
134    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D APR_HAS_SENDFILE\n");
135#endif
136
137#if APR_HAS_MMAP
138    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D APR_HAS_MMAP\n");
139#endif
140
141#ifdef NO_WRITEV
142    printf(" -D NO_WRITEV\n");
143#endif
144
145#ifdef NO_LINGCLOSE
146    printf(" -D NO_LINGCLOSE\n");
147#endif
148
149#if APR_HAVE_IPV6
150    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D APR_HAVE_IPV6 (IPv4-mapped addresses ");
151#ifdef AP_ENABLE_V4_MAPPED
152    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("enabled)\n");
153#else
154    printf("disabled)\n");
155#endif
156#endif
157
158#if APR_USE_FLOCK_SERIALIZE
159    printf(" -D APR_USE_FLOCK_SERIALIZE\n");
160#endif
161
162#if APR_USE_SYSVSEM_SERIALIZE
163    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D APR_USE_SYSVSEM_SERIALIZE\n");
164#endif
165
166#if APR_USE_POSIXSEM_SERIALIZE
167    printf(" -D APR_USE_POSIXSEM_SERIALIZE\n");
168#endif
169
170#if APR_USE_FCNTL_SERIALIZE
171    printf(" -D APR_USE_FCNTL_SERIALIZE\n");
172#endif
173
174#if APR_USE_PROC_PTHREAD_SERIALIZE
175    printf(" -D APR_USE_PROC_PTHREAD_SERIALIZE\n");
176#endif
177
178#if APR_USE_PTHREAD_SERIALIZE
179    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D APR_USE_PTHREAD_SERIALIZE\n");
180#endif
181
182#if APR_PROCESS_LOCK_IS_GLOBAL
183    printf(" -D APR_PROCESS_LOCK_IS_GLOBAL\n");
184#endif
185
186#ifdef SINGLE_LISTEN_UNSERIALIZED_ACCEPT
187    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT\n");
188#endif
189
190#if APR_HAS_OTHER_CHILD
191    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D APR_HAS_OTHER_CHILD\n");
192#endif
193
194#ifdef AP_HAVE_RELIABLE_PIPED_LOGS
195    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D AP_HAVE_RELIABLE_PIPED_LOGS\n");
196#endif
197
198#ifdef BUFFERED_LOGS
199    printf(" -D BUFFERED_LOGS\n");
200#ifdef PIPE_BUF
201    printf(" -D PIPE_BUF=%ld\n",(long)PIPE_BUF);
202#endif
203#endif
204
205    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D DYNAMIC_MODULE_LIMIT=%ld\n",(long)DYNAMIC_MODULE_LIMIT);
206
207#if APR_CHARSET_EBCDIC
208    printf(" -D APR_CHARSET_EBCDIC\n");
209#endif
210
211#ifdef NEED_HASHBANG_EMUL
212    printf(" -D NEED_HASHBANG_EMUL\n");
213#endif
214
215#ifdef SHARED_CORE
216    printf(" -D SHARED_CORE\n");
217#endif
218
219/* This list displays the compiled in default paths: */
220#ifdef HTTPD_ROOT
221    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D HTTPD_ROOT=\"" HTTPD_ROOT "\"\n");
222#endif
223
224#ifdef SUEXEC_BIN
225    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D SUEXEC_BIN=\"" SUEXEC_BIN "\"\n");
226#endif
227
228#if defined(SHARED_CORE) && defined(SHARED_CORE_DIR)
229    printf(" -D SHARED_CORE_DIR=\"" SHARED_CORE_DIR "\"\n");
230#endif
231
232#ifdef DEFAULT_PIDLOG
233    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D DEFAULT_PIDLOG=\"" DEFAULT_PIDLOG "\"\n");
234#endif
235
236#ifdef DEFAULT_SCOREBOARD
237    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D DEFAULT_SCOREBOARD=\"" DEFAULT_SCOREBOARD "\"\n");
238#endif
239
240#ifdef DEFAULT_LOCKFILE
241    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D DEFAULT_LOCKFILE=\"" DEFAULT_LOCKFILE "\"\n");
242#endif
243
244#ifdef DEFAULT_ERRORLOG
245    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D DEFAULT_ERRORLOG=\"" DEFAULT_ERRORLOG "\"\n");
246#endif
247
248#ifdef AP_TYPES_CONFIG_FILE
249    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D AP_TYPES_CONFIG_FILE=\"" AP_TYPES_CONFIG_FILE "\"\n");
250#endif
251
252#ifdef SERVER_CONFIG_FILE
253    printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf(" -D SERVER_CONFIG_FILE=\"" SERVER_CONFIG_FILE "\"\n");
254#endif
255}
256
257#define TASK_SWITCH_SLEEP 10000
258
259static void destroy_and_exit_process : call=1
d
estroy_and_exit_process(process_rec *process,
260                                     int process_exit_value)
261{
262    /*
263     * Sleep for TASK_SWITCH_SLEEP micro seconds to cause a task switch on
264     * OS layer and thus give possibly started piped loggers a chance to
265     * process their input. Otherwise it is possible that they get killed
266     * by us before they can do so. In this case maybe valueable log messages
267     * might get lost.
268     */
269    apr_sleep : enter=1, leave=1

apr_sleep : /usr/include/apr-1/apr_time.h line=178 column=19
a
pr_sleep(TASK_SWITCH_SLEEP);
270    apr_pool_destroy : enter=1, leave=1

apr_pool_destroy : /usr/include/apr-1/apr_pools.h line=385 column=19
a
pr_pool_destroy(process : server/main.c line=259 column=51
p
rocess-> : enter=1, leave=1
-
>pool : include/httpd.h line=764 column=17
p
ool); /* and destroy all descendent pools */
271    apr_terminate : enter=1, leave=1

apr_terminate : /usr/include/apr-1/apr_general.h line=203 column=26
a
pr_terminate();
272    exit : enter=1, leave=0

exit : /usr/include/stdlib.h line=544 column=13
e
xit(process_exit_value : server/main.c line=260 column=42
p
rocess_exit_value);
273}
274
275static process_rec *init_process : call=1
i
nit_process(int *argc, const char * const * *argv)
276{
277    process_rec *process;
278    apr_pool_t *cntx;
279    apr_status_t stat;
280    const char *failed = "apr_app_initialize()";
281
282    stat : server/main.c line=279 column=18
s
tat = : pass=1
=
 apr_app_initialize : enter=1, leave=1

apr_app_initialize : /usr/include/apr-1/apr_general.h line=190 column=27
a
pr_app_initialize(argc : server/main.c line=275 column=39
a
rgc, argv : server/main.c line=275 column=67
a
rgv, NULL);
283    if : true=1, false=0
i
f (stat : server/main.c line=279 column=18
s
tat == : true=1, false=0
=
= APR_SUCCESS) {
284        failed : server/main.c line=280 column=17
f
ailed = : pass=1
=
 "apr_pool_create()";
285        stat : server/main.c line=279 column=18
s
tat = : pass=1
=
 apr_pool_create(&cntx : server/main.c line=278 column=17
c
ntx, NULL);
286    }
287
288    if : true=0, false=1
i
f (stat : server/main.c line=279 column=18
s
tat != : true=0, false=1
!
= APR_SUCCESS) {
289        /* For all intents and purposes, this is impossibly unlikely,
290         * but APR doesn't exist yet, we can't use it for reporting
291         * these earliest two failures;
292         */
293        char ctimebuff[APR_CTIME_LEN];
294        apr_ctime : enter=0, leave=0

apr_ctime : /usr/include/apr-1/apr_time.h line=204 column=27
a
pr_ctime(ctimebuff : server/main.c line=293 column=14
c
timebuff, apr_time_now : enter=0, leave=0

apr_time_now : /usr/include/apr-1/apr_time.h line=85 column=25
a
pr_time_now());
295        fprintf : enter=0, leave=0

fprintf : /usr/include/stdio.h line=355 column=12
f
printf(stderr, "[%s] [crit] (%d) %s: %s failed "
296                        "to initial context, exiting\n", 
297                        ctimebuff : server/main.c line=293 column=14
c
timebuff, stat : server/main.c line=279 column=18
s
tat, (* dereference : enter=0, leave=0
*
argv : server/main.c line=275 column=67
a
rgv)[] : enter=0, leave=0
[
0], failed : server/main.c line=280 column=17
f
ailed);
298        apr_terminate : enter=0, leave=0

apr_terminate : /usr/include/apr-1/apr_general.h line=203 column=26
a
pr_terminate();
299        exit : enter=0, leave=0

exit : /usr/include/stdlib.h line=544 column=13
e
xit(1);
300    }
301
302    apr_pool_tag : enter=1, leave=1

apr_pool_tag : /usr/include/apr-1/apr_pools.h line=513 column=19
a
pr_pool_tag(cntx : server/main.c line=278 column=17
c
ntx, "process");
303    ap_open_stderr_log : enter=1, leave=1

ap_open_stderr_log : include/http_log.h line=102 column=18
a
p_open_stderr_log(cntx : server/main.c line=278 column=17
c
ntx);
304
305    /* Now we have initialized apr and our logger, no more
306     * exceptional error reporting required for the lifetime
307     * of this server process.
308     */
309
310    process : server/main.c line=277 column=18
p
rocess = : pass=1
=
 apr_palloc : enter=1, leave=1

apr_palloc : /usr/include/apr-1/apr_pools.h line=419 column=21
a
pr_palloc(cntx : server/main.c line=278 column=17
c
ntx, sizeof(process_rec));
311    process : server/main.c line=277 column=18
p
rocess-> : enter=1, leave=1
-
>pool : include/httpd.h line=764 column=17
p
ool = : enter=1, leave=1
=
 cntx : server/main.c line=278 column=17
c
ntx;
312
313    apr_pool_create(&process : server/main.c line=277 column=18
p
rocess-> : enter=1, leave=1
-
>pconf : include/httpd.h line=766 column=17
p
conf, process : server/main.c line=277 column=18
p
rocess-> : enter=1, leave=1
-
>pool : include/httpd.h line=764 column=17
p
ool);
314    apr_pool_tag : enter=1, leave=1

apr_pool_tag : /usr/include/apr-1/apr_pools.h line=513 column=19
a
pr_pool_tag(process : server/main.c line=277 column=18
p
rocess-> : enter=1, leave=1
-
>pconf : include/httpd.h line=766 column=17
p
conf, "pconf");
315    process : server/main.c line=277 column=18
p
rocess-> : enter=1, leave=1
-
>argc : include/httpd.h line=768 column=9
a
rgc = : enter=1, leave=1
=
 * dereference : enter=1, leave=1
*
argc : server/main.c line=275 column=39
a
rgc;
316    process : server/main.c line=277 column=18
p
rocess-> : enter=1, leave=1
-
>argv : include/httpd.h line=770 column=25
a
rgv = : enter=1, leave=1
=
 * dereference : enter=1, leave=1
*
argv : server/main.c line=275 column=67
a
rgv;
317    process : server/main.c line=277 column=18
p
rocess-> : enter=1, leave=1
-
>short_name : include/httpd.h line=772 column=17
s
hort_name = : enter=1, leave=1
=
 apr_filepath_name_get : enter=1, leave=1

apr_filepath_name_get : /usr/include/apr-1/apr_lib.h line=84 column=27
a
pr_filepath_name_get((* dereference : enter=1, leave=1
*
argv : server/main.c line=275 column=67
a
rgv)[] : enter=1, leave=1
[
0]);
318    return : pass=1
r
eturn process : server/main.c line=277 column=18
p
rocess;
319}
320
321static void usage : call=0
u
sage(process_rec *process)
322{
323    const char *bin = process : server/main.c line=321 column=32
p
rocess-> : enter=0, leave=0
-
>argv : include/httpd.h line=770 column=25
a
rgv[] : enter=0, leave=0
[
0];
324    int pad_len = strlen : enter=0, leave=0

strlen : /usr/include/string.h line=399 column=15
s
trlen(bin : server/main.c line=323 column=17
b
in);
325
326#ifdef SHARED_CORE
327    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL ,
328                 "Usage: %s [-R directory] [-D name] [-d directory] [-f file]",
329                 bin);
330#else
331    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
332                 "Usage: %s [-D name] [-d directory] [-f file]", bin : server/main.c line=323 column=17
b
in);
333#endif
334
335    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
336                 "       %*s [-C \"directive\"] [-c \"directive\"]", pad_len : server/main.c line=324 column=9
p
ad_len, " ");
337
338#ifdef WIN32
339    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
340                 "       %*s [-w] [-k start|restart|stop|shutdown]", pad_len, " ");
341    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
342                 "       %*s [-k install|config|uninstall] [-n service_name]",
343                 pad_len, " ");
344#endif
345#ifdef AP_MPM_WANT_SIGNAL_SERVER
346#ifdef AP_MPM_WANT_SET_GRACEFUL_SHUTDOWN
347    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
348                 "       %*s [-k start|restart|graceful|graceful-stop|stop]",
349                 pad_len : server/main.c line=324 column=9
p
ad_len, " ");
350#else
351    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
352                 "       %*s [-k start|restart|graceful|stop]", pad_len, " ");
353#endif /* AP_MPM_WANT_SET_GRACEFUL_SHUTDOWN */
354#endif
355    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
356                 "       %*s [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S]",
357                 pad_len : server/main.c line=324 column=9
p
ad_len, " ");
358    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
359                 "Options:");
360
361#ifdef SHARED_CORE
362    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
363                 "  -R directory       : specify an alternate location for "
364                 "shared object files");
365#endif
366
367    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
368                 "  -D name            : define a name for use in "
369                 "<IfDefine name> directives");
370    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
371                 "  -d directory       : specify an alternate initial "
372                 "ServerRoot");
373    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
374                 "  -f file            : specify an alternate ServerConfigFile");
375    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
376                 "  -C \"directive\"     : process directive before reading "
377                 "config files");
378    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
379                 "  -c \"directive\"     : process directive after reading "
380                 "config files");
381
382#ifdef NETWARE
383    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
384                 "  -n name            : set screen name");
385#endif
386#ifdef WIN32
387    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
388                 "  -n name            : set service name and use its "
389                 "ServerConfigFile");
390    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
391                 "  -k start           : tell Apache to start");
392    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
393                 "  -k restart         : tell running Apache to do a graceful "
394                 "restart");
395    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
396                 "  -k stop|shutdown   : tell running Apache to shutdown");
397    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
398                 "  -k install         : install an Apache service");
399    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
400                 "  -k config          : change startup Options of an Apache "
401                 "service");
402    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
403                 "  -k uninstall       : uninstall an Apache service");
404    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
405                 "  -w                 : hold open the console window on error");
406#endif
407
408    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
409                 "  -e level           : show startup errors of level "
410                 "(see LogLevel)");
411    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
412                 "  -E file            : log startup errors to file");
413    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
414                 "  -v                 : show version number");
415    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
416                 "  -V                 : show compile settings");
417    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
418                 "  -h                 : list available command line options "
419                 "(this page)");
420    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
421                 "  -l                 : list compiled in modules");
422    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
423                 "  -L                 : list available configuration "
424                 "directives");
425    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
426                 "  -t -D DUMP_VHOSTS  : show parsed settings (currently only "
427                 "vhost settings)");
428    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
429                 "  -S                 : a synonym for -t -D DUMP_VHOSTS");
430    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
431                 "  -t -D DUMP_MODULES : show all loaded modules ");
432    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
433                 "  -M                 : a synonym for -t -D DUMP_MODULES");
434    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
435                 "  -t                 : run syntax check for config files");
436    ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
437                "  -T                 : start without DocumentRoot(s) check");
438
439    destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=321 column=32
p
rocess, 1);
440}
441
442int main : call=1
m
ain(int argc, const char * const argv[])
443{
444    char c;
445    int configtestonly = 0;
446    const char *confname = SERVER_CONFIG_FILE;
447    const char *def_server_root = HTTPD_ROOT;
448    const char *temp_error_log = NULL;
449    const char *error;
450    process_rec *process;
451    server_rec *server_conf;
452    apr_pool_t *pglobal;
453    apr_pool_t *pconf;
454    apr_pool_t *plog; /* Pool of log streams, reset _after_ each read of conf */
455    apr_pool_t *ptemp; /* Pool for temporary config stuff, reset often */
456    apr_pool_t *pcommands; /* Pool for -D, -C and -c switches */
457    apr_getopt_t *opt;
458    apr_status_t rv;
459    module **mod;
460    const char *optarg;
461    APR_OPTIONAL_FN_TYPE(ap_signal_server) *signal_server;
462
463    AP_MONCONTROL(0); /* turn off profiling of startup */
464
465    process : server/main.c line=450 column=18
p
rocess = : pass=1
=
 init_process : enter=1, leave=1

init_process : server/main.c line=275 column=21
i
nit_process(&argc : server/main.c line=442 column=14
a
rgc, &argv : server/main.c line=442 column=39
a
rgv);
466    pglobal : server/main.c line=452 column=17
p
global = : pass=1
=
 process : server/main.c line=450 column=18
p
rocess-> : enter=1, leave=1
-
>pool : include/httpd.h line=764 column=17
p
ool;
467    pconf : server/main.c line=453 column=17
p
conf = : pass=1
=
 process : server/main.c line=450 column=18
p
rocess-> : enter=1, leave=1
-
>pconf : include/httpd.h line=766 column=17
p
conf;
468    ap_server_argv0 : include/http_main.h line=42 column=36 ap_server_argv0 = : pass=1
=
 process : server/main.c line=450 column=18
p
rocess-> : enter=1, leave=1
-
>short_name : include/httpd.h line=772 column=17
s
hort_name;
469
470#if APR_CHARSET_EBCDIC
471    if (ap_init_ebcdic(pglobal) != APR_SUCCESS) {
472        destroy_and_exit_process(process, 1);
473    }
474#endif
475
476    apr_pool_create(&pcommands : server/main.c line=456 column=17
p
commands, pglobal : server/main.c line=452 column=17
p
global);
477    apr_pool_tag : enter=1, leave=1

apr_pool_tag : /usr/include/apr-1/apr_pools.h line=513 column=19
a
pr_pool_tag(pcommands : server/main.c line=456 column=17
p
commands, "pcommands");
478    ap_server_pre_read_config : include/http_main.h line=49 column=44 ap_server_pre_read_config  = : pass=1
=
 apr_array_make : enter=1, leave=1

apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35
a
pr_array_make(pcommands : server/main.c line=456 column=17
p
commands, 1, sizeof(char *));
479    ap_server_post_read_config : include/http_main.h line=52 column=44 ap_server_post_read_config = : pass=1
=
 apr_array_make : enter=1, leave=1

apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35
a
pr_array_make(pcommands : server/main.c line=456 column=17
p
commands, 1, sizeof(char *));
480    ap_server_config_defines : include/http_main.h line=55 column=44 ap_server_config_defines   = : pass=1
=
 apr_array_make : enter=1, leave=1

apr_array_make : /usr/include/apr-1/apr_tables.h line=111 column=35
a
pr_array_make(pcommands : server/main.c line=456 column=17
p
commands, 1, sizeof(char *));
481
482    error : server/main.c line=449 column=17
e
rror = : pass=1
=
 ap_setup_prelinked_modules : enter=1, leave=1

ap_setup_prelinked_modules : include/http_config.h line=776 column=26
a
p_setup_prelinked_modules(process : server/main.c line=450 column=18
p
rocess);
483    if : true=0, false=1
i
f (error : server/main.c line=449 column=17
e
rror) {
484        ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP| : pass=0
|
APLOG_EMERG, 0, NULL, "%s: %s",
485                     ap_server_argv0 : include/http_main.h line=42 column=36 ap_server_argv0, error : server/main.c line=449 column=17
e
rror);
486        destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
487    }
488
489    ap_run_rewrite_args : enter=1, leave=1

ap_run_rewrite_args : include/http_config.h line=813 column=18
a
p_run_rewrite_args(process : server/main.c line=450 column=18
p
rocess);
490
491    /* Maintain AP_SERVER_BASEARGS list in http_main.h to allow the MPM
492     * to safely pass on our args from its rewrite_args() handler.
493     */
494    apr_getopt_init : enter=1, leave=1

apr_getopt_init : /usr/include/apr-1/apr_getopt.h line=103 column=27
a
pr_getopt_init(&opt : server/main.c line=457 column=19
o
pt, pcommands : server/main.c line=456 column=17
p
commands, process : server/main.c line=450 column=18
p
rocess-> : enter=1, leave=1
-
>argc : include/httpd.h line=768 column=9
a
rgc, process : server/main.c line=450 column=18
p
rocess-> : enter=1, leave=1
-
>argv : include/httpd.h line=770 column=25
a
rgv);
495
496    while : true=0, false=1
w
hile ((rv : server/main.c line=458 column=18
r
= : pass=1
=
 apr_getopt : enter=1, leave=1

apr_getopt : /usr/include/apr-1/apr_getopt.h line=122 column=27
a
pr_getopt(opt : server/main.c line=457 column=19
o
pt, AP_SERVER_BASEARGS, &c : server/main.c line=444 column=10
c
, &optarg : server/main.c line=460 column=17
o
ptarg))
497            == : true=0, false=1
=
= APR_SUCCESS) {
498        char **new;
499
500        switch : pass=0
s
witch (c : server/main.c line=444 column=10
c
) {
501        case : true=0, false=0
c
ase 'c':
502            new : server/main.c line=498 column=16
n
ew = : pass=0
=
 (char **)apr_array_push : enter=0, leave=0

apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21
a
pr_array_push(ap_server_post_read_config : include/http_main.h line=52 column=44 ap_server_post_read_config);
503            *new : server/main.c line=498 column=16
n
ew = : enter=0, leave=0
=
 apr_pstrdup : enter=0, leave=0

apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21
a
pr_pstrdup(pcommands : server/main.c line=456 column=17
p
commands, optarg : server/main.c line=460 column=17
o
ptarg);
504            break : pass=0
b
reak;
505
506        case : true=0, false=0
c
ase 'C':
507            new : server/main.c line=498 column=16
n
ew = : pass=0
=
 (char **)apr_array_push : enter=0, leave=0

apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21
a
pr_array_push(ap_server_pre_read_config : include/http_main.h line=49 column=44 ap_server_pre_read_config);
508            *new : server/main.c line=498 column=16
n
ew = : enter=0, leave=0
=
 apr_pstrdup : enter=0, leave=0

apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21
a
pr_pstrdup(pcommands : server/main.c line=456 column=17
p
commands, optarg : server/main.c line=460 column=17
o
ptarg);
509            break : pass=0
b
reak;
510
511        case : true=0, false=0
c
ase 'd':
512            def_server_root : server/main.c line=447 column=17
d
ef_server_root = : pass=0
=
 optarg : server/main.c line=460 column=17
o
ptarg;
513            break : pass=0
b
reak;
514
515        case : true=0, false=0
c
ase 'D':
516            new : server/main.c line=498 column=16
n
ew = : pass=0
=
 (char **)apr_array_push : enter=0, leave=0

apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21
a
pr_array_push(ap_server_config_defines : include/http_main.h line=55 column=44 ap_server_config_defines);
517            *new : server/main.c line=498 column=16
n
ew = : enter=0, leave=0
=
 apr_pstrdup : enter=0, leave=0

apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21
a
pr_pstrdup(pcommands : server/main.c line=456 column=17
p
commands, optarg : server/main.c line=460 column=17
o
ptarg);
518            /* Setting -D DUMP_VHOSTS is equivalent to setting -S */
519            if : true=0, false=0
i
f (strcmp : enter=0, leave=0

strcmp : /usr/include/string.h line=143 column=12
s
trcmp(optarg : server/main.c line=460 column=17
o
ptarg, "DUMP_VHOSTS") == : true=0, false=0
=
= 0)
520                configtestonly : server/main.c line=445 column=9
c
onfigtestonly = : pass=0
=
 1;
521            /* Setting -D DUMP_MODULES is equivalent to setting -M */
522            if : true=0, false=0
i
f (strcmp : enter=0, leave=0

strcmp : /usr/include/string.h line=143 column=12
s
trcmp(optarg : server/main.c line=460 column=17
o
ptarg, "DUMP_MODULES") == : true=0, false=0
=
= 0)
523                configtestonly : server/main.c line=445 column=9
c
onfigtestonly = : pass=0
=
 1;
524            break : pass=0
b
reak;
525
526        case : true=0, false=0
c
ase 'e':
527            if : true=0, false=0
i
f (strcasecmp : enter=0, leave=0

strcasecmp : /usr/include/string.h line=536 column=12
s
trcasecmp(optarg : server/main.c line=460 column=17
o
ptarg, "emerg") == : true=0, false=0
=
= 0) {
528                ap_default_loglevel : include/http_log.h line=94 column=28
a
p_default_loglevel = : pass=0
=
 APLOG_EMERG;
529            }
530            else if : true=0, false=0
i
f (strcasecmp : enter=0, leave=0

strcasecmp : /usr/include/string.h line=536 column=12
s
trcasecmp(optarg : server/main.c line=460 column=17
o
ptarg, "alert") == : true=0, false=0
=
= 0) {
531                ap_default_loglevel : include/http_log.h line=94 column=28
a
p_default_loglevel = : pass=0
=
 APLOG_ALERT;
532            }
533            else if : true=0, false=0
i
f (strcasecmp : enter=0, leave=0

strcasecmp : /usr/include/string.h line=536 column=12
s
trcasecmp(optarg : server/main.c line=460 column=17
o
ptarg, "crit") == : true=0, false=0
=
= 0) {
534                ap_default_loglevel : include/http_log.h line=94 column=28
a
p_default_loglevel = : pass=0
=
 APLOG_CRIT;
535            }
536            else if : true=0, false=0
i
f (strncasecmp : enter=0, leave=0

strncasecmp : /usr/include/string.h line=540 column=12
s
trncasecmp(optarg : server/main.c line=460 column=17
o
ptarg, "err", 3) == : true=0, false=0
=
= 0) {
537                ap_default_loglevel : include/http_log.h line=94 column=28
a
p_default_loglevel = : pass=0
=
 APLOG_ERR;
538            }
539            else if : true=0, false=0
i
f (strncasecmp : enter=0, leave=0

strncasecmp : /usr/include/string.h line=540 column=12
s
trncasecmp(optarg : server/main.c line=460 column=17
o
ptarg, "warn", 4) == : true=0, false=0
=
= 0) {
540                ap_default_loglevel : include/http_log.h line=94 column=28
a
p_default_loglevel = : pass=0
=
 APLOG_WARNING;
541            }
542            else if : true=0, false=0
i
f (strcasecmp : enter=0, leave=0

strcasecmp : /usr/include/string.h line=536 column=12
s
trcasecmp(optarg : server/main.c line=460 column=17
o
ptarg, "notice") == : true=0, false=0
=
= 0) {
543                ap_default_loglevel : include/http_log.h line=94 column=28
a
p_default_loglevel = : pass=0
=
 APLOG_NOTICE;
544            }
545            else if : true=0, false=0
i
f (strcasecmp : enter=0, leave=0

strcasecmp : /usr/include/string.h line=536 column=12
s
trcasecmp(optarg : server/main.c line=460 column=17
o
ptarg, "info") == : true=0, false=0
=
= 0) {
546                ap_default_loglevel : include/http_log.h line=94 column=28
a
p_default_loglevel = : pass=0
=
 APLOG_INFO;
547            }
548            else if : true=0, false=0
i
f (strcasecmp : enter=0, leave=0

strcasecmp : /usr/include/string.h line=536 column=12
s
trcasecmp(optarg : server/main.c line=460 column=17
o
ptarg, "debug") == : true=0, false=0
=
= 0) {
549                ap_default_loglevel : include/http_log.h line=94 column=28
a
p_default_loglevel = : pass=0
=
 APLOG_DEBUG;
550            }
551            else {
552                usage : enter=0, leave=0

usage : server/main.c line=321 column=13
u
sage(process : server/main.c line=450 column=18
p
rocess);
553            }
554            break : pass=0
b
reak;
555
556        case : true=0, false=0
c
ase 'E':
557            temp_error_log : server/main.c line=448 column=17
t
emp_error_log = : pass=0
=
 apr_pstrdup : enter=0, leave=0

apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21
a
pr_pstrdup(process : server/main.c line=450 column=18
p
rocess-> : enter=0, leave=0
-
>pool : include/httpd.h line=764 column=17
p
ool, optarg : server/main.c line=460 column=17
o
ptarg);
558            break : pass=0
b
reak;
559
560        case : true=0, false=0
c
ase 'X':
561            new : server/main.c line=498 column=16
n
ew = : pass=0
=
 (char **)apr_array_push : enter=0, leave=0

apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21
a
pr_array_push(ap_server_config_defines : include/http_main.h line=55 column=44 ap_server_config_defines);
562            *new : server/main.c line=498 column=16
n
ew = : enter=0, leave=0
=
 "DEBUG";
563            break : pass=0
b
reak;
564
565        case : true=0, false=0
c
ase 'f':
566            confname : server/main.c line=446 column=17
c
onfname = : pass=0
=
 optarg : server/main.c line=460 column=17
o
ptarg;
567            break : pass=0
b
reak;
568
569        case : true=0, false=0
c
ase 'v':
570            printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("Server version: %s\n", ap_get_server_description : enter=0, leave=0

ap_get_server_description : include/httpd.h line=454 column=26
a
p_get_server_description());
571            printf : enter=0, leave=0

printf : /usr/include/stdio.h line=361 column=12
p
rintf("Server built:   %s\n", ap_get_server_built : enter=0, leave=0

ap_get_server_built : include/httpd.h line=469 column=26
a
p_get_server_built());
572            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 0);
573
574        case : true=0, false=0
c
ase 'V':
575            show_compile_settings : enter=0, leave=0

show_compile_settings : server/main.c line=90 column=13
s
how_compile_settings();
576            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 0);
577
578        case : true=0, false=0
c
ase 'l':
579            ap_show_modules : enter=0, leave=0

ap_show_modules : include/http_config.h line=788 column=18
a
p_show_modules();
580            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 0);
581
582        case : true=0, false=0
c
ase 'L':
583            ap_show_directives : enter=0, leave=0

ap_show_directives : include/http_config.h line=783 column=18
a
p_show_directives();
584            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 0);
585
586        case : true=0, false=0
c
ase 't':
587            configtestonly : server/main.c line=445 column=9
c
onfigtestonly = : pass=0
=
 1;
588            break : pass=0
b
reak;
589
590       case : true=0, false=0
c
ase 'T':
591           ap_document_root_check : include/http_main.h line=57 column=28 ap_document_root_check = : pass=0
=
 0;
592           break : pass=0
b
reak;
593
594        case : true=0, false=0
c
ase 'S':
595            configtestonly : server/main.c line=445 column=9
c
onfigtestonly = : pass=0
=
 1;
596            new : server/main.c line=498 column=16
n
ew = : pass=0
=
 (char **)apr_array_push : enter=0, leave=0

apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21
a
pr_array_push(ap_server_config_defines : include/http_main.h line=55 column=44 ap_server_config_defines);
597            *new : server/main.c line=498 column=16
n
ew = : enter=0, leave=0
=
 "DUMP_VHOSTS";
598            break : pass=0
b
reak;
599
600        case : true=0, false=0
c
ase 'M':
601            configtestonly : server/main.c line=445 column=9
c
onfigtestonly = : pass=0
=
 1;
602            new : server/main.c line=498 column=16
n
ew = : pass=0
=
 (char **)apr_array_push : enter=0, leave=0

apr_array_push : /usr/include/apr-1/apr_tables.h line=121 column=21
a
pr_array_push(ap_server_config_defines : include/http_main.h line=55 column=44 ap_server_config_defines);
603            *new : server/main.c line=498 column=16
n
ew = : enter=0, leave=0
=
 "DUMP_MODULES";
604            break : pass=0
b
reak;
605
606        case : true=0, false=0
c
ase 'h':
607        case : true=0, false=0
c
ase '?':
608            usage : enter=0, leave=0

usage : server/main.c line=321 column=13
u
sage(process : server/main.c line=450 column=18
p
rocess);
609        }
610    }
611
612    /* bad cmdline option?  then we die */
613    if : true=0, false=1
i
f (rv : server/main.c line=458 column=18
r
!= : true=0, false=1
MC/DC independently affect : true=0, false=1
!TF
= APR_EOF || : true=0, false=1
|
opt : server/main.c line=457 column=19
o
pt-> : enter=1, leave=1
-
>ind : /usr/include/apr-1/apr_getopt.h line=58 column=9 ind < : true=0, false=1
MC/DC independently affect : true=0, false=1
<TF
 opt : server/main.c line=457 column=19
o
pt-> : enter=1, leave=1
-
>argc : /usr/include/apr-1/apr_getopt.h line=64 column=9 argc) {
614        usage : enter=0, leave=0

usage : server/main.c line=321 column=13
u
sage(process : server/main.c line=450 column=18
p
rocess);
615    }
616
617    apr_pool_create(&plog : server/main.c line=454 column=17
p
log, pglobal : server/main.c line=452 column=17
p
global);
618    apr_pool_tag : enter=1, leave=1

apr_pool_tag : /usr/include/apr-1/apr_pools.h line=513 column=19
a
pr_pool_tag(plog : server/main.c line=454 column=17
p
log, "plog");
619    apr_pool_create(&ptemp : server/main.c line=455 column=17
p
temp, pconf : server/main.c line=453 column=17
p
conf);
620    apr_pool_tag : enter=1, leave=1

apr_pool_tag : /usr/include/apr-1/apr_pools.h line=513 column=19
a
pr_pool_tag(ptemp : server/main.c line=455 column=17
p
temp, "ptemp");
621
622    /* Note that we preflight the config file once
623     * before reading it _again_ in the main loop.
624     * This allows things, log files configuration
625     * for example, to settle down.
626     */
627
628    ap_server_root : include/http_main.h line=44 column=36 ap_server_root = : pass=1
=
 def_server_root : server/main.c line=447 column=17
d
ef_server_root;
629    if : true=0, false=1
i
f (temp_error_log : server/main.c line=448 column=17
t
emp_error_log) {
630        ap_replace_stderr_log : enter=0, leave=0

ap_replace_stderr_log : include/http_log.h line=109 column=26
a
p_replace_stderr_log(process : server/main.c line=450 column=18
p
rocess-> : enter=0, leave=0
-
>pool : include/httpd.h line=764 column=17
p
ool, temp_error_log : server/main.c line=448 column=17
t
emp_error_log);
631    }
632    server_conf : server/main.c line=451 column=17
s
erver_conf = : pass=1
=
 ap_read_config : enter=1, leave=1

ap_read_config : include/http_config.h line=804 column=26
a
p_read_config(process : server/main.c line=450 column=18
p
rocess, ptemp : server/main.c line=455 column=17
p
temp, confname : server/main.c line=446 column=17
c
onfname, &ap_conftree : include/util_cfgtree.h line=76 column=40 ap_conftree);
633    if : true=1, false=0
i
f (! : true=1, false=0
!
server_conf : server/main.c line=451 column=17
s
erver_conf) {
634        destroy_and_exit_process : enter=1, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
635    }
636    /* sort hooks here to make sure pre_config hooks are sorted properly */
637    apr_hook_sort_all : enter=0, leave=0

apr_hook_sort_all : /usr/include/apr-1/apr_hooks.h line=233 column=19
a
pr_hook_sort_all();
638
639    if : true=0, false=0
i
f (ap_run_pre_config : enter=0, leave=0

ap_run_pre_config : server/ line=189 column=1
a
p_run_pre_config(pconf : server/main.c line=453 column=17
p
conf, plog : server/main.c line=454 column=17
p
log, ptemp : server/main.c line=455 column=17
p
temp) != : true=0, false=0
!
= OK) {
640        ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP | : pass=0
|
APLOG_ERR, 0,
641                     NULL, "Pre-configuration failed");
642        destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
643    }
644
645    rv : server/main.c line=458 column=18
r
= : pass=0
=
 ap_process_config_tree : enter=0, leave=0

ap_process_config_tree : include/http_config.h line=916 column=17
a
p_process_config_tree(server_conf : server/main.c line=451 column=17
s
erver_conf, ap_conftree : include/util_cfgtree.h line=76 column=40 ap_conftree,
646                                process : server/main.c line=450 column=18
p
rocess-> : enter=0, leave=0
-
>pconf : include/httpd.h line=766 column=17
p
conf, ptemp : server/main.c line=455 column=17
p
temp);
647    if : true=0, false=0
i
f (rv : server/main.c line=458 column=18
r
== : true=0, false=0
=
= OK) {
648        ap_fixup_virtual_hosts : enter=0, leave=0

ap_fixup_virtual_hosts : include/http_config.h line=827 column=18
a
p_fixup_virtual_hosts(pconf : server/main.c line=453 column=17
p
conf, server_conf : server/main.c line=451 column=17
s
erver_conf);
649        ap_fini_vhost_config : enter=0, leave=0

ap_fini_vhost_config : include/http_vhost.h line=45 column=18
a
p_fini_vhost_config(pconf : server/main.c line=453 column=17
p
conf, server_conf : server/main.c line=451 column=17
s
erver_conf);
650        /*
651         * Sort hooks again because ap_process_config_tree may have added
652         * modules and hence hooks. This happens with mod_perl and modules
653         * written in perl.
654         */
655        apr_hook_sort_all : enter=0, leave=0

apr_hook_sort_all : /usr/include/apr-1/apr_hooks.h line=233 column=19
a
pr_hook_sort_all();
656
657        if : true=0, false=0
i
f (configtestonly : server/main.c line=445 column=9
c
onfigtestonly) {
658            ap_run_test_config : enter=0, leave=0

ap_run_test_config : server/ line=213 column=1
a
p_run_test_config(pconf : server/main.c line=453 column=17
p
conf, server_conf : server/main.c line=451 column=17
s
erver_conf);
659            ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL, "Syntax OK");
660            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 0);
661        }
662    }
663
664    /* If our config failed, deal with that here. */
665    if : true=0, false=0
i
f (rv : server/main.c line=458 column=18
r
!= : true=0, false=0
!
= OK) {
666        destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
667    }
668
669    signal_server : server/main.c line=461 column=45
s
ignal_server = : pass=0
=
 APR_RETRIEVE_OPTIONAL_FN(ap_signal_server);
670    if : true=0, false=0
i
f (signal_server : server/main.c line=461 column=45
s
ignal_server) {
671        int exit_status;
672
673        if : true=0, false=0
i
f (signal_server : enter=0, leave=0

signal_server : server/main.c line=461 column=45
s
ignal_server(&exit_status : server/main.c line=671 column=13
e
xit_status, pconf : server/main.c line=453 column=17
p
conf) != : true=0, false=0
!
= 0) {
674            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, exit_status : server/main.c line=671 column=13
e
xit_status);
675        }
676    }
677
678    apr_pool_clear : enter=0, leave=0

apr_pool_clear : /usr/include/apr-1/apr_pools.h line=356 column=19
a
pr_pool_clear(plog : server/main.c line=454 column=17
p
log);
679
680    if : true=0, false=0
i
f ( ap_run_open_logs : enter=0, leave=0

ap_run_open_logs : server/ line=261 column=1
a
p_run_open_logs(pconf : server/main.c line=453 column=17
p
conf, plog : server/main.c line=454 column=17
p
log, ptemp : server/main.c line=455 column=17
p
temp, server_conf : server/main.c line=451 column=17
s
erver_conf) != : true=0, false=0
!
= OK) {
681        ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP | : pass=0
|
APLOG_ERR,
682                     0, NULL, "Unable to open logs");
683        destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
684    }
685
686    if : true=0, false=0
i
f ( ap_run_post_config : enter=0, leave=0

ap_run_post_config : server/ line=237 column=1
a
p_run_post_config(pconf : server/main.c line=453 column=17
p
conf, plog : server/main.c line=454 column=17
p
log, ptemp : server/main.c line=455 column=17
p
temp, server_conf : server/main.c line=451 column=17
s
erver_conf) != : true=0, false=0
!
= OK) {
687        ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP | : pass=0
|
APLOG_ERR, 0,
688                     NULL, "Configuration Failed");
689        destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
690    }
691
692    apr_pool_destroy : enter=0, leave=0

apr_pool_destroy : /usr/include/apr-1/apr_pools.h line=385 column=19
a
pr_pool_destroy(ptemp : server/main.c line=455 column=17
p
temp);
693
694    for (;;) {
695        apr_hook_deregister_all : enter=0, leave=0

apr_hook_deregister_all : /usr/include/apr-1/apr_hooks.h line=249 column=19
a
pr_hook_deregister_all();
696        apr_pool_clear : enter=0, leave=0

apr_pool_clear : /usr/include/apr-1/apr_pools.h line=356 column=19
a
pr_pool_clear(pconf : server/main.c line=453 column=17
p
conf);
697
698        for : true=0, false=0
f
or (mod : server/main.c line=459 column=14
m
od = : pass=0
=
 ap_prelinked_modules : include/http_config.h line=745 column=32
a
p_prelinked_modules; * dereference : enter=0, leave=0
*
mod : server/main.c line=459 column=14
m
od != : true=0, false=0
!
= NULL; mod : server/main.c line=459 column=14
m
od++ : pass=0
+
+) {
699            ap_register_hooks : enter=0, leave=0

ap_register_hooks : include/http_config.h line=820 column=18
a
p_register_hooks(* dereference : enter=0, leave=0
*
mod : server/main.c line=459 column=14
m
od, pconf : server/main.c line=453 column=17
p
conf);
700        }
701
702        /* This is a hack until we finish the code so that it only reads
703         * the config file once and just operates on the tree already in
704         * memory.  rbb
705         */
706        ap_conftree : include/util_cfgtree.h line=76 column=40 ap_conftree = : pass=0
=
 NULL;
707        apr_pool_create(&ptemp : server/main.c line=455 column=17
p
temp, pconf : server/main.c line=453 column=17
p
conf);
708        apr_pool_tag : enter=0, leave=0

apr_pool_tag : /usr/include/apr-1/apr_pools.h line=513 column=19
a
pr_pool_tag(ptemp : server/main.c line=455 column=17
p
temp, "ptemp");
709        ap_server_root : include/http_main.h line=44 column=36 ap_server_root = : pass=0
=
 def_server_root : server/main.c line=447 column=17
d
ef_server_root;
710        server_conf : server/main.c line=451 column=17
s
erver_conf = : pass=0
=
 ap_read_config : enter=0, leave=0

ap_read_config : include/http_config.h line=804 column=26
a
p_read_config(process : server/main.c line=450 column=18
p
rocess, ptemp : server/main.c line=455 column=17
p
temp, confname : server/main.c line=446 column=17
c
onfname, &ap_conftree : include/util_cfgtree.h line=76 column=40 ap_conftree);
711        if : true=0, false=0
i
f (! : true=0, false=0
!
server_conf : server/main.c line=451 column=17
s
erver_conf) {
712            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
713        }
714        /* sort hooks here to make sure pre_config hooks are sorted properly */
715        apr_hook_sort_all : enter=0, leave=0

apr_hook_sort_all : /usr/include/apr-1/apr_hooks.h line=233 column=19
a
pr_hook_sort_all();
716
717        if : true=0, false=0
i
f (ap_run_pre_config : enter=0, leave=0

ap_run_pre_config : server/ line=189 column=1
a
p_run_pre_config(pconf : server/main.c line=453 column=17
p
conf, plog : server/main.c line=454 column=17
p
log, ptemp : server/main.c line=455 column=17
p
temp) != : true=0, false=0
!
= OK) {
718            ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP | : pass=0
|
APLOG_ERR,
719                         0, NULL, "Pre-configuration failed");
720            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
721        }
722
723        if : true=0, false=0
i
f (ap_process_config_tree : enter=0, leave=0

ap_process_config_tree : include/http_config.h line=916 column=17
a
p_process_config_tree(server_conf : server/main.c line=451 column=17
s
erver_conf, ap_conftree : include/util_cfgtree.h line=76 column=40 ap_conftree, process : server/main.c line=450 column=18
p
rocess-> : enter=0, leave=0
-
>pconf : include/httpd.h line=766 column=17
p
conf,
724                                   ptemp : server/main.c line=455 column=17
p
temp) != : true=0, false=0
!
= OK) {
725            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
726        }
727        ap_fixup_virtual_hosts : enter=0, leave=0

ap_fixup_virtual_hosts : include/http_config.h line=827 column=18
a
p_fixup_virtual_hosts(pconf : server/main.c line=453 column=17
p
conf, server_conf : server/main.c line=451 column=17
s
erver_conf);
728        ap_fini_vhost_config : enter=0, leave=0

ap_fini_vhost_config : include/http_vhost.h line=45 column=18
a
p_fini_vhost_config(pconf : server/main.c line=453 column=17
p
conf, server_conf : server/main.c line=451 column=17
s
erver_conf);
729        /*
730         * Sort hooks again because ap_process_config_tree may have added
731         * modules and hence hooks. This happens with mod_perl and modules
732         * written in perl.
733         */
734        apr_hook_sort_all : enter=0, leave=0

apr_hook_sort_all : /usr/include/apr-1/apr_hooks.h line=233 column=19
a
pr_hook_sort_all();
735        apr_pool_clear : enter=0, leave=0

apr_pool_clear : /usr/include/apr-1/apr_pools.h line=356 column=19
a
pr_pool_clear(plog : server/main.c line=454 column=17
p
log);
736        if : true=0, false=0
i
f (ap_run_open_logs : enter=0, leave=0

ap_run_open_logs : server/ line=261 column=1
a
p_run_open_logs(pconf : server/main.c line=453 column=17
p
conf, plog : server/main.c line=454 column=17
p
log, ptemp : server/main.c line=455 column=17
p
temp, server_conf : server/main.c line=451 column=17
s
erver_conf) != : true=0, false=0
!
= OK) {
737            ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP | : pass=0
|
APLOG_ERR,
738                         0, NULL, "Unable to open logs");
739            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
740        }
741
742        if : true=0, false=0
i
f (ap_run_post_config : enter=0, leave=0

ap_run_post_config : server/ line=237 column=1
a
p_run_post_config(pconf : server/main.c line=453 column=17
p
conf, plog : server/main.c line=454 column=17
p
log, ptemp : server/main.c line=455 column=17
p
temp, server_conf : server/main.c line=451 column=17
s
erver_conf) != : true=0, false=0
!
= OK) {
743            ap_log_error : enter=0, leave=0

ap_log_error : include/http_log.h line=171 column=18
a
p_log_error(APLOG_MARK, APLOG_STARTUP | : pass=0
|
APLOG_ERR,
744                         0, NULL, "Configuration Failed");
745            destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 1);
746        }
747
748        apr_pool_destroy : enter=0, leave=0

apr_pool_destroy : /usr/include/apr-1/apr_pools.h line=385 column=19
a
pr_pool_destroy(ptemp : server/main.c line=455 column=17
p
temp);
749        apr_pool_lock(pconf, 1);
750
751        ap_run_optional_fn_retrieve : enter=0, leave=0

ap_run_optional_fn_retrieve : server/ line=88 column=1
a
p_run_optional_fn_retrieve();
752
753        if : true=0, false=0
i
f (ap_mpm_run : enter=0, leave=0

ap_mpm_run : include/ap_mpm.h line=91 column=17
a
p_mpm_run(pconf : server/main.c line=453 column=17
p
conf, plog : server/main.c line=454 column=17
p
log, server_conf : server/main.c line=451 column=17
s
erver_conf))
754            break : pass=0
b
reak;
755
756        apr_pool_lock(pconf, 0);
757    }
758
759    apr_pool_lock(pconf, 0);
760    destroy_and_exit_process : enter=0, leave=0

destroy_and_exit_process : server/main.c line=259 column=13
d
estroy_and_exit_process(process : server/main.c line=450 column=18
p
rocess, 0);
761
762    return : pass=0
r
eturn 0; /* Termination 'ok' */
763}
764
765#ifdef AP_USING_AUTOCONF
766/* This ugly little hack pulls any function referenced in exports.c into
767 * the web server.  exports.c is generated during the build, and it
768 * has all of the APR functions specified by the apr/apr.exports and
769 * apr-util/aprutil.exports files.
770 */
771const void *suck_in_APR(void);
772const void *suck_in_APR : call=0
s
uck_in_APR(void)
773{
774    extern const void *ap_ugly_hack;
775
776    return : pass=0
r
eturn ap_ugly_hack : server/main.c line=774 column=24
a
p_ugly_hack;
777}
778#endif
779[EOF]


Generated by expcov