smaller limit, concretize

This commit is contained in:
Alex Groce 2018-12-31 15:43:18 -07:00
parent a0ec145b6b
commit 122f5a7b57

View File

@ -34,10 +34,11 @@ char* decode(const char* output) {
}
// Can be higher if we're using fuzzing, not symbolic execution
#define MAX_STR_LEN 7
#define MAX_STR_LEN 4
TEST(Runlength, EncodeDecode) {
char* original = DeepState_CStrUpToLen(MAX_STR_LEN, "ab");
DeepState_ConcretizeCStr(original);
LOG(TRACE) << "original = `" << original << "`";
char* encoded = encode(original);
char* roundtrip = decode(encoded);