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

Method GetRawOperandAsRegisterStackAdjustments

lowlevelilinstruction.cpp:1536–1551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1534
1535
1536map<uint32_t, int32_t> LowLevelILInstructionBase::GetRawOperandAsRegisterStackAdjustments(size_t operand) const
1537{
1538 LowLevelILIntegerList list(function, function->GetRawExpr(operands[operand + 1]), operands[operand]);
1539 map<uint32_t, int32_t> result;
1540 for (auto i = list.begin(); i != list.end();)
1541 {
1542 uint32_t regStack = (uint32_t)*i;
1543 ++i;
1544 if (i == list.end())
1545 break;
1546 int32_t adjust = (int32_t)*i;
1547 ++i;
1548 result[regStack] = adjust;
1549 }
1550 return result;
1551}
1552
1553
1554PossibleValueSet LowLevelILInstructionBase::GetRawOperandAsPossibleValueSet(size_t operand) const

Callers 1

Calls 3

GetRawExprMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected