diff --git a/include/inc-core/instruction.hpp b/include/inc-core/instruction.hpp index 6cfdc603b01f0eee9d7f1379559c242d7a139fd4..571e2c70046f522222a426e6f21d3bed6e5b2bf8 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 5a4d8cdf9ed112d140c5d01646fa05173bad4b2b..39ecac1d56a7218b8f8360f7baf2afbc0c9ce435 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);