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

Function BL

arch/arm64/disassembler/decode2.c:1442–1454  ·  view source on GitHub ↗

bl.xml */

Source from the content-addressed store, hash-verified

1440
1441/* bl.xml */
1442int BL(context *ctx, Instruction *instr)
1443{
1444 int rc = DECODE_STATUS_UNMATCHED;
1445 /* class iclass_br26 */
1446 /* op=1|00101|imm26=xxxxxxxxxxxxxxxxxxxxxxxxxx */
1447 if((INSWORD & 0xFC000000)==0x94000000) {
1448 decode_fields32(ENC_BL_ONLY_BRANCH_IMM, ctx, instr);
1449 ctx->branch_type = (ctx->op==1) ? BranchType_DIRCALL : BranchType_DIR;
1450 ctx->offset = SignExtend((ctx->imm26<<2),28);
1451 OK(ENC_BL_ONLY_BRANCH_IMM);
1452 }
1453 return rc;
1454}
1455
1456/* blr.xml */
1457int BLR(context *ctx, Instruction *instr)

Callers 1

decode_iclass_branch_immFunction · 0.85

Calls 2

decode_fields32Function · 0.85
SignExtendFunction · 0.85

Tested by

no test coverage detected