MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / SignExtendHiLo

Function SignExtendHiLo

arch/mips/il.cpp:785–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783}
784
785static void SignExtendHiLo(LowLevelILFunction& il, size_t registerSize)
786{
787 if (registerSize == 8)
788 {
789 il.AddInstruction(il.SetRegister(8, REG_HI,
790 il.SignExtend(8, il.LowPart(4, il.Register(registerSize, REG_HI)))
791 ));
792
793 il.AddInstruction(il.SetRegister(8, REG_LO,
794 il.SignExtend(8, il.LowPart(4, il.Register(registerSize, REG_LO)))
795 ));
796 }
797}
798
799bool GetLowLevelILForInstruction(Architecture* arch, uint64_t addr, LowLevelILFunction& il, Instruction& instr, size_t addrSize, uint32_t decomposeFlags)
800{

Callers 1

Calls 5

SetRegisterMethod · 0.80
AddInstructionMethod · 0.45
SignExtendMethod · 0.45
LowPartMethod · 0.45
RegisterMethod · 0.45

Tested by

no test coverage detected