note it's STRLEN not length including null, expand Runlen size
This commit is contained in:
parent
483e827c64
commit
6cbb4f479a
@ -45,7 +45,7 @@ void printBytes(const char* bytes) {
|
||||
}
|
||||
|
||||
// Can be (much) higher (e.g., > 1024) if we're using fuzzing, not symbolic execution
|
||||
#define MAX_STR_LEN 6
|
||||
#define MAX_STR_LEN 8
|
||||
|
||||
TEST(Runlength, EncodeDecode) {
|
||||
char* original = DeepState_CStrUpToLen(MAX_STR_LEN);
|
||||
|
||||
@ -166,11 +166,11 @@ extern void DeepState_SymbolizeDataNoNull(void *begin, void *end);
|
||||
* concrete pointer to the beginning of the concretized data. */
|
||||
extern void *DeepState_ConcretizeData(void *begin, void *end);
|
||||
|
||||
/* Assign a symbolic C string of length `len` with only chars in allowed,
|
||||
* if allowed is non-null */
|
||||
/* Assign a symbolic C string of _strlen_ `len` -- with only chars in allowed,
|
||||
* if allowed is non-null; needs space for null + len bytes */
|
||||
extern void DeepState_AssignCStr_C(char* str, size_t len, const char* allowed);
|
||||
|
||||
/* Return a symbolic C string of length `len`. */
|
||||
/* Return a symbolic C string of strlen `len`. */
|
||||
extern char *DeepState_CStr_C(size_t len, const char* allowed);
|
||||
|
||||
/* Symbolize a C string */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user