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

Function decode_iclass_loadlit

arch/arm64/disassembler/decode1.c:773–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771}
772
773int decode_iclass_loadlit(context *ctx, Instruction *dec)
774{
775 uint32_t opc=INSWORD>>30, V=(INSWORD>>26)&1;
776 if(!opc && !V) return LDR_lit_gen(ctx, dec); // -> LDR_32_loadlit
777 if(!opc && V) return LDR_lit_fpsimd(ctx, dec); // -> LDR_S_loadlit
778 if(opc==1 && !V) return LDR_lit_gen(ctx, dec); // -> LDR_64_loadlit
779 if(opc==1 && V) return LDR_lit_fpsimd(ctx, dec); // -> LDR_D_loadlit
780 if(opc==2 && !V) return LDRSW_lit(ctx, dec); // -> LDRSW_64_loadlit
781 if(opc==2 && V) return LDR_lit_fpsimd(ctx, dec); // -> LDR_Q_loadlit
782 if(opc==3 && !V) return PRFM_lit(ctx, dec); // -> PRFM_P_loadlit
783 if(opc==3 && V) UNALLOCATED(ENC_UNALLOCATED_17_LOADLIT);
784 UNMATCHED;
785}
786
787int decode_iclass_ldstexclp(context *ctx, Instruction *dec)
788{

Callers 1

decode_specFunction · 0.85

Calls 4

LDR_lit_genFunction · 0.85
LDR_lit_fpsimdFunction · 0.85
LDRSW_litFunction · 0.85
PRFM_litFunction · 0.85

Tested by

no test coverage detected