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

Function SETF

arch/arm64/disassembler/decode2.c:20712–20728  ·  view source on GitHub ↗

setf.xml */

Source from the content-addressed store, hash-verified

20710
20711/* setf.xml */
20712int SETF(context *ctx, Instruction *instr)
20713{
20714 int rc = DECODE_STATUS_UNMATCHED;
20715 /* class iclass_general */
20716 /* sf=0|op=0|S=1|11010000|opcode2=000000|sz=x|0010|Rn=xxxxx|o3=0|mask=1101 */
20717 if((INSWORD & 0xFFFFBC1F)==0x3A00080D) {
20718 decode_fields32(ENC_SETF8_ONLY_SETF, ctx, instr);
20719 if(!HaveFlagManipulateExt() || ctx->sf!=0) {
20720 UNDEFINED;
20721 }
20722 ctx->msb = (ctx->sz==1) ? 15 : 7;
20723 ctx->n = UINT(ctx->Rn);
20724 if(ctx->sz==0) OK(ENC_SETF8_ONLY_SETF);
20725 if(ctx->sz==1) OK(ENC_SETF16_ONLY_SETF);
20726 }
20727 return rc;
20728}
20729
20730/* sev.xml */
20731int SEV(context *ctx, Instruction *instr)

Callers 1

decode_iclass_setfFunction · 0.85

Calls 1

decode_fields32Function · 0.85

Tested by

no test coverage detected