about summary refs log tree commit diff
diff options
context:
space:
mode:
authortalos-vulndev <vulndev@cisco.com>2016-06-01 18:09:07 -0500
committertalos-vulndev <vulndev@cisco.com>2016-06-01 18:09:07 -0500
commit46a53665b6767b75b233d135eabb23b85396e650 (patch)
treef54a3b1ae62ccd837cbfcc7082d7d23dec2af059
parent2ca7045f99461f38f1ddab3e8556e0f946f342fa (diff)
parent5c5c9df6f8fb66da7a72591e07194469dbfb3a6f (diff)
downloadafl-dyninst-46a53665b6767b75b233d135eabb23b85396e650.tar.gz
Merge pull request #3 from ea/master
removed superfluous lines
-rw-r--r--afl-dyninst.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/afl-dyninst.cpp b/afl-dyninst.cpp
index aa45741..4581f13 100644
--- a/afl-dyninst.cpp
+++ b/afl-dyninst.cpp
@@ -347,14 +347,12 @@ int main (int argc, char **argv)
         set<string>::iterator rtLibIter ;
         for(rtLibIter = runtimeLibraries.begin(); rtLibIter != runtimeLibraries.end(); rtLibIter++) {
             BPatch_binaryEdit *libBin = bpatch.openBinary ((*rtLibIter).c_str(), false);
-            printf("I sad otvara %s\n",(*rtLibIter).c_str());
             if (libBin == NULL) {
                 cerr << "Failed to open binary "<< *rtLibIter << endl;
                 return EXIT_FAILURE;
             }
             BPatch_image *libImg = libBin->getImage ();
             vector < BPatch_module * >*modules = libImg->getModules ();
-            libBin->loadLibrary (instLibrary);
             moduleIter = modules->begin ();
             
             for ( ; moduleIter != modules->end (); ++moduleIter) {