Revert "build a basic data flow path to return the return value of a called function to the funzzing framework"
This reverts commit e35aada698d2d8d14042110c523acea5a707adac.
Change-Id: I63fdefa0a14ae949bcd5492ace36c5cf611ca4c7
diff --git a/sysfuzzer/common/fuzz_tester/FuzzerBase.cpp b/sysfuzzer/common/fuzz_tester/FuzzerBase.cpp
index 281f924..48eb715 100644
--- a/sysfuzzer/common/fuzz_tester/FuzzerBase.cpp
+++ b/sysfuzzer/common/fuzz_tester/FuzzerBase.cpp
@@ -43,8 +43,7 @@
}
-bool FuzzerBase::Fuzz(const vts::InterfaceSpecificationMessage& message,
- void* result) {
+bool FuzzerBase::Fuzz(const vts::InterfaceSpecificationMessage& message) {
cout << "Fuzzing target component: "
<< "class " << message.component_class()
<< " type " << message.component_type()
@@ -53,7 +52,7 @@
string function_name_prefix = GetFunctionNamePrefix(message);
function_name_prefix_ = function_name_prefix.c_str();
for (const vts::FunctionSpecificationMessage& func_msg : message.api()) {
- Fuzz(func_msg, result);
+ Fuzz(func_msg);
}
return true;
}