Creating test case using base program. Added an environment variable read to get a filename to read in the file contents using an fread operation within the function Completed injection. UNSPECIFIED UNSPECIFIED $SS_TC_ROOT/$SS_TC_INSTALL/bin/grep ./configure --prefix="$SS_TC_ROOT/$SS_TC_INSTALL" --exec-prefix="$SS_TC_ROOT/$SS_TC_INSTALL" --with-included-regex make V=1 CC="$SS_CC" CCLD="$SS_LNK" make V=1 install CC="$SS_CC" CCLD="$SS_LNK" all words beginning with e or x, case sensitive Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. NONE /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/good01.txt Hello World $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 ^[ex] input/dict.txt STDOUT-01 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT good-01/std-out.txt DOES_NOT_RETURN CONTROLLED_EXIT find BIRMINGHAM, ignore case, recursive Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. NONE /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/good02.txt This $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 -r -i BIRMINGHAM input/zip/ STDOUT-02 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT good-02/std-out.txt DOES_NOT_RETURN CONTROLLED_EXIT read extented regular expressions from file Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. NONE /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/badfilename.txt $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 -E -f input/grep-good-03-expr.txt input/mktsymbols.txt STDOUT-03 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT good-03/std-out.txt DOES_NOT_RETURN CONTROLLED_EXIT search for entire words matching a specific pattern Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. NONE /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/good01.txt Hello World $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 -w -f input/grep-good-04-expr.txt input/mktsymbols.txt STDOUT-04 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT good-04/std-out.txt DOES_NOT_RETURN CONTROLLED_EXIT use mmap(), find NASDAQ in file Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. NONE /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/good02.txt This $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 --mmap NASDAQ input/mktsymbols.txt STDOUT-05 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT good-05/std-out.txt DOES_NOT_RETURN CONTROLLED_EXIT match lines not containing NASDAQ, ignore case, count Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. NONE /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/badfilename.txt $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 -v -i -c NASDAQ input/mktsymbols.txt STDOUT-06 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT good-06/std-out.txt DOES_NOT_RETURN CONTROLLED_EXIT grep stdin (a device), match words beginning w/ D, P, or Z, redirect file into stdin Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. NONE /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/good01.txt Hello World $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 -D read -e ^[DPZ] /dev/stdin < input/mktsymbols.txt STDOUT-07 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT good-07/std-out.txt DOES_NOT_RETURN CONTROLLED_EXIT extended grep, print number of lines of context Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. NONE /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/good02.txt This $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 -E -C 15 ^[BRT] input/mktsymbols.txt STDOUT-08 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT good-08/std-out.txt DOES_NOT_RETURN CONTROLLED_EXIT lines not beginning w/ B, R or T Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. NONE /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/badfilename.txt $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 -v ^[BRT] input/mktsymbols.txt STDOUT-09 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT good-09/std-out.txt DOES_NOT_RETURN CONTROLLED_EXIT count lines not beginning w/ B, R or T Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. NONE /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/good01.txt Hello World $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 -c -v ^[BRT] input/mktsymbols.txt STDOUT-10 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT good-10/std-out.txt DOES_NOT_RETURN CONTROLLED_EXIT Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. DOS_UNCONTROLLED_EXIT READ_APPLICATION_DATA /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/bad01.txt abcdefghijklmnopqrstuvwxyz $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 ^[ex] input/dict.txt weakness_started_QBuzoaHAt6loktZIpRQn AND ((NOT PERFORMER AND (segfault_code_Yf1ioj7erT OR segfault_code_yr6A303z4o OR segfault_code_v9BBDvGJFs OR segfault_code_ESsgLyVbMX OR segfault_code_nLw0TsSwX7 OR segfault_msg_2LYpz9HyVU OR illegal_inst_msg_dGX8gYbxzt OR null_termination_RN1b3iZPCD) AND NOT timeout_0yeGWaYTah) or (PERFORMER AND NOT ((segfault_code_Yf1ioj7erT OR segfault_code_yr6A303z4o OR segfault_code_v9BBDvGJFs OR segfault_code_ESsgLyVbMX OR segfault_code_nLw0TsSwX7 OR segfault_msg_2LYpz9HyVU OR illegal_inst_msg_dGX8gYbxzt OR null_termination_RN1b3iZPCD) OR timeout_0yeGWaYTah))) (NOT PERFORMER AND (segfault_code_Yf1ioj7erT OR segfault_code_yr6A303z4o OR segfault_code_v9BBDvGJFs OR segfault_code_ESsgLyVbMX OR segfault_code_nLw0TsSwX7 OR segfault_msg_2LYpz9HyVU OR illegal_inst_msg_dGX8gYbxzt OR null_termination_RN1b3iZPCD) AND NOT timeout_0yeGWaYTah) or (PERFORMER AND NOT ((segfault_code_Yf1ioj7erT OR segfault_code_yr6A303z4o OR segfault_code_v9BBDvGJFs OR segfault_code_ESsgLyVbMX OR segfault_code_nLw0TsSwX7 OR segfault_msg_2LYpz9HyVU OR illegal_inst_msg_dGX8gYbxzt OR null_termination_RN1b3iZPCD) OR timeout_0yeGWaYTah)) DOES_NOT_RETURN CONTROLLED_EXIT CONTINUED_EXECUTION None 132 None 134 None 135 None 136 None 139 None Segmentation fault None Illegal instruction logfile.txt .{16}A{47}NEW TEST None stonesoup_trace:weakness_start Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists and whose contents contain a null character in first 16 bytes.3) environment variable is set to a filename that does not exist.Bad input: 1) environment variable is set to a file that does not contain a null character in first 16 bytes. DOS_UNCONTROLLED_EXIT READ_APPLICATION_DATA /opt/stonesoup/workspace/testData/frequent_amund/reap_carnivalesque.txt /opt/stonesoup/workspace/testData/bad02.txt this string is really long and does not contain a null char soon enough $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 0 -D read -e ^[DPZ] /dev/stdin < input/mktsymbols.txt weakness_started_Zf5VgthuPr9WvDw6YaTm AND ((NOT PERFORMER AND (segfault_code_6srJYgcYye OR segfault_code_AsnHy7BGaA OR segfault_code_MOAPgUZJAh OR segfault_code_mJA14ePn9Y OR segfault_code_VbDXtuLOhV OR segfault_msg_JJUILWypSs OR illegal_inst_msg_rq3ZHgC30J OR null_termination_FNftcZV8dn) AND NOT timeout_CHr5XAvtOn) or (PERFORMER AND NOT ((segfault_code_6srJYgcYye OR segfault_code_AsnHy7BGaA OR segfault_code_MOAPgUZJAh OR segfault_code_mJA14ePn9Y OR segfault_code_VbDXtuLOhV OR segfault_msg_JJUILWypSs OR illegal_inst_msg_rq3ZHgC30J OR null_termination_FNftcZV8dn) OR timeout_CHr5XAvtOn))) (NOT PERFORMER AND (segfault_code_6srJYgcYye OR segfault_code_AsnHy7BGaA OR segfault_code_MOAPgUZJAh OR segfault_code_mJA14ePn9Y OR segfault_code_VbDXtuLOhV OR segfault_msg_JJUILWypSs OR illegal_inst_msg_rq3ZHgC30J OR null_termination_FNftcZV8dn) AND NOT timeout_CHr5XAvtOn) or (PERFORMER AND NOT ((segfault_code_6srJYgcYye OR segfault_code_AsnHy7BGaA OR segfault_code_MOAPgUZJAh OR segfault_code_mJA14ePn9Y OR segfault_code_VbDXtuLOhV OR segfault_msg_JJUILWypSs OR illegal_inst_msg_rq3ZHgC30J OR null_termination_FNftcZV8dn) OR timeout_CHr5XAvtOn)) DOES_NOT_RETURN CONTROLLED_EXIT CONTINUED_EXECUTION None 132 None 134 None 135 None 136 None 139 None Segmentation fault None Illegal instruction logfile.txt .{16}A{47}NEW TEST None stonesoup_trace:weakness_start