summary refs log tree commit diff
path: root/afl-dyninst.cc
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2024-11-05 12:19:03 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-11-05 12:19:03 +0900
commitedde9d3d6010ee8e58bf593ebe94e1a187321958 (patch)
treee0984d4011eaa0cab78318ab5c7364eae75a6465 /afl-dyninst.cc
parentf9d644e7f357a21aa64a5de27408b74cbd345dc8 (diff)
downloadafl-dyninst-edde9d3d6010ee8e58bf593ebe94e1a187321958.tar.gz
Complete removal of the -l flag
Diffstat (limited to 'afl-dyninst.cc')
-rw-r--r--afl-dyninst.cc8
1 files changed, 2 insertions, 6 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)