Skip to content
Snippets Groups Projects
Commit f2d8eb5b authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

Merge branch 'master' of git.zephyr-software.com:allnp/security_transforms

Former-commit-id: aa1063380f45b72bb39c15c02d7c42b765b50989
parents b0af81db 1af23eaa
No related branches found
No related tags found
No related merge requests found
......@@ -1866,6 +1866,11 @@ IRDB_SDK::Instruction_t* FileIR_t::addNewInstruction(
auto irdb_addr = dynamic_cast<libIRDB::AddressID_t*>(addr);
auto irdb_indTarg = dynamic_cast<libIRDB::AddressID_t*>(indTarg);
if(irdb_addr==nullptr)
{
irdb_addr=dynamic_cast<libIRDB::AddressID_t*>(addNewAddress(getFile()->getBaseID(), 0));
}
auto newinsn=new libIRDB::Instruction_t(BaseObj_t::NOT_IN_DATABASE, irdb_addr, irdb_func, BaseObj_t::NOT_IN_DATABASE, bits, "", comment, irdb_indTarg, BaseObj_t::NOT_IN_DATABASE);
GetInstructions().insert(newinsn);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment