Skip to content

Commit

Permalink
Bugfix catch ASAN error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Zhao committed Jul 4, 2023
1 parent 4724336 commit 47f96d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion fuzz_testing/script/fuzz_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def fuzz_test_main(test_file_name, group, test, var, original_value, all_outputs
# Aborted run + 1
results_dictionary[test_file_name][ABORTED_RUNS] = results_dictionary[test_file_name][ABORTED_RUNS] + 1
# ASAN errors
if re.search(encode_if_condition(ASAN_ERRORS, encoded), output):
if re.search(encode_if_condition(ASAN_ERROR_PATTERN, encoded), output):
results_dictionary[test_file_name][ASAN_ERRORS] = results_dictionary[test_file_name][ASAN_ERRORS] + 1
# Test errors
if re.search(encode_if_condition(FUZZ_TEST_ERROR_PATTERN, encoded), output) and not test_error:
Expand Down
1 change: 0 additions & 1 deletion fuzz_testing/test/acl_auto_configure_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ TEST(auto_configure, many_ok_forward_compatibility) {

TEST(auto_configure, many_limit_check) {
bool check = true;
int* leak = new int(1);
{
std::string str =
load_fuzzed_value("auto_configure", "many_limit_check", "str");
Expand Down

0 comments on commit 47f96d2

Please sign in to comment.