diff options
-rw-r--r-- | afl-dyninst.cc | 8 | ||||
-rw-r--r-- | afl-dyninst.h.m4 | 11 |
2 files changed, 2 insertions, 17 deletions
diff --git a/afl-dyninst.cc b/afl-dyninst.cc index cb580d0..8e3389d 100644 --- a/afl-dyninst.cc +++ b/afl-dyninst.cc @@ -504,12 +504,8 @@ int main(int argc, char **argv) { char moduleName[1024]; (*moduleIter)->getName(moduleName, 1024); - if ((*moduleIter)->isSharedLib()) { - if (instrumentLibraries.find(moduleName) == instrumentLibraries.end() && string(moduleName).find(".so") != string::npos) { - cout << "Skipping library: " << moduleName << endl; - continue; - } - } + if ((*moduleIter)->isSharedLib()) + continue; if (string(moduleName).find(defaultModuleName) != string::npos) { if (skipMainModule) diff --git a/afl-dyninst.h.m4 b/afl-dyninst.h.m4 deleted file mode 100644 index 7147c6c..0000000 --- a/afl-dyninst.h.m4 +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Instrumentation library path injection - * SPDX-FileCopyrightText: 2024 Nguyễn Gia Phong <cnx@loang.net> - * SPDX-License-Identifier: AGPL-3.0-or-later - * vim: filetype=c.m4 - */ -#ifndef AFL_DYNINST_H -#define AFL_DYNINST_H -const char *const afl_dyninst_lib = "AFL_DYNINST_LIB/libafldyninst.so"; -const char *const dyninstapi_rt_lib = "DYNINST_LIB/libdyninstAPI_RT.so"; -#endif /* AFL_DYNINST_H */ |