From a7916c761d72ef17ab749957f7c0a92ffb6372f7 Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Sat, 16 Mar 2019 21:52:02 -0400 Subject: [PATCH] adjustments to 1) removed sec-trans include, and 2) changed prepend to append. --- tools/zax/SConscript | 1 - tools/zax/zax_base.cpp | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/zax/SConscript b/tools/zax/SConscript index 7013ea4..7cd3dd0 100644 --- a/tools/zax/SConscript +++ b/tools/zax/SConscript @@ -9,7 +9,6 @@ myenv=env.Clone() cpppath=''' $IRDB_SDK/include - $SECURITY_TRANSFORMS_HOME/include $SMPSA_HOME/include ''' diff --git a/tools/zax/zax_base.cpp b/tools/zax/zax_base.cpp index 7ba1e76..6c84e54 100644 --- a/tools/zax/zax_base.cpp +++ b/tools/zax/zax_base.cpp @@ -108,12 +108,12 @@ ZaxBase_t::ZaxBase_t(IRDB_SDK::pqxxDB_t &p_dbinterface, IRDB_SDK::FileIR_t *p_va if (p_autozafl) { cout << "autozafl library is on" << endl; - (void)ed->prependLibraryDepedencies("libautozafl.so"); + (void)ed->appendLibraryDepedencies("libautozafl.so"); } else { cout << "autozafl library is off" << endl; - (void)ed->prependLibraryDepedencies("libzafl.so"); + (void)ed->appendLibraryDepedencies("libzafl.so"); } // bind to external symbols declared in libzafl.so @@ -1171,7 +1171,7 @@ int ZaxBase_t::execute() return lhs->getBaseID() < rhs->getBaseID(); } }; - auto sortedFuncs=set<Function_t*, BaseIDSorter>( ALLOF(getFileIR()->getFunctions())); + const auto sortedFuncs=set<Function_t*, BaseIDSorter>( ALLOF(getFileIR()->getFunctions())); for(auto f : sortedFuncs) { if (f == nullptr ) continue; -- GitLab