class cle.backends.ihex.Hex[source]

Bases: Backend

A loader for Intel Hex Objects See https://en.wikipedia.org/wiki/Intel_HEX

is_default = True
static parse_record(line)[source]
static coalesce_regions(regions)[source]
__init__(*args, ignore_missing_arch: bool = False, **kwargs)[source]
  • binary – The path to the binary to load

  • binary_stream – The open stream to this binary. The reference to this will be held until you call close.

  • is_main_bin – Whether this binary should be loaded as the main executable

  • ignore_missing_arch (bool)

static is_compatible(stream)[source]

Determine quickly whether this backend can load an object from this stream