MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / left

Method left

examples/triage/byte.cpp:817–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

815
816
817void ByteView::left(int count, bool selecting)
818{
819 if (m_cursorAddr > (getStart() + count))
820 m_cursorAddr -= count;
821 else
822 m_cursorAddr = getStart();
823 adjustAddressAfterBackwardMovement();
824 if (!selecting)
825 selectNone();
826 repositionCaret();
827 if (m_selectionVisible || selecting)
828 viewport()->update();
829}
830
831
832void ByteView::right(int count, bool selecting)

Callers 2

check_expressionFunction · 0.45

Calls 2

viewportFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected