scripts to test locally against an angler device
includes tool code changes to pass flags which can set
the paths of dynamically installed files.
Change-Id: I207eef49983e0e1bb10c658cfeb54843b44435c5
diff --git a/sysfuzzer/common/specification_parser/SpecificationBuilder.cpp b/sysfuzzer/common/specification_parser/SpecificationBuilder.cpp
index b7ea74c..9f6e7a3 100644
--- a/sysfuzzer/common/specification_parser/SpecificationBuilder.cpp
+++ b/sysfuzzer/common/specification_parser/SpecificationBuilder.cpp
@@ -88,9 +88,13 @@
cerr << __FUNCTION__ << ": couldn't get a fuzzer base class" << endl;
return NULL;
}
- if (!fuzzer->LoadTargetComponent(dll_file_name)) return NULL;
+ if (!fuzzer->LoadTargetComponent(dll_file_name)) {
+ cerr << "couln't load target component file, " << dll_file_name << endl;
+ return NULL;
+ }
for (const vts::FunctionSpecificationMessage& func_msg : iface_spec_msg.api()) {
+ cout << "checking " << func_msg.name() << endl;
if (!strcmp(target_func_name, func_msg.name().c_str())) {
return fuzzer;
}
@@ -159,7 +163,8 @@
FuzzerBase* func_fuzzer = GetFuzzerBase(
*if_spec_msg_, dll_file_name_, func_msg->name().c_str());
if (!func_fuzzer) {
- cerr << "can't find FuzzerBase" << endl;
+ cerr << "can't find FuzzerBase for " << func_msg->name() << " using "
+ << dll_file_name_ << endl;
return false;
}