diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2024-11-05 12:19:03 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2024-11-05 12:19:03 +0900 |
commit | edde9d3d6010ee8e58bf593ebe94e1a187321958 (patch) | |
tree | e0984d4011eaa0cab78318ab5c7364eae75a6465 /afl-dyninst.cc | |
parent | f9d644e7f357a21aa64a5de27408b74cbd345dc8 (diff) | |
download | afl-dyninst-edde9d3d6010ee8e58bf593ebe94e1a187321958.tar.gz |
Complete removal of the -l flag
Diffstat (limited to 'afl-dyninst.cc')
-rw-r--r-- | afl-dyninst.cc | 8 |
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) |