From 44d52fbf5fcfd663421758a82ab62b541ba457f8 Mon Sep 17 00:00:00 2001 From: root <dc3pe@virginia.edu> Date: Fri, 7 Aug 2020 23:43:24 -0700 Subject: [PATCH] Renaming functions --- include/inc-core/instruction.hpp | 1 - include/inc-transform/rewrite_util.hpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/inc-core/instruction.hpp b/include/inc-core/instruction.hpp index 6cfdc60..571e2c7 100644 --- a/include/inc-core/instruction.hpp +++ b/include/inc-core/instruction.hpp @@ -53,7 +53,6 @@ namespace IRDB_SDK virtual void setEhProgram(EhProgram_t* orig) = 0; virtual void setEhCallSite(EhCallSite_t* orig) = 0; virtual void setIndirectBranchTargetAddress(AddressID_t* myIndTarg) = 0; - virtual string assemblegroup(string group) = 0; virtual bool assemble(string assembly) = 0; }; diff --git a/include/inc-transform/rewrite_util.hpp b/include/inc-transform/rewrite_util.hpp index 5a4d8cd..39ecac1 100644 --- a/include/inc-transform/rewrite_util.hpp +++ b/include/inc-transform/rewrite_util.hpp @@ -24,8 +24,8 @@ namespace IRDB_SDK extern Instruction_t* insertAssemblyBefore (FileIR_t* firp, Instruction_t* before, string assembly, Instruction_t *target=nullptr); extern Instruction_t* insertAssemblyAfter (FileIR_t* firp, Instruction_t* after , string assembly, Instruction_t *target=nullptr); - extern Instruction_t* insertInstructionsBefore (FileIR_t* firp, Instruction_t* before, string instructions, Instruction_t *target=nullptr); - extern Instruction_t* insertInstructionsAfter (FileIR_t* firp, Instruction_t* after , string instructions, Instruction_t *target=nullptr); + extern std::vector<Instruction_t*> insertAssemblyInstructionsBefore (FileIR_t* firp, Instruction_t* before, string instructions, Instruction_t *target=nullptr); + extern std::vector<Instruction_t*> insertAssemblyInstructionsAfter (FileIR_t* firp, Instruction_t* after , string instructions, Instruction_t *target=nullptr); extern Instruction_t* insertDataBitsBefore (FileIR_t* firp, Instruction_t* before, string dataBits, Instruction_t *target=nullptr); extern Instruction_t* insertDataBitsAfter (FileIR_t* firp, Instruction_t* after , string dataBits, Instruction_t *target=nullptr); -- GitLab