Rizin
unix-like reverse engineering framework and cli tools
A64NamedImmMapper_Mapping Struct Reference

#include <AArch64BaseInfo.h>

Public Attributes

const char * Name
 
uint32_t Value
 

Detailed Description

Instances of this class can perform bidirectional mapping from random identifier strings to operand encodings. For example "MSR" takes a named system-register which must be encoded somehow and decoded for printing. This central location means that the information for those transformations is not duplicated and remains in sync.

FIXME: currently the algorithm is a completely unoptimised linear search. Obviously this could be improved, but we would probably want to work out just how often these instructions are emitted before working on it. It might even be optimal to just reorder the tables for the common instructions rather than changing the algorithm.

Definition at line 138 of file AArch64BaseInfo.h.

Member Data Documentation

◆ Name

const char* A64NamedImmMapper_Mapping::Name

Definition at line 139 of file AArch64BaseInfo.h.

◆ Value

uint32_t A64NamedImmMapper_Mapping::Value

Definition at line 140 of file AArch64BaseInfo.h.


The documentation for this struct was generated from the following file: