From d07ed0c05ce1ab20491095fa82c9f9c6458ef4d1 Mon Sep 17 00:00:00 2001 From: Lukas Rothenberger Date: Tue, 2 Jul 2024 15:23:22 +0200 Subject: [PATCH] chore: renamed iFunctions -> runtimeFunctions --- rtlib/CMakeLists.txt | 4 ++-- rtlib/injected_functions/dp_add_bb_deps.cpp | 2 +- rtlib/injected_functions/dp_alloca.cpp | 2 +- rtlib/injected_functions/dp_call.cpp | 2 +- rtlib/injected_functions/dp_decl.cpp | 4 ++-- rtlib/injected_functions/dp_delete.cpp | 2 +- rtlib/injected_functions/dp_finalize.cpp | 4 ++-- rtlib/injected_functions/dp_func_entry.cpp | 4 ++-- rtlib/injected_functions/dp_func_exit.cpp | 4 ++-- rtlib/injected_functions/dp_incr_taken_branch_counter.cpp | 2 +- rtlib/injected_functions/dp_loop_entry.cpp | 2 +- rtlib/injected_functions/dp_loop_exit.cpp | 2 +- rtlib/injected_functions/dp_loop_incr.cpp | 2 +- rtlib/injected_functions/dp_loop_output.cpp | 2 +- rtlib/injected_functions/dp_new.cpp | 2 +- rtlib/injected_functions/dp_read.cpp | 4 ++-- rtlib/injected_functions/dp_report_bb.cpp | 2 +- rtlib/injected_functions/dp_report_bb_pair.cpp | 2 +- rtlib/injected_functions/dp_taken_branch_counter_output.cpp | 2 +- rtlib/injected_functions/dp_write.cpp | 4 ++-- rtlib/memory/MemoryManager.cpp | 2 +- rtlib/{iFunctions.cpp => runtimeFunctions.cpp} | 4 ++-- rtlib/{iFunctions.hpp => runtimeFunctions.hpp} | 2 +- rtlib/{iFunctionsGlobals.cpp => runtimeFunctionsGlobals.cpp} | 2 +- rtlib/{iFunctionsGlobals.hpp => runtimeFunctionsGlobals.hpp} | 2 +- rtlib/{iFunctionsTypes.hpp => runtimeFunctionsTypes.hpp} | 0 26 files changed, 33 insertions(+), 33 deletions(-) rename rtlib/{iFunctions.cpp => runtimeFunctions.cpp} (96%) rename rtlib/{iFunctions.hpp => runtimeFunctions.hpp} (92%) rename rtlib/{iFunctionsGlobals.cpp => runtimeFunctionsGlobals.cpp} (96%) rename rtlib/{iFunctionsGlobals.hpp => runtimeFunctionsGlobals.hpp} (95%) rename rtlib/{iFunctionsTypes.hpp => runtimeFunctionsTypes.hpp} (100%) diff --git a/rtlib/CMakeLists.txt b/rtlib/CMakeLists.txt index 5996a1b59..f5b80fffa 100644 --- a/rtlib/CMakeLists.txt +++ b/rtlib/CMakeLists.txt @@ -12,8 +12,8 @@ # Runtime library sources and build flags. set(DiscoPoP_SOURCES - iFunctions.cpp - iFunctionsGlobals.cpp + runtimeFunctions.cpp + runtimeFunctionsGlobals.cpp memory/MemoryManager.cpp memory/Signature.cpp diff --git a/rtlib/injected_functions/dp_add_bb_deps.cpp b/rtlib/injected_functions/dp_add_bb_deps.cpp index 8c6b3cf92..9e6efb428 100644 --- a/rtlib/injected_functions/dp_add_bb_deps.cpp +++ b/rtlib/injected_functions/dp_add_bb_deps.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_alloca.cpp b/rtlib/injected_functions/dp_alloca.cpp index 8aca0f553..e1b6f2cc8 100644 --- a/rtlib/injected_functions/dp_alloca.cpp +++ b/rtlib/injected_functions/dp_alloca.cpp @@ -13,7 +13,7 @@ #include "../DPTypes.hpp" #include "../DPUtils.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_call.cpp b/rtlib/injected_functions/dp_call.cpp index 677850247..c81901834 100644 --- a/rtlib/injected_functions/dp_call.cpp +++ b/rtlib/injected_functions/dp_call.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_decl.cpp b/rtlib/injected_functions/dp_decl.cpp index 59a52ff00..2320ff131 100644 --- a/rtlib/injected_functions/dp_decl.cpp +++ b/rtlib/injected_functions/dp_decl.cpp @@ -12,8 +12,8 @@ #include "../DPTypes.hpp" -#include "../iFunctions.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctions.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_delete.cpp b/rtlib/injected_functions/dp_delete.cpp index e597f7556..fb9c60a0b 100644 --- a/rtlib/injected_functions/dp_delete.cpp +++ b/rtlib/injected_functions/dp_delete.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_finalize.cpp b/rtlib/injected_functions/dp_finalize.cpp index 1e16f8111..756f28934 100644 --- a/rtlib/injected_functions/dp_finalize.cpp +++ b/rtlib/injected_functions/dp_finalize.cpp @@ -12,8 +12,8 @@ #include "../DPTypes.hpp" -#include "../iFunctions.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctions.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_func_entry.cpp b/rtlib/injected_functions/dp_func_entry.cpp index 7ccd3b006..bfa7ce13a 100644 --- a/rtlib/injected_functions/dp_func_entry.cpp +++ b/rtlib/injected_functions/dp_func_entry.cpp @@ -12,8 +12,8 @@ #include "../DPTypes.hpp" -#include "../iFunctions.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctions.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_func_exit.cpp b/rtlib/injected_functions/dp_func_exit.cpp index b177a5c5a..d65d94312 100644 --- a/rtlib/injected_functions/dp_func_exit.cpp +++ b/rtlib/injected_functions/dp_func_exit.cpp @@ -12,8 +12,8 @@ #include "../DPTypes.hpp" -#include "../iFunctions.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctions.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_incr_taken_branch_counter.cpp b/rtlib/injected_functions/dp_incr_taken_branch_counter.cpp index 3bf1bfbe4..de48f18b3 100644 --- a/rtlib/injected_functions/dp_incr_taken_branch_counter.cpp +++ b/rtlib/injected_functions/dp_incr_taken_branch_counter.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" namespace __dp { diff --git a/rtlib/injected_functions/dp_loop_entry.cpp b/rtlib/injected_functions/dp_loop_entry.cpp index e38cb3032..04c68202a 100644 --- a/rtlib/injected_functions/dp_loop_entry.cpp +++ b/rtlib/injected_functions/dp_loop_entry.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_loop_exit.cpp b/rtlib/injected_functions/dp_loop_exit.cpp index 8dd7f0199..03546d529 100644 --- a/rtlib/injected_functions/dp_loop_exit.cpp +++ b/rtlib/injected_functions/dp_loop_exit.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_loop_incr.cpp b/rtlib/injected_functions/dp_loop_incr.cpp index 9faa0d56f..afca098b0 100644 --- a/rtlib/injected_functions/dp_loop_incr.cpp +++ b/rtlib/injected_functions/dp_loop_incr.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" namespace __dp { diff --git a/rtlib/injected_functions/dp_loop_output.cpp b/rtlib/injected_functions/dp_loop_output.cpp index 858483e32..9f31138ac 100644 --- a/rtlib/injected_functions/dp_loop_output.cpp +++ b/rtlib/injected_functions/dp_loop_output.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../loop/LoopInfo.hpp" diff --git a/rtlib/injected_functions/dp_new.cpp b/rtlib/injected_functions/dp_new.cpp index 75cf6aaed..999c884eb 100644 --- a/rtlib/injected_functions/dp_new.cpp +++ b/rtlib/injected_functions/dp_new.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_read.cpp b/rtlib/injected_functions/dp_read.cpp index 290fcf992..6ded34801 100644 --- a/rtlib/injected_functions/dp_read.cpp +++ b/rtlib/injected_functions/dp_read.cpp @@ -12,8 +12,8 @@ #include "../DPTypes.hpp" -#include "../iFunctions.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctions.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_report_bb.cpp b/rtlib/injected_functions/dp_report_bb.cpp index 30c14b974..49c8d337d 100644 --- a/rtlib/injected_functions/dp_report_bb.cpp +++ b/rtlib/injected_functions/dp_report_bb.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_report_bb_pair.cpp b/rtlib/injected_functions/dp_report_bb_pair.cpp index 40a8daee0..c683b4b27 100644 --- a/rtlib/injected_functions/dp_report_bb_pair.cpp +++ b/rtlib/injected_functions/dp_report_bb_pair.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/injected_functions/dp_taken_branch_counter_output.cpp b/rtlib/injected_functions/dp_taken_branch_counter_output.cpp index e65c18f98..3b766a17f 100644 --- a/rtlib/injected_functions/dp_taken_branch_counter_output.cpp +++ b/rtlib/injected_functions/dp_taken_branch_counter_output.cpp @@ -12,7 +12,7 @@ #include "../DPTypes.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include #include diff --git a/rtlib/injected_functions/dp_write.cpp b/rtlib/injected_functions/dp_write.cpp index 040d3e29d..f477a1fa9 100644 --- a/rtlib/injected_functions/dp_write.cpp +++ b/rtlib/injected_functions/dp_write.cpp @@ -12,8 +12,8 @@ #include "../DPTypes.hpp" -#include "../iFunctions.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctions.hpp" +#include "../runtimeFunctionsGlobals.hpp" #include "../../share/include/debug_print.hpp" #include "../../share/include/timer.hpp" diff --git a/rtlib/memory/MemoryManager.cpp b/rtlib/memory/MemoryManager.cpp index 712efb677..e240a9b47 100644 --- a/rtlib/memory/MemoryManager.cpp +++ b/rtlib/memory/MemoryManager.cpp @@ -12,7 +12,7 @@ #include "MemoryManager.hpp" -#include "../iFunctionsGlobals.hpp" +#include "../runtimeFunctionsGlobals.hpp" std::string __dp::MemoryManager::allocate_memory(const LID line_id, const ADDR start_address, const ADDR end_address, const std::int64_t number_bytes, const std::int64_t number_elements) { diff --git a/rtlib/iFunctions.cpp b/rtlib/runtimeFunctions.cpp similarity index 96% rename from rtlib/iFunctions.cpp rename to rtlib/runtimeFunctions.cpp index 2ebf3fc6a..244be956a 100644 --- a/rtlib/iFunctions.cpp +++ b/rtlib/runtimeFunctions.cpp @@ -10,8 +10,8 @@ * */ -#include "iFunctions.hpp" -#include "iFunctionsGlobals.hpp" +#include "runtimeFunctions.hpp" +#include "runtimeFunctionsGlobals.hpp" #include "DPUtils.hpp" diff --git a/rtlib/iFunctions.hpp b/rtlib/runtimeFunctions.hpp similarity index 92% rename from rtlib/iFunctions.hpp rename to rtlib/runtimeFunctions.hpp index da9cd351c..7a7502191 100644 --- a/rtlib/iFunctions.hpp +++ b/rtlib/runtimeFunctions.hpp @@ -13,7 +13,7 @@ #pragma once #include "DPTypes.hpp" -#include "iFunctionsTypes.hpp" +#include "runtimeFunctionsTypes.hpp" #include "memory/AbstractShadow.hpp" #include diff --git a/rtlib/iFunctionsGlobals.cpp b/rtlib/runtimeFunctionsGlobals.cpp similarity index 96% rename from rtlib/iFunctionsGlobals.cpp rename to rtlib/runtimeFunctionsGlobals.cpp index 1375c6be8..f6b26aeab 100644 --- a/rtlib/iFunctionsGlobals.cpp +++ b/rtlib/runtimeFunctionsGlobals.cpp @@ -10,7 +10,7 @@ * */ -#include "iFunctionsGlobals.hpp" +#include "runtimeFunctionsGlobals.hpp" bool USE_PERFECT = true; diff --git a/rtlib/iFunctionsGlobals.hpp b/rtlib/runtimeFunctionsGlobals.hpp similarity index 95% rename from rtlib/iFunctionsGlobals.hpp rename to rtlib/runtimeFunctionsGlobals.hpp index 4f4e3a7e9..b2b72434f 100644 --- a/rtlib/iFunctionsGlobals.hpp +++ b/rtlib/runtimeFunctionsGlobals.hpp @@ -13,7 +13,7 @@ #pragma once #include "../share/include/timer.hpp" -#include "iFunctionsTypes.hpp" +#include "runtimeFunctionsTypes.hpp" #include "memory/AbstractShadow.hpp" #include diff --git a/rtlib/iFunctionsTypes.hpp b/rtlib/runtimeFunctionsTypes.hpp similarity index 100% rename from rtlib/iFunctionsTypes.hpp rename to rtlib/runtimeFunctionsTypes.hpp