Check that the asmap is well formed for the given address size.

Synopsis

Declared in <util/asmap.h>

bool
SanityCheckAsmap(
    std::span<std::byte const> asmap,
    int bits);

Return Value

true if the asmap is sane for that address size.

Parameters

Name

Description

asmap

The encoded asmap data to validate.

bits

The number of address bits the asmap must cover.

Created with MrDocs