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

Function LDAPR

arch/arm64/disassembler/decode2.c:12962–12981  ·  view source on GitHub ↗

ldapr.xml */

Source from the content-addressed store, hash-verified

12960
12961/* ldapr.xml */
12962int LDAPR(context *ctx, Instruction *instr)
12963{
12964 int rc = DECODE_STATUS_UNMATCHED;
12965 /* class iclass_general */
12966 /* size=1x|111|V=0|00|A=1|R=0|1|Rs=(1)(1)(1)(1)(1)|o3=1|opc=100|00|Rn=xxxxx|Rt=xxxxx */
12967 if((INSWORD & 0xBFE0FC00)==0xB8A0C000) {
12968 decode_fields32(ENC_LDAPR_32L_MEMOP, ctx, instr);
12969 ctx->n = UINT(ctx->Rn);
12970 ctx->t = UINT(ctx->Rt);
12971 ctx->s = UINT(ctx->Rs);
12972 ctx->acctype = AccType_ORDERED;
12973 ctx->elsize = (8) << (UINT(ctx->size));
12974 ctx->regsize = (ctx->elsize==0x40) ? 0x40 : 0x20;
12975 ctx->datasize = ctx->elsize;
12976 ctx->tag_checked = ctx->n!=0x1f;
12977 if(ctx->size==2) OK(ENC_LDAPR_32L_MEMOP);
12978 if(ctx->size==3) OK(ENC_LDAPR_64L_MEMOP);
12979 }
12980 return rc;
12981}
12982
12983/* ldaprb.xml */
12984int LDAPRB(context *ctx, Instruction *instr)

Callers 1

decode_iclass_memopFunction · 0.85

Calls 1

decode_fields32Function · 0.85

Tested by

no test coverage detected