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

Function PACGA

arch/arm64/disassembler/decode2.c:18951–18971  ·  view source on GitHub ↗

pacga.xml */

Source from the content-addressed store, hash-verified

18949
18950/* pacga.xml */
18951int PACGA(context *ctx, Instruction *instr)
18952{
18953 int rc = DECODE_STATUS_UNMATCHED;
18954 /* class iclass_general */
18955 /* sf=1|op=0|S=0|11010110|Rm=xxxxx|opcode2=001100|Rn=xxxxx|Rd=xxxxx */
18956 if((INSWORD & 0xFFE0FC00)==0x9AC03000) {
18957 decode_fields32(ENC_PACGA_64P_DP_2SRC, ctx, instr);
18958 ctx->source_is_sp = FALSE;
18959 ctx->d = UINT(ctx->Rd);
18960 ctx->n = UINT(ctx->Rn);
18961 ctx->m = UINT(ctx->Rm);
18962 if(!HavePACExt()) {
18963 UNDEFINED;
18964 }
18965 if(ctx->m==0x1f) {
18966 ctx->source_is_sp = TRUE;
18967 }
18968 OK(ENC_PACGA_64P_DP_2SRC);
18969 }
18970 return rc;
18971}
18972
18973/* pacia.xml */
18974int PACIA(context *ctx, Instruction *instr)

Callers 1

decode_iclass_dp_2srcFunction · 0.85

Calls 1

decode_fields32Function · 0.85

Tested by

no test coverage detected