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

Function DecodeShift

arch/arm64/disassembler/pcode.c:180–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180enum ShiftType DecodeShift(uint8_t op)
181{
182 switch (op & 3)
183 {
184 case 0b00:
185 return ShiftType_LSL;
186 case 0b01:
187 return ShiftType_LSR;
188 case 0b10:
189 return ShiftType_ASR;
190 case 0b11:
191 return ShiftType_ROR;
192 default:
193 return ShiftType_NONE;
194 }
195}
196
197enum SystemOp SysOp(uint32_t op1, uint32_t CRn, uint32_t CRm, uint32_t op2)
198{

Callers 15

ADDS_addsub_shiftFunction · 0.85
ADD_addsub_shiftFunction · 0.85
ANDS_log_shiftFunction · 0.85
AND_log_shiftFunction · 0.85
ASRVFunction · 0.85
BICSFunction · 0.85
BIC_log_shiftFunction · 0.85
EONFunction · 0.85
EOR_log_shiftFunction · 0.85
LSLVFunction · 0.85
LSRVFunction · 0.85
ORN_log_shiftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected