Nearest-symbol decoder. The first ELF whose executable range contains the address wins. An application hit also takes its file and line from that ELF's line table. The ROM ELF is last and is labeled ROM with no line. A 9-character tail is held back while a fragment is unfinished so an address split across reads is not decoded twice.

Implements

Constructors

Properties

Methods

Constructors

Properties

elves: LoadedElf[]

Application ELFs followed by the ROM ELF, if any.

tail: string = ""

Methods

  • Scan text, optionally keeping the last 9 characters for the next unfinished fragment.

    Parameters

    • text: string

      New text.

    • finished: boolean

      When true, the tail is included and then cleared.

    Returns AddressFrame[]

    Resolved addresses in the portion that is safe to scan.