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.
TRUE
UNSPECIFIED
UNSPECIFIED
$SS_TC_ROOT/$SS_TC_INSTALL/bin/postgres -p 8432
./configure --prefix="$SS_TC_ROOT/$SS_TC_INSTALL" --with-pgport=8432 --with-libraries="$SS_TC_DEPS/lib" --with-includes="$SS_TC_DEPS/include" --with-openssl --with-libxml --with-libxslt --without-selinux --with-readline --without-tcl --without-perl --without-python --without-gssapi --without-pam --without-krb5 --with-ldap --without-bonjour --with-zlib --disable-thread-safety
make CC="$SS_CC" CCLD="$SS_LNK"
make install CC="$SS_CC" CCLD="$SS_LNK"
initalize a database
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
NONE
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/good01.txt
This file is not empty.
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
sudo -E -u postgres $SS_TC_ROOT/$SS_TC_INSTALL/bin/initdb $SS_TC_ROOT/testData/good-01/psqldb
(UTF8 OR ASCII) AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-01/good-01-UTF8.out
good-01/good-01-ASCII.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform a select
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
NONE
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/good02.txt
Hello world! And, good-bye.
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-02/psql
GOOD-02 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-02/good-02.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform an insert
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
NONE
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/good03.txt
Yet another file.
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-03/psql
GOOD-03 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-03/good-03.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform a create
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
NONE
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/good01.txt
This file is not empty.
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-04/psql
GOOD-04 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-04/good-04.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform a delete
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
NONE
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/good02.txt
Hello world! And, good-bye.
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-05/psql
GOOD-05 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-05/good-05.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform a drop
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
NONE
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/good03.txt
Yet another file.
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-06/psql
GOOD-06 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-06/good-06.out
DOES_NOT_RETURN
CONTROLLED_EXIT
import a .sql file
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
NONE
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/good01.txt
This file is not empty.
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-07/psql
GOOD-07 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-07/good-07.out
DOES_NOT_RETURN
CONTROLLED_EXIT
perform an alter
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
NONE
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/good02.txt
Hello world! And, good-bye.
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-08/psql
GOOD-08 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-08/good-08.out
DOES_NOT_RETURN
CONTROLLED_EXIT
see who's logged in
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
NONE
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/good03.txt
Yet another file.
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-09/psql
GOOD-09 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
\s*booktown\s*\|\s*root\s*\|\s*([0-9]{1,3}\.){3}[0-9]{1,3}\s*
DOES_NOT_RETURN
CONTROLLED_EXIT
perform a select using LIKE
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
NONE
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/good01.txt
This file is not empty.
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-10/psql
GOOD-10 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-10/good-10.out
DOES_NOT_RETURN
CONTROLLED_EXIT
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
DOS_UNCONTROLLED_EXIT
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/bad01.txt
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-05/psql
weakness_started_Q6G9K5UhUqwqoARyuv6G AND ((NOT PERFORMER AND (segfault_code_uRKI7L4gRg OR segfault_code_349RKkcUVH OR segfault_code_nLi7CfUK9C OR segfault_code_JfRrZbsyvj OR segfault_code_YWQ5oU43th OR segfault_code_q4QwRrXIuJ OR segfault_msg_wvwGPgk6Uu OR illegal_inst_msg_otTC5Xkbgr) AND NOT timeout_d0snjQphJz) or (PERFORMER AND NOT ((segfault_code_uRKI7L4gRg OR segfault_code_349RKkcUVH OR segfault_code_nLi7CfUK9C OR segfault_code_JfRrZbsyvj OR segfault_code_YWQ5oU43th OR segfault_code_q4QwRrXIuJ OR segfault_msg_wvwGPgk6Uu OR illegal_inst_msg_otTC5Xkbgr) OR timeout_d0snjQphJz OR controlled_exit_QAuZaxVjwn)))
(NOT PERFORMER AND (segfault_code_uRKI7L4gRg OR segfault_code_349RKkcUVH OR segfault_code_nLi7CfUK9C OR segfault_code_JfRrZbsyvj OR segfault_code_YWQ5oU43th OR segfault_code_q4QwRrXIuJ OR segfault_msg_wvwGPgk6Uu OR illegal_inst_msg_otTC5Xkbgr) AND NOT timeout_d0snjQphJz) or (PERFORMER AND NOT ((segfault_code_uRKI7L4gRg OR segfault_code_349RKkcUVH OR segfault_code_nLi7CfUK9C OR segfault_code_JfRrZbsyvj OR segfault_code_YWQ5oU43th OR segfault_code_q4QwRrXIuJ OR segfault_msg_wvwGPgk6Uu OR illegal_inst_msg_otTC5Xkbgr) OR timeout_d0snjQphJz OR controlled_exit_QAuZaxVjwn))
DOES_NOT_RETURN
CONTROLLED_EXIT
CONTINUED_EXECUTION
None
132
None
134
None
135
None
136
None
139
None
1
None
Segmentation fault
None
Illegal instruction
None
stonesoup_trace:weakness_start
Good inputs: 1) environment variable is not set. 2) environment variable is set to a filename that exists.Bad input: 1) environment variable is set to a filename that does not exist.
DOS_UNCONTROLLED_EXIT
/opt/stonesoup/workspace/testData/thoroughsped_metaller/comnenus_antelopes.txt
/opt/stonesoup/workspace/testData/bad02.txt
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
-D $SS_TC_ROOT/testData/good-05/psql
weakness_started_NTxOz1qdth1XN36RnaGN AND ((NOT PERFORMER AND (segfault_code_XfsFih8pVf OR segfault_code_UAg9nQI9FQ OR segfault_code_ymshHE89TT OR segfault_code_36SeGXhLg9 OR segfault_code_FEONs6GUyk OR segfault_code_pOh1czU8wB OR segfault_msg_NycCqA1Jtz OR illegal_inst_msg_j3vc33wKfY) AND NOT timeout_z8px0naArA) or (PERFORMER AND NOT ((segfault_code_XfsFih8pVf OR segfault_code_UAg9nQI9FQ OR segfault_code_ymshHE89TT OR segfault_code_36SeGXhLg9 OR segfault_code_FEONs6GUyk OR segfault_code_pOh1czU8wB OR segfault_msg_NycCqA1Jtz OR illegal_inst_msg_j3vc33wKfY) OR timeout_z8px0naArA OR controlled_exit_DKqiY7rR8d)))
(NOT PERFORMER AND (segfault_code_XfsFih8pVf OR segfault_code_UAg9nQI9FQ OR segfault_code_ymshHE89TT OR segfault_code_36SeGXhLg9 OR segfault_code_FEONs6GUyk OR segfault_code_pOh1czU8wB OR segfault_msg_NycCqA1Jtz OR illegal_inst_msg_j3vc33wKfY) AND NOT timeout_z8px0naArA) or (PERFORMER AND NOT ((segfault_code_XfsFih8pVf OR segfault_code_UAg9nQI9FQ OR segfault_code_ymshHE89TT OR segfault_code_36SeGXhLg9 OR segfault_code_FEONs6GUyk OR segfault_code_pOh1czU8wB OR segfault_msg_NycCqA1Jtz OR illegal_inst_msg_j3vc33wKfY) OR timeout_z8px0naArA OR controlled_exit_DKqiY7rR8d))
DOES_NOT_RETURN
CONTROLLED_EXIT
CONTINUED_EXECUTION
None
132
None
134
None
135
None
136
None
139
None
1
None
Segmentation fault
None
Illegal instruction
None
stonesoup_trace:weakness_start