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/tree
make install CC="$SS_CC" LD="$SS_LNK" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" prefix="$SS_TC_ROOT/$SS_TC_INSTALL" LIBS="$LIBS"
Has a buffer declared on the stack in a struct. char[20]) If input is resolved to more than 20 chars it will overflow
NONE
/opt/stonesoup/workspace/testData/woodnotes_glutinousness/cantharellus_adc.txt
/etc/passwd
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
0
--charset ASCII --sort=name -n -q input/good-01
STDOUT-REPORT-01 AND STDOUT-CONTENT-LENGTH-01 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
5 directories, 10 files
SIMILAR
DOES_NOT_RETURN
CONTROLLED_EXIT
Has a buffer declared on the stack in a struct. char[20]) If input is resolved to more than 20 chars it will overflow
NONE
/opt/stonesoup/workspace/testData/woodnotes_glutinousness/cantharellus_adc.txt
/etc/ssh/ssh_config
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
0
--charset ASCII --sort=name -n -q -L 2 input/good-02
STDOUT-REPORT-02 AND STDOUT-CONTENT-LENGTH-02 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
5 directories, 4 files
SIMILAR
DOES_NOT_RETURN
CONTROLLED_EXIT
Has a buffer declared on the stack in a struct. char[20]) If input is resolved to more than 20 chars it will overflow
NONE
/opt/stonesoup/workspace/testData/woodnotes_glutinousness/cantharellus_adc.txt
/usr/bin/gcc
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
0
--charset ASCII --sort=name -n -q -J input/good-03
STDOUT-REPORT-03 AND STDOUT-CONTENT-LENGTH-03 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
{"type":"report","directories":7,"files":367}
SIMILAR
DOES_NOT_RETURN
CONTROLLED_EXIT
Has a buffer declared on the stack in a struct. char[20]) If input is resolved to more than 20 chars it will overflow
NONE
/opt/stonesoup/workspace/testData/woodnotes_glutinousness/cantharellus_adc.txt
/etc/passwd
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
0
--charset ASCII --sort=name -n -q -P "test*" -F input/good-03
STDOUT-REPORT-04 AND STDOUT-CONTENT-LENGTH-04 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
7 directories, 62 files
SIMILAR
DOES_NOT_RETURN
CONTROLLED_EXIT
Has a buffer declared on the stack in a struct. char[20]) If input is resolved to more than 20 chars it will overflow
NONE
/opt/stonesoup/workspace/testData/woodnotes_glutinousness/cantharellus_adc.txt
/etc/ssh/ssh_config
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
0
--charset ASCII --sort=name -n -q -H "" input/good-01
STDOUT-REPORT-05 AND STDOUT-CONTENT-LENGTH-05 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
5 directories, 10 files
SIMILAR
DOES_NOT_RETURN
CONTROLLED_EXIT
Has a buffer declared on the stack in a struct. char[20]) If input is resolved to more than 20 chars it will overflow
DOS_UNCONTROLLED_EXIT
/opt/stonesoup/workspace/testData/woodnotes_glutinousness/cantharellus_adc.txt
../testData
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
0
--charset ASCII --sort=name -n -q -J input/good-03
weakness_started_zgPXQSRmmzQJzQ7HGsMA AND ((NOT PERFORMER AND (segfault_code_53v6oqxGwx OR segfault_code_YUhzgkDogl OR segfault_code_JYz8dJiDDK OR segfault_code_nJCyNtV5cG OR segfault_code_IiD7p0rCEo OR segfault_msg_GUVwjlZUoM OR illegal_inst_msg_w0O9vMrmuv) AND NOT timeout_KOyQy3PGlQ) or (PERFORMER AND NOT ((segfault_code_53v6oqxGwx OR segfault_code_YUhzgkDogl OR segfault_code_JYz8dJiDDK OR segfault_code_nJCyNtV5cG OR segfault_code_IiD7p0rCEo OR segfault_msg_GUVwjlZUoM OR illegal_inst_msg_w0O9vMrmuv) OR timeout_KOyQy3PGlQ)))
(NOT PERFORMER AND (segfault_code_53v6oqxGwx OR segfault_code_YUhzgkDogl OR segfault_code_JYz8dJiDDK OR segfault_code_nJCyNtV5cG OR segfault_code_IiD7p0rCEo OR segfault_msg_GUVwjlZUoM OR illegal_inst_msg_w0O9vMrmuv) AND NOT timeout_KOyQy3PGlQ) or (PERFORMER AND NOT ((segfault_code_53v6oqxGwx OR segfault_code_YUhzgkDogl OR segfault_code_JYz8dJiDDK OR segfault_code_nJCyNtV5cG OR segfault_code_IiD7p0rCEo OR segfault_msg_GUVwjlZUoM OR illegal_inst_msg_w0O9vMrmuv) OR timeout_KOyQy3PGlQ))
DOES_NOT_RETURN
CONTROLLED_EXIT
CONTINUED_EXECUTION
None
132
None
134
None
135
None
136
None
139
None
Segmentation fault
None
Illegal instruction
None
stonesoup_trace:weakness_start
Has a buffer declared on the stack in a struct. char[20]) If input is resolved to more than 20 chars it will overflow
DOS_UNCONTROLLED_EXIT
/opt/stonesoup/workspace/testData/woodnotes_glutinousness/cantharellus_adc.txt
../testOutput
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
0
--charset ASCII --sort=name -n -q -P "test*" -F input/good-03
weakness_started_dCF5CHeURVsMlC3G2ugE AND ((NOT PERFORMER AND (segfault_code_w2Q9JFXW8e OR segfault_code_5gWSQbxpPE OR segfault_code_vRv2Q8DkPC OR segfault_code_0ZhHaJMMou OR segfault_code_cry8T0sIYM OR segfault_msg_7yffigGB0s OR illegal_inst_msg_YObmPOLeda) AND NOT timeout_fehl4wzhoc) or (PERFORMER AND NOT ((segfault_code_w2Q9JFXW8e OR segfault_code_5gWSQbxpPE OR segfault_code_vRv2Q8DkPC OR segfault_code_0ZhHaJMMou OR segfault_code_cry8T0sIYM OR segfault_msg_7yffigGB0s OR illegal_inst_msg_YObmPOLeda) OR timeout_fehl4wzhoc)))
(NOT PERFORMER AND (segfault_code_w2Q9JFXW8e OR segfault_code_5gWSQbxpPE OR segfault_code_vRv2Q8DkPC OR segfault_code_0ZhHaJMMou OR segfault_code_cry8T0sIYM OR segfault_msg_7yffigGB0s OR illegal_inst_msg_YObmPOLeda) AND NOT timeout_fehl4wzhoc) or (PERFORMER AND NOT ((segfault_code_w2Q9JFXW8e OR segfault_code_5gWSQbxpPE OR segfault_code_vRv2Q8DkPC OR segfault_code_0ZhHaJMMou OR segfault_code_cry8T0sIYM OR segfault_msg_7yffigGB0s OR illegal_inst_msg_YObmPOLeda) OR timeout_fehl4wzhoc))
DOES_NOT_RETURN
CONTROLLED_EXIT
CONTINUED_EXECUTION
None
132
None
134
None
135
None
136
None
139
None
Segmentation fault
None
Illegal instruction
None
stonesoup_trace:weakness_start