| 652 | |
| 653 | |
| 654 | bool LowLevelILFunction::GetInstructionText( |
| 655 | Function* func, Architecture* arch, size_t instr, vector<InstructionTextToken>& tokens, DisassemblySettings* settings) |
| 656 | { |
| 657 | size_t count; |
| 658 | BNInstructionTextToken* list; |
| 659 | if (!BNGetLowLevelILInstructionText( |
| 660 | m_object, func ? func->GetObject() : nullptr, arch->GetObject(), instr, |
| 661 | settings ? settings->GetObject() : nullptr, &list, &count)) |
| 662 | return false; |
| 663 | |
| 664 | tokens = InstructionTextToken::ConvertAndFreeInstructionTextTokenList(list, count); |
| 665 | return true; |
| 666 | } |
| 667 | |
| 668 | |
| 669 | uint32_t LowLevelILFunction::GetTemporaryRegisterCount() |