| 157 | |
| 158 | |
| 159 | std::vector<uint32_t> LowLevelILFunction::GetFlags() |
| 160 | { |
| 161 | std::vector<uint32_t> result; |
| 162 | size_t count; |
| 163 | |
| 164 | uint32_t* regs = BNGetLowLevelFlags(m_object, &count); |
| 165 | if (regs == nullptr) |
| 166 | return result; |
| 167 | |
| 168 | result.reserve(count); |
| 169 | for (size_t i = 0; i < count; i++) |
| 170 | { |
| 171 | result.push_back(regs[i]); |
| 172 | } |
| 173 | BNFreeLLILVariablesList(regs); |
| 174 | |
| 175 | return result; |
| 176 | } |
| 177 | |
| 178 | |
| 179 | std::vector<SSARegister> LowLevelILFunction::GetSSARegistersWithoutVersions() |
no test coverage detected