| 307 | |
| 308 | |
| 309 | ByteViewLine ByteView::createLine(uint64_t addr, size_t length, bool separator) |
| 310 | { |
| 311 | if (separator) |
| 312 | { |
| 313 | return ByteViewLine {addr, length, "", true}; |
| 314 | } |
| 315 | else |
| 316 | { |
| 317 | BinaryNinja::DataBuffer data = m_data->ReadBuffer(addr, length); |
| 318 | QString line; |
| 319 | for (size_t i = 0; i < data.GetLength(); i++) |
| 320 | line.append(QString(g_byteMapping[data[i]])); |
| 321 | return ByteViewLine {addr, length, line, false}; |
| 322 | } |
| 323 | } |
| 324 | |
| 325 | |
| 326 | bool ByteView::cachePreviousLines() |
nothing calls this directly
no test coverage detected