The list of lines in the output (read-only).
(self)
| 197 | |
| 198 | @property |
| 199 | def lines(self) -> List['function.DisassemblyTextLine']: |
| 200 | """The list of lines in the output (read-only).""" |
| 201 | count = ctypes.c_ulonglong() |
| 202 | lines = core.BNHighLevelILTokenEmitterGetLines(self.handle, count) |
| 203 | result = [] |
| 204 | if lines is not None: |
| 205 | result = [] |
| 206 | for i in range(0, count.value): |
| 207 | addr = lines[i].addr |
| 208 | color = highlight.HighlightColor._from_core_struct(lines[i].highlight) |
| 209 | tokens = function.InstructionTextToken._from_core_struct(lines[i].tokens, lines[i].count) |
| 210 | result.append(function.DisassemblyTextLine(tokens, addr, color=color)) |
| 211 | core.BNFreeDisassemblyTextLines(lines, count.value) |
| 212 | return result |
| 213 | |
| 214 | @property |
| 215 | def brace_requirement(self) -> BraceRequirement: |
nothing calls this directly
no test coverage detected