| 1038 | |
| 1039 | |
| 1040 | void Function::SetAutoReturnRegisters(const Confidence<std::vector<uint32_t>>& returnRegs) |
| 1041 | { |
| 1042 | BNRegisterSetWithConfidence regs; |
| 1043 | regs.regs = new uint32_t[returnRegs.GetValue().size()]; |
| 1044 | regs.count = returnRegs.GetValue().size(); |
| 1045 | for (size_t i = 0; i < regs.count; i++) |
| 1046 | regs.regs[i] = returnRegs.GetValue()[i]; |
| 1047 | regs.confidence = returnRegs.GetConfidence(); |
| 1048 | BNSetAutoFunctionReturnRegisters(m_object, ®s); |
| 1049 | delete[] regs.regs; |
| 1050 | } |
| 1051 | |
| 1052 | |
| 1053 | void Function::SetAutoCallingConvention(const Confidence<Ref<CallingConvention>>& convention) |
nothing calls this directly
no test coverage detected