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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
NONE
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
AAAAAAAAAAA
$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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
NONE
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
12345 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
-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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
NONE
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
This string does not have 10 characters
$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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
NONE
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
AAAAAAAAAAA
$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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
NONE
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
12345 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
--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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
NONE
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
This string does not have 10 characters
$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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
NONE
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
AAAAAAAAAAA
$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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
NONE
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
12345 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
-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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
NONE
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
This string does not have 10 characters
$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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
NONE
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
AAAAAAAAAAA
$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
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
DOS_UNCONTROLLED_EXIT
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
0123456789
$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
weakness_started_WfjxnruU0VmQuO8cIhIm AND ((NOT PERFORMER AND (segfault_code_f7TcSRI7NA OR segfault_code_2ohdYgq55a OR segfault_code_CfNoAjIT1D OR segfault_code_y8I9JJC0er OR segfault_code_MF9x71csKN OR segfault_msg_bllgZ3LldR OR illegal_inst_msg_771fI0UQBV OR segfault_illegal_inst_KYgzDqz4MA OR segfault_illegal_return_icBLVjZmR1) AND NOT timeout_aHeKhqWVlA) or (PERFORMER AND NOT ((segfault_code_f7TcSRI7NA OR segfault_code_2ohdYgq55a OR segfault_code_CfNoAjIT1D OR segfault_code_y8I9JJC0er OR segfault_code_MF9x71csKN OR segfault_msg_bllgZ3LldR OR illegal_inst_msg_771fI0UQBV OR segfault_illegal_inst_KYgzDqz4MA OR segfault_illegal_return_icBLVjZmR1) OR timeout_aHeKhqWVlA)))
(NOT PERFORMER AND (segfault_code_f7TcSRI7NA OR segfault_code_2ohdYgq55a OR segfault_code_CfNoAjIT1D OR segfault_code_y8I9JJC0er OR segfault_code_MF9x71csKN OR segfault_msg_bllgZ3LldR OR illegal_inst_msg_771fI0UQBV OR segfault_illegal_inst_KYgzDqz4MA OR segfault_illegal_return_icBLVjZmR1) AND NOT timeout_aHeKhqWVlA) or (PERFORMER AND NOT ((segfault_code_f7TcSRI7NA OR segfault_code_2ohdYgq55a OR segfault_code_CfNoAjIT1D OR segfault_code_y8I9JJC0er OR segfault_code_MF9x71csKN OR segfault_msg_bllgZ3LldR OR illegal_inst_msg_771fI0UQBV OR segfault_illegal_inst_KYgzDqz4MA OR segfault_illegal_return_icBLVjZmR1) OR timeout_aHeKhqWVlA))
DOES_NOT_RETURN
CONTROLLED_EXIT
CONTINUED_EXECUTION
None
132
None
134
None
135
None
136
None
139
None
Segmentation fault
None
Illegal instruction
None
Illegal instruction
None
132
None
stonesoup_trace:weakness_start
Malloc a function pointer. If the input length is not equal to 10, set the function pointer to a function. Try to use the function pointer. This will seg fault if the input length is exactly 10.
DOS_UNCONTROLLED_EXIT
/opt/stonesoup/workspace/testData/escheatment_semiexpansible/neanthropic_giardia.txt
10 chars..
$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
weakness_started_4pkH5ODQe757X4NIkFvA AND ((NOT PERFORMER AND (segfault_code_DzNkfDETkG OR segfault_code_MZkq9qlfMJ OR segfault_code_9XsWVP3SB6 OR segfault_code_5o84fjItGU OR segfault_code_DVzLtpZiXG OR segfault_msg_LJJczcgTmj OR illegal_inst_msg_17iD83LkId OR segfault_illegal_inst_AwmXn623QZ OR segfault_illegal_return_8ISH2envD7) AND NOT timeout_lkOKCVzG9R) or (PERFORMER AND NOT ((segfault_code_DzNkfDETkG OR segfault_code_MZkq9qlfMJ OR segfault_code_9XsWVP3SB6 OR segfault_code_5o84fjItGU OR segfault_code_DVzLtpZiXG OR segfault_msg_LJJczcgTmj OR illegal_inst_msg_17iD83LkId OR segfault_illegal_inst_AwmXn623QZ OR segfault_illegal_return_8ISH2envD7) OR timeout_lkOKCVzG9R)))
(NOT PERFORMER AND (segfault_code_DzNkfDETkG OR segfault_code_MZkq9qlfMJ OR segfault_code_9XsWVP3SB6 OR segfault_code_5o84fjItGU OR segfault_code_DVzLtpZiXG OR segfault_msg_LJJczcgTmj OR illegal_inst_msg_17iD83LkId OR segfault_illegal_inst_AwmXn623QZ OR segfault_illegal_return_8ISH2envD7) AND NOT timeout_lkOKCVzG9R) or (PERFORMER AND NOT ((segfault_code_DzNkfDETkG OR segfault_code_MZkq9qlfMJ OR segfault_code_9XsWVP3SB6 OR segfault_code_5o84fjItGU OR segfault_code_DVzLtpZiXG OR segfault_msg_LJJczcgTmj OR illegal_inst_msg_17iD83LkId OR segfault_illegal_inst_AwmXn623QZ OR segfault_illegal_return_8ISH2envD7) OR timeout_lkOKCVzG9R))
DOES_NOT_RETURN
CONTROLLED_EXIT
CONTINUED_EXECUTION
None
132
None
134
None
135
None
136
None
139
None
Segmentation fault
None
Illegal instruction
None
Illegal instruction
None
132
None
stonesoup_trace:weakness_start