MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / size_spec_method3

Function size_spec_method3

arch/arm64/disassembler/decode_scratchpad.c:739–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

737}
738
739ArrangementSpec size_spec_method3(int x)
740{
741 if ((x & 0b01111) == 0b00000)
742 return ARRSPEC_NONE; // x0000 RESERVED
743 if ((x & 0b00001) == 0b00001)
744 return _1B; // xxxx1 B
745 if ((x & 0b00011) == 0b00010)
746 return _1H; // xxx10 H
747 if ((x & 0b00111) == 0b00100)
748 return _1S; // xx100 S
749 if ((x & 0b01111) == 0b01000)
750 return _1D; // x1000 D
751 return 0;
752}
753
754ArrangementSpec table_b_h[2] = {_1B, _1H};
755ArrangementSpec table_s_d[2] = {_1S, _1D};

Callers 1

decode_scratchpadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected