GenericExperiment: limit output logger buffer
Limit the serial-output logger buffer to prevent overly large memory consumption in case the target system ends up, e.g., in an endless loop. The buffer is limited to (golden-run output size)+1 to be able to detect the case when the target system makes a correct output but faultily adds extra characters afterwards. Change-Id: I50c082f8fb09a702d87ab83732ca3e3463c46597
This commit is contained in:
@ -23,6 +23,7 @@ class GenericExperiment : public fail::DatabaseExperiment {
|
||||
bool enabled_e9_sol;
|
||||
std::string e9_file;
|
||||
SerialOutputLogger e9_sol;
|
||||
std::vector<char> e9_goldenrun;
|
||||
|
||||
bool enabled_mem_text;
|
||||
fail::MemAccessListener l_mem_text;
|
||||
|
||||
Reference in New Issue
Block a user