From a6321f6c93286bf47088919865840f6b32812bba Mon Sep 17 00:00:00 2001 From: root <dc3pe@virginia.edu> Date: Wed, 5 Aug 2020 23:21:57 -0700 Subject: [PATCH] Add two new functions --- include/inc-transform/rewrite_util.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/inc-transform/rewrite_util.hpp b/include/inc-transform/rewrite_util.hpp index efcd8b4..5a4d8cd 100644 --- a/include/inc-transform/rewrite_util.hpp +++ b/include/inc-transform/rewrite_util.hpp @@ -24,6 +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 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