[#SanityCheckAsmap]
= SanityCheckAsmap
:mrdocs:

Check that the asmap is well formed for the given address size&period;

== Synopsis

Declared in `&lt;util&sol;asmap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
SanityCheckAsmap(
    std::span&lt;std::byte const&gt; asmap,
    int bits);
----

== Return Value

true if the asmap is sane for that address size&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *asmap*
| The encoded asmap data to validate&period;
| *bits*
| The number of address bits the asmap must cover&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
